SMRSG06500_멸균 연 통계현황.xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>멸균 연 통계현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <yearstatslist/>
  11. </main>
  12. <init>
  13. <reqflag>
  14. <label>전체</label>
  15. <value/>
  16. <label>교환물품</label>
  17. <value>X</value>
  18. <label>멸균의뢰</label>
  19. <value>Z</value>
  20. </reqflag>
  21. </init>
  22. <send>
  23. <reqflag/>
  24. <instcd/>
  25. <stocyy/>
  26. <goodflag/>
  27. <frontstocyy/>
  28. </send>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. //화면 Control을 초기화한다
  34. fInitialize();
  35. ]]>
  36. </script>
  37. <submission id="TRRSG06501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/yearstatslist"/>
  38. </model>
  39. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  42. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  44. <script type="javascript">
  45. <![CDATA[
  46. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  47. function fInitialize()
  48. {
  49. misfGridInit(grd_yearstatslist);
  50. misfComboComCdListMulti("Z0007", "cmb_instcd"); //기관코드
  51. model.refresh();
  52. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  53. // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= T) => (goodflag= TM)
  54. model.setValue(ipt_goodflag.attribute("ref"), "TM");
  55. // 현재 년도 구하기
  56. var sBaseDate = getCurrentDate();
  57. sBaseDate = sBaseDate.substr(0, 4);
  58. model.setValue("/root/send/stocyy", sBaseDate);
  59. // 전년도 구하기
  60. var sFrontStocYy = model.getValue("/root/send/stocyy");
  61. model.setValue("/root/send/frontstocyy", sFrontStocYy-1);
  62. misfMsterDetailSet(grd_yearstatslist,null, "TRRSG06501" ,"Y");
  63. btn_search.dispatch("DOMActivate");
  64. model.refresh();
  65. }
  66. ]]>
  67. </script>
  68. </xhtml:head>
  69. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  70. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  71. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">멸균 연 통계현황</caption>
  72. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  73. </group>
  74. <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  75. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  76. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  77. <caption id="cap_stocyy" class="search_name" style="left:270px; top:9px; width:86px; height:17px; ">출고년도 :</caption>
  78. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1125px; top:8px; width:56px; height:22px; text-align:left; ">
  79. <caption>조회</caption>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. misfMsterDetailRetrieve();
  83. model.refresh();
  84. ]]>
  85. </script>
  86. </button>
  87. <line id="line5" class="line_4" style="x1:1110px; y1:8px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  88. <input id="ipt_stocyy" ref="/root/send/stocyy" class="input_default" inputtype="date" format="yyyy" style="left:355px; top:8px; width:95px; height:19px; ">
  89. <script type="javascript" ev:event="xforms-value-changed">
  90. <![CDATA[
  91. btn_search.dispatch("DOMActivate");
  92. ]]>
  93. </script>
  94. </input>
  95. <caption id="cap_reqflag" class="search_name" style="left:465px; top:10px; width:86px; height:17px; ">물품구분 :</caption>
  96. <select1 id="rdo_reqflag" ref="/root/send/reqflag" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:548px; top:10px; width:350px; height:20px; border-style:none; ">
  97. <choices>
  98. <itemset nodeset="/root/init/reqflag">
  99. <label ref="label"/>
  100. <value ref="value"/>
  101. </itemset>
  102. </choices>
  103. <script type="javascript" ev:event="xforms-value-changed">
  104. <![CDATA[
  105. btn_search.dispatch("DOMActivate");
  106. ]]>
  107. </script>
  108. </select1>
  109. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:100px; top:8px; width:155px; height:19px; ">
  110. <choices>
  111. <itemset>
  112. <label/>
  113. <value/>
  114. </itemset>
  115. </choices>
  116. <script type="javascript" ev:event="xforms-value-changed">
  117. <![CDATA[
  118. btn_search.dispatch("DOMActivate");
  119. ]]>
  120. </script>
  121. </select1>
  122. <caption id="cap_instcd" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  123. <input id="ipt_goodflag" ref="/root/send/goodflag" visibility="hidden" style="left:1015px; top:10px; width:90px; height:20px; "/>
  124. </group>
  125. <caption id="cap_yearstatslist" class="tit_2" style="left:5px; top:54px; width:118px; height:13px; ">통계현황</caption>
  126. <line id="line2" class="line_1" style="x1:0px; y1:69px; x2:1195; y2:69px; "/>
  127. <datagrid id="grd_yearstatslist" nodeset="/root/main/yearstatslist" caption="구분^물품코드^물품명^단위^전년도^조회연도^증감비율" colsep="^" colwidth="100, 100, 510, 60, 100, 100, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:74px; width:1195px; height:662px; ">
  128. <col ref="reqflagnm"/>
  129. <col ref="goodcd"/>
  130. <col ref="goodnm"/>
  131. <col ref="deliveunit"/>
  132. <col ref="before_total" style="text-align:right; "/>
  133. <col ref="total" style="text-align:right; "/>
  134. <col ref="biyul" format="#,###" style="text-align:right; "/>
  135. </datagrid>
  136. </group>
  137. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  138. <line id="line19" class="line_2" style="x1:0; y1:25; x2:1195; y2:25; "/>
  139. <line id="line22" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  140. <button id="btn_prnt" class="btn6_letter2" visibility="hidden" style="left:0; top:3; width:68px; height:22px; ">
  141. <caption>출력</caption>
  142. </button>
  143. </group>
  144. </xhtml:body>
  145. </xhtml:html>