SMRSG06000_월장비 사용현황 조회.xrw 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. <eqmtuselist/>
  11. </main>
  12. <send>
  13. <instcd/>
  14. <workdd/>
  15. <eqmtcd/>
  16. <eqmtnm/>
  17. <goodflag/>
  18. <dinfkind/>
  19. </send>
  20. <temp/>
  21. <init>
  22. <bacflag>
  23. <label>고압증기</label>
  24. <value>1</value>
  25. <label>건열</label>
  26. <value>2</value>
  27. <label>EO gas</label>
  28. <value>3</value>
  29. <label>STERRAD</label>
  30. <value>4</value>
  31. <label>전체</label>
  32. <value/>
  33. </bacflag>
  34. </init>
  35. </root>
  36. </instance>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  41. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. fInitialize();
  46. ]]>
  47. </script>
  48. <submission id="TRRSG06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/eqmtuselist"/>
  49. </model>
  50. <script type="javascript">
  51. <![CDATA[
  52. function fInitialize()
  53. {
  54. misfComboComCdList("Z0007", cmb_instcd); //기관코드
  55. misfGridInit(grd_eqmtuselist);
  56. misfGridComboComCdList("R0271",grd_eqmtuselist,"dinfkind");
  57. misfMsterDetailSet(grd_eqmtuselist, null, "TRRSG06001", "N");
  58. model.removeNodeset("/root/main/eqmtuselist");
  59. model.resetInstanceNode("/root/send");
  60. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  61. var sBaseDate = getCurrentDate();
  62. sBaseDate = sBaseDate.substr(0, 6);
  63. model.setValue("/root/send/workdd", sBaseDate);
  64. // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= E) => (goodflag= EQ)
  65. model.setValue(ipt_goodflag.attribute("ref"), "EQ");
  66. btn_search.dispatch("DOMActivate");
  67. model.refresh();
  68. btn_prt.disabled= !(checkAuth("P"));
  69. }
  70. ]]>
  71. </script>
  72. </xhtml:head>
  73. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  74. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  75. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">월 장비 사용현황 조회</caption>
  76. </group>
  77. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  78. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:62px; vertical-align:top; ">
  79. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:62px; background-color:#fffbf2; border-color:#ffd799; "/>
  80. <caption id="caption2" class="search_name" style="left:15; top:35; width:86px; height:17px; ">작업년월 :</caption>
  81. <input id="ipt_workdd" ref="/root/send/workdd" class="input_default" inputtype="date" format="yyyy-mm" style="left:100; top:34; width:120px; height:19px; ">
  82. <script type="javascript" ev:event="xforms-value-changed">
  83. <![CDATA[
  84. btn_search.dispatch("DOMActivate");
  85. ]]>
  86. </script>
  87. </input>
  88. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22; width:56px; height:22px; ">
  89. <caption>조회</caption>
  90. <script type="javascript" ev:event="DOMActivate">
  91. <![CDATA[
  92. misfMsterDetailRetrieve();
  93. model.refresh();
  94. ]]>
  95. </script>
  96. </button>
  97. <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
  98. <input id="ipt_eqmtcd" ref="/root/send/eqmtcd" class="input_default" style="left:345px; top:34; width:95px; height:19px; ">
  99. <script type="javascript" ev:event="xforms-value-changed">
  100. <![CDATA[
  101. if(ipt_eqmtcd.value.length == 0)
  102. ipt_eqmtnm.value = "";
  103. else
  104. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  105. cmb_instcd.value + "," + "fixasetcd," + ipt_eqmtcd.value + "," + ipt_goodflag.value, "", "eqmtcd,eqmtnm",
  106. ipt_eqmtcd, "SPRSD00240", "instcd,goodflag","cmb_instcd,ipt_goodflag");
  107. model.refresh();
  108. ]]>
  109. </script>
  110. </input>
  111. <button id="button5" class="icon_search" style="left:445px; top:36px; width:16px; height:16px; ">
  112. <caption/>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. rszfOpenPopUpListByWndName(ipt_eqmtcd,"","eqmtcd,eqmtnm","SPRSD00240","instcd,goodflag","cmb_instcd,ipt_goodflag");
  116. model.refresh();
  117. ]]>
  118. </script>
  119. </button>
  120. <input id="ipt_eqmtnm" ref="/root/send/eqmtnm" class="input_fix" appearance="input" style="left:465px; top:34; width:225px; height:19px; ">
  121. <script type="javascript" ev:event="xforms-value-changed">
  122. <![CDATA[
  123. if(ipt_eqmtnm.value.length == 0)
  124. ipt_eqmtcd.value = "";
  125. else
  126. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  127. cmb_instcd.value + "," + "goodflaghngnm," + ipt_eqmtnm.value + "," + ipt_goodflag.value,"", "eqmtcd,eqmtnm",
  128. ipt_eqmtnm, "SPRSD00240", "instcd,goodflag","cmb_instcd,ipt_goodflag");
  129. model.refresh();
  130. ]]>
  131. </script>
  132. </input>
  133. <caption id="caption3" class="search_name" style="left:260px; top:35; width:86px; height:17px; ">장비코드 :</caption>
  134. <caption id="cap_dinfkind" class="search_name" style="left:260px; top:9; width:88px; height:17px; ">멸균구분 :</caption>
  135. <select1 id="rdo_bacflag" ref="/root/send/dinfkind" overflow="visible" appearance="full" cellspacing="5" cols="5" style="left:345px; top:9px; width:330px; height:15px; background-color:transparent; border-style:none; ">
  136. <choices>
  137. <itemset nodeset="/root/init/bacflag">
  138. <label ref="label"/>
  139. <value ref="value"/>
  140. </itemset>
  141. </choices>
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. btn_search.dispatch("DOMActivate");
  145. ]]>
  146. </script>
  147. </select1>
  148. <caption id="cap_instcd" class="search_name" style="left:15px; top:9; width:86px; height:17px; ">기관코드 :</caption>
  149. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:100px; top:8; width:120px; height:19px; ">
  150. <choices>
  151. <itemset>
  152. <label/>
  153. <value/>
  154. </itemset>
  155. </choices>
  156. <script type="javascript" ev:event="xforms-value-changed">
  157. <![CDATA[
  158. btn_search.dispatch("DOMActivate");
  159. ]]>
  160. </script>
  161. </select1>
  162. <input id="ipt_goodflag" ref="/root/send/goodflag" visibility="hidden" style="left:707px; top:8; width:165px; height:19px; "/>
  163. </group>
  164. <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1195px; y2:96px; "/>
  165. <datagrid id="grd_eqmtuselist" nodeset="/root/main/eqmtuselist" caption="멸균구분^장비코드^장비명^사용횟수^사용시간" colsep="^" colwidth="150, 150, 354, 149, 200" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:101px; width:1195px; height:633px; ">
  166. <col disabled="true" ref="dinfkind" type="combo">
  167. <choices>
  168. <itemset>
  169. <label/>
  170. <value/>
  171. </itemset>
  172. </choices>
  173. </col>
  174. <col ref="fixasetcd"/>
  175. <col ref="goodflaghngnm"/>
  176. <col ref="sumusetims" style="text-align:right; "/>
  177. <col ref="sumusetm" format="hh:nn" style="text-align:center; "/>
  178. <script type="javascript" ev:event="onaftersort">
  179. <![CDATA[
  180. grd_eqmtuselist.gridToInstance();
  181. ]]>
  182. </script>
  183. </datagrid>
  184. <caption id="caption4" class="tit_2" style="left:5px; top:81px; width:75px; height:13px; ">세부내역</caption>
  185. </group>
  186. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  187. <line id="line19" class="line_2" style="x1:0; y1:25; x2:1195; y2:25; "/>
  188. <line id="line22" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  189. <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  190. <caption>출력</caption>
  191. </button>
  192. <button id="btm_clear" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  193. <caption>초기화</caption>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. fInitialize();
  197. ]]>
  198. </script>
  199. </button>
  200. </group>
  201. </xhtml:body>
  202. </xhtml:html>