SMRSS01400_CSR 멸균물품 등록.xrw 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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>CSR멸균물품 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <rscmdiltlist/>
  11. </main>
  12. <send>
  13. <instcd/>
  14. <dinfkind/>
  15. <dinfdeptgubn/>
  16. </send>
  17. <init>
  18. <dinfkind>
  19. <label>고압증기</label>
  20. <value>1</value>
  21. <label>건열</label>
  22. <value>2</value>
  23. <label>EO gas</label>
  24. <value>3</value>
  25. <label>STERRAD</label>
  26. <value>4</value>
  27. </dinfkind>
  28. <dinfdeptgubn>
  29. <label>외래</label>
  30. <value>1</value>
  31. <label>CSR</label>
  32. <value>2</value>
  33. <value/>
  34. </dinfdeptgubn>
  35. </init>
  36. <temp/>
  37. </root>
  38. </instance>
  39. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  41. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  42. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. fInitialize();
  46. ]]>
  47. </script>
  48. <submission id="TRRSS01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rscmdiltlist"/>
  49. <submission id="TXRSS01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rscmdiltlist" resultref="/root/temp"/>
  50. </model>
  51. <script type="javascript">
  52. <![CDATA[
  53. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  54. function fInitialize() {
  55. misfMsterDetailSet(grd_rscmdiltlist,null,"TRRSS01401","Y"); //마스터 설정
  56. misfGridInit(grd_rscmdiltlist);
  57. misfComboComCdList("Z0007", cmb_instcd); //기관코드
  58. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  59. //화면 권한 설정
  60. btn_save.disabled = !(checkAuth("X"));
  61. btn_prt.disabled= !(checkAuth("P"));
  62. model.refresh();
  63. }
  64. function fsearch()
  65. {
  66. if(!isRequiredControls("cmb_instcd"))return;
  67. if(!isRequiredControls("rdo_dinfkind"))return;
  68. if(!isRequiredControls("rdo_dinfdeptgubn"))return;
  69. var updtdata = getGridUpdateData(grd_rscmdiltlist);
  70. if ( updtdata != "") {
  71. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  72. if (ret != 6) { // not OK
  73. return;
  74. }
  75. }
  76. submit("TRRSS01401");
  77. }
  78. ]]>
  79. </script>
  80. </xhtml:head>
  81. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  82. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  83. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">CSR 멸균물품 등록</caption>
  84. </group>
  85. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  86. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:40px; vertical-align:top; ">
  87. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  88. <line id="line13" class="line_4" style="x1:1110px; y1:0px; x2:1110px; y2:34px; border-color:#ffe4bb; border-left-style:solid; "/>
  89. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
  90. <caption>조회</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. fsearch();
  94. ]]>
  95. </script>
  96. </button>
  97. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:107px; top:8px; width:218px; height:19px; text-align:center; ">
  98. <choices>
  99. <itemset>
  100. <label/>
  101. <value/>
  102. </itemset>
  103. </choices>
  104. </select1>
  105. <caption id="cap_instcd" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  106. <select1 id="rdo_dinfdeptgubn" ref="/root/send/dinfdeptgubn" overflow="visible" appearance="full" cellspacing="5" cols="3" style="left:857px; top:9px; width:165px; height:15px; background-color:transparent; border-style:none; ">
  107. <choices>
  108. <itemset nodeset="/root/init/dinfdeptgubn">
  109. <label ref="label"/>
  110. <value ref="value"/>
  111. </itemset>
  112. </choices>
  113. </select1>
  114. <caption id="cap_dinfdeptgubn" class="search_name" style="left:765px; top:9px; width:90px; height:17px; ">부서구분 :</caption>
  115. <caption id="cap_dinfkind" class="search_name" style="left:385px; top:9px; width:90px; height:17px; ">멸균종류 :</caption>
  116. <select1 id="rdo_dinfkind" ref="/root/send/dinfkind" overflow="visible" appearance="full" cellspacing="5" cols="5" style="left:477px; top:9px; width:219px; height:15px; background-color:transparent; border-style:none; ">
  117. <choices>
  118. <itemset nodeset="/root/init/dinfkind">
  119. <label ref="label"/>
  120. <value ref="value"/>
  121. </itemset>
  122. </choices>
  123. </select1>
  124. </group>
  125. <line id="line2" class="line_1" style="x1:0px; y1:79px; x2:1194px; y2:79px; "/>
  126. <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:59px; width:53px; height:19px; ">
  127. <caption>행삽입</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. if(!isRequiredControls("cmb_instcd")) return;
  131. if(!isRequiredControls("cmb_goodflag")) return;
  132. misfGridIUD(grd_rscmdiltlist, "I");
  133. grd_rscmdiltlist.valueMatrix(grd_rscmdiltlist.row, grd_rscmdiltlist.colRef("instcd")) = grd_rscmdiltlist.valueMatrix( (grd_rscmdiltlist.row-1), grd_rscmdiltlist.colRef("instcd"));
  134. grd_rscmdiltlist.valueMatrix(grd_rscmdiltlist.row, grd_rscmdiltlist.colRef("instnm")) = grd_rscmdiltlist.valueMatrix( (grd_rscmdiltlist.row-1), grd_rscmdiltlist.colRef("instnm"));
  135. grd_rscmdiltlist.valueMatrix(grd_rscmdiltlist.row, grd_rscmdiltlist.colRef("dinfking")) = grd_rscmdiltlist.valueMatrix( (grd_rscmdiltlist.row-1), grd_rscmdiltlist.colRef("dinfking"));
  136. grd_rscmdiltlist.valueMatrix(grd_rscmdiltlist.row, grd_rscmdiltlist.colRef("dinfdeptgubn")) = grd_rscmdiltlist.valueMatrix( (grd_rscmdiltlist.row-1), grd_rscmdiltlist.colRef("dinfdeptgubn"));
  137. grd_rscmdiltlist.valueMatrix(grd_rscmdiltlist.row, grd_rscmdiltlist.colRef("dinfgoodgubn")) = grd_rscmdiltlist.valueMatrix( (grd_rscmdiltlist.row-1), grd_rscmdiltlist.colRef("dinfgoodgubn"));
  138. ]]>
  139. </script>
  140. </button>
  141. <button id="btn_grddel" class="btn2_letter3" style="left:1141px; top:59px; width:53px; height:19px; ">
  142. <caption>행삭제</caption>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. misfGridIUD(grd_rscmdiltlist, "D");
  146. ]]>
  147. </script>
  148. </button>
  149. <datagrid id="grd_rscmdiltlist" nodeset="/root/main/rscmdiltlist" autoresize="true" caption="기관명^멸균종류^멸균부서구분^멸균물품구분^멸균물품^caption1" colsep="^" colwidth="136, 153, 132, 317, 386, 100" ellipsis="true" extendlastcol="scroll" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:84px; width:1195px; height:660px; ">
  150. <col disabled="true" ref="instnm" style="text-align:center; vertical-align:top; "/>
  151. <col ref="dinfkind" type="combo" style="text-align:center; vertical-align:top; ">
  152. <choices>
  153. <itemset nodeset="/root/init/dinfkind">
  154. <label ref="label"/>
  155. <value ref="value"/>
  156. </itemset>
  157. </choices>
  158. </col>
  159. <col ref="dinfdeptgubn" type="combo" style="text-align:center; vertical-align:top; ">
  160. <choices>
  161. <itemset nodeset="/root/init/dinfdeptgubn">
  162. <label ref="label"/>
  163. <value ref="value"/>
  164. </itemset>
  165. </choices>
  166. </col>
  167. <col ref="dinfgoodgubn" type="input" style="vertical-align:top; "/>
  168. <col ref="dinfgood" type="input"/>
  169. <col ref="instcd" visibility="hidden"/>
  170. </datagrid>
  171. <caption id="caption1" class="tit_2" style="left:2px; top:65px; width:145px; height:13px; ">멸균물품 List</caption>
  172. </group>
  173. <group id="group2" style="left:0px; top:12px; width:1195px; height:27px; ">
  174. <line id="line16" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  175. <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3; width:68px; height:22px; ">
  176. <caption>초기화</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. fInitialize();
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="btn_save" class="btn4_letter2" style="left:1069px; top:3; width:56px; height:22px; ">
  184. <caption>저장</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. var updtdata = getGridUpdateData(grd_rscmdiltlist);
  188. if (updtdata == "")
  189. {
  190. messageBox("변경된 데이터가","I004");
  191. return;
  192. }
  193. if(!checkKeyColumn("grd_rscmdiltlist")) return;
  194. rtn = messageBox("", "Q002");
  195. if(rtn != "6" ) return false;
  196. misfSave("TXRSS01401");
  197. btn_search.dispatch("DOMActivate");
  198. ]]>
  199. </script>
  200. </button>
  201. <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:3; width:56px; height:22px; ">
  202. <caption>출력</caption>
  203. </button>
  204. </group>
  205. </xhtml:body>
  206. </xhtml:html>