SPRSD00300_멸균장비모드HELP.xrw 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <main>
  11. <rscmeqmdlist/>
  12. </main>
  13. </main>
  14. <send>
  15. <instcd/>
  16. <fixasetcd/>
  17. <goodflaghngnm/>
  18. <csrfixasetmdnm/>
  19. </send>
  20. <init/>
  21. <target>
  22. <defaultvalue>
  23. <instcd/>
  24. <fixasetcd/>
  25. </defaultvalue>
  26. </target>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. misfMsterDetailSet(grd_rscmeqmdlist, null,"TRRSS01303","N"); //마스터 설정
  32. misfComboComCdList('Z0007', cmb_instcd); //기관코드
  33. misfGridInit(grd_rscmeqmdlist);
  34. model.setValue("/root/send/instcd", model.getValue("/root/target/defaultvalue/instcd"));
  35. if(model.getValue("/root/target/defaultvalue/fixasetcd") != "")
  36. {
  37. model.setValue("/root/send/fixasetcd", model.getValue("/root/target/defaultvalue/fixasetcd"));
  38. ipt_fixasetcd.dispatch("xforms-value-changed");
  39. }
  40. model.refresh();
  41. btn_search.dispatch("DOMActivate");
  42. model.setFocus("ipt_fixasetcd");
  43. ]]>
  44. </script>
  45. <submission id="TRRSS01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/main"/>
  46. </model>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  51. </xhtml:head>
  52. <xhtml:body pagewidth="750" pageheight="532" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  53. <group id="group3" scroll="auto" style="left:8px; top:0px; width:722px; height:490px; ">
  54. <group id="group2" style="left:0px; top:5px; width:720px; height:65px; ">
  55. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:720px; height:60px; "/>
  56. <button id="btn_search" class="btn1_letter2" style="left:640px; top:17px; width:56px; height:22px; ">
  57. <caption>조회</caption>
  58. <script type="javascript" ev:event="DOMActivate">
  59. <![CDATA[
  60. submit("TRRSS01304");
  61. ]]>
  62. </script>
  63. </button>
  64. <line id="line13" class="line_4" style="x1:625px; y1:7px; x2:625px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  65. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:107px; top:8px; width:123px; height:19px; text-align:center; ">
  66. <choices>
  67. <itemset>
  68. <label/>
  69. <value/>
  70. </itemset>
  71. </choices>
  72. </select1>
  73. <caption id="cap_instcd" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  74. <button id="btn_fixasetcd" class="icon_search" style="left:232px; top:36px; width:16px; height:16px; ">
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. if(!isRequiredControls("cmb_instcd"))return;
  78. rszfOpenPopUpListByWndName(ipt_fixasetcd,"", "fixasetcd,goodflaghngnm", "SPRSD00240", "instcd", cmb_instcd.value, "Y");
  79. model.refresh();
  80. ]]>
  81. </script>
  82. <caption/>
  83. </button>
  84. <input id="ipt_goodflaghngnm" ref="/root/send/goodflaghngnm" class="input_defalut" style="left:251px; top:35px; width:182px; height:19px; text-align:center; ">
  85. <script type="javascript" ev:event="xforms-value-changed">
  86. <![CDATA[
  87. if(!isRequiredControls("cmb_instcd"))return;
  88. if(ipt_goodflaghngnm.value != "")
  89. {
  90. rszfValidationCheck("TRRSD00241", "rfcmfacdlist",
  91. "requirementcd,instcd,requirementnm", "goodflaghngnm," + cmb_instcd.value + "," + ipt_goodflaghngnm.value, "",
  92. "fixasetcd,goodflaghngnm", ipt_fixasetcd, "SPRSD00240", "instcd", cmb_instcd.value, 'Y');
  93. }else{
  94. ipt_fixasetcd.value = "";
  95. }
  96. model.refresh();
  97. ]]>
  98. </script>
  99. </input>
  100. <input id="ipt_fixasetcd" ref="/root/send/fixasetcd" class="input_s_essential" style="left:107px; top:35px; width:123px; height:19px; text-align:center; ">
  101. <script type="javascript" ev:event="xforms-value-changed">
  102. <![CDATA[
  103. if(!isRequiredControls("cmb_instcd"))return;
  104. if(ipt_fixasetcd.value != "")
  105. {
  106. rszfValidationCheck("TRRSD00241", "rfcmfacdlist",
  107. "requirementcd,instcd,requirementnm", "fixasetcd," + cmb_instcd.value + "," + ipt_fixasetcd.value, "",
  108. "fixasetcd,goodflaghngnm",ipt_fixasetcd, "SPRSD00240", "instcd", cmb_instcd.value, 'Y');
  109. }else{
  110. ipt_goodflaghngnm.value = "";
  111. }
  112. model.refresh();
  113. ]]>
  114. </script>
  115. </input>
  116. <caption id="cap_fixasetcd" class="search_name" style="left:15px; top:36px; width:86px; height:17px; ">자산코드 :</caption>
  117. <caption id="cap_csrfixasetmdnm" class="search_name" style="left:305px; top:9px; width:99px; height:17px; ">장비모드명 :</caption>
  118. <input id="ipt_csrfixasetmdnm" ref="/root/send/csrfixasetmdnm" class="input_search" style="left:413px; top:8px; width:172px; height:19px; text-align:center; ">
  119. <script type="javascript" ev:event="xforms-value-changed">
  120. <![CDATA[
  121. if(!isRequiredControls("cmb_instcd")){
  122. ipt_fixasetcd.value = "";
  123. return;
  124. }
  125. if(ipt_fixasetcd.value != "")
  126. {
  127. rszfValidationCheck("TRRSD00241", "rfcmfacdlist",
  128. "requirementcd,instcd,requirementnm", "fixasetcd," + cmb_instcd.value + "," + ipt_fixasetcd.value, "",
  129. "fixasetcd,goodflaghngnm",ipt_fixasetcd, "SPRSD00240", "instcd", cmb_instcd.value, 'Y');
  130. }else{
  131. ipt_goodflaghngnm.value = "";
  132. }
  133. model.refresh();
  134. ]]>
  135. </script>
  136. </input>
  137. </group>
  138. <caption id="caption1" class="tit_2" style="left:5px; top:79px; width:145px; height:13px; ">멸균장비모드</caption>
  139. <line id="line1" class="line_1" style="x1:0px; y1:93px; x2:720px; y2:93px; "/>
  140. <datagrid id="grd_rscmeqmdlist" nodeset="/root/main/main/rscmeqmdlist" caption="장비코드^CSR장비모드^CSR장비모드명칭^노출시간^멸균온도^기관코드" colsep="^" colwidth="114, 159, 201, 110, 82, 100" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:100px; width:720px; height:387px; ">
  141. <col ref="fixasetcd" visibility="hidden" _key="true" style="text-align:center; "/>
  142. <col ref="csrfixasetmd" _key="true" style="text-align:center; "/>
  143. <col ref="csrfixasetmdnm" style="text-align:center; "/>
  144. <col ref="expsurtm" format="hh:nn" style="text-align:right; "/>
  145. <col ref="dinftmpr" format="##.#" style="text-align:right; "/>
  146. <col ref="instcd" visibility="hidden" _key="true"/>
  147. <script type="javascript" ev:event="ondblclick">
  148. <![CDATA[
  149. if( grd_rscmeqmdlist.isCell( event.target ) && grd_rscmeqmdlist.row >= grd_rscmeqmdlist.fixedRows ) {
  150. btn_confirm.dispatch("DOMActivate");
  151. }
  152. ]]>
  153. </script>
  154. <script type="javascript" ev:event="onaftersort">
  155. <![CDATA[
  156. grd_rscmeqmdlist.gridToInstance();
  157. ]]>
  158. </script>
  159. </datagrid>
  160. </group>
  161. <group id="group1" scroll="auto" style="left:8px; top:490px; width:722px; height:37px; ">
  162. <button id="btn_confirm" class="btn4_letter2" style="left:603px; top:10px; width:56px; height:22px; ">
  163. <caption>확인</caption>
  164. <script type="javascript" ev:event="DOMActivate">
  165. <![CDATA[
  166. misfPopUpListReturn(grd_rscmeqmdlist);
  167. ]]>
  168. </script>
  169. </button>
  170. <button id="btn_cancel" class="btn4_letter2" style="left:660px; top:10px; width:56px; height:22px; ">
  171. <caption>취소</caption>
  172. <script type="javascript" ev:event="DOMActivate">
  173. <![CDATA[
  174. window.close();
  175. ]]>
  176. </script>
  177. </button>
  178. <line id="line32" class="line_6" style="x1:0px; y1:5px; x2:722px; y2:5px; "/>
  179. </group>
  180. </xhtml:body>
  181. </xhtml:html>