SMAEB01800_핵종관리.xrw 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. <itemlist>
  11. <item>
  12. <itemcd/>
  13. <itemnm/>
  14. <speccd/>
  15. <nuclcd/>
  16. <minkeepdayno/>
  17. <alimitqty/>
  18. <itemgrpcd/>
  19. <rem/>
  20. <bdioflag/>
  21. <itemflag/>
  22. <suppdeptcd/>
  23. </item>
  24. </itemlist>
  25. </main>
  26. <send>
  27. <bdioflag>I</bdioflag>
  28. <itemflag>N</itemflag>
  29. <itemcd/>
  30. <req>
  31. <data/>
  32. </req>
  33. <globalinstance>
  34. <instance1/>
  35. </globalinstance>
  36. </send>
  37. <init/>
  38. <hidden>
  39. <item>
  40. </item>
  41. </hidden>
  42. <combo>
  43. <speclist/>
  44. </combo>
  45. </root>
  46. </instance>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. aezfSetSuppDeptcd();
  50. model.removeNodeset("/root/main/itemlist/item");
  51. model.refresh();
  52. model.setFocus("ipt_basecd");
  53. submit("TRAEB03201");
  54. submit("TRAEB01802");
  55. ]]>
  56. </script>
  57. <submission id="TRAEB03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/combo/speclist"/>
  58. <submission id="TRAEB01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/itemlist"/>
  59. <submission id="TXAEB01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  60. </model>
  61. </xhtml:head>
  62. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  65. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  66. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  67. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  68. <xhtml:body guideline="1,1195;2,786;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  69. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:160px; height:13px; ">핵종/화합물 코드관리</caption>
  70. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:20px; width:1190px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  71. <line id="line2" class="line_1" style="x1:0px; y1:82px; x2:1195px; y2:82px; "/>
  72. <button id="btn_sea" class="btn1_letter2" style="left:1126px; top:27px; width:56px; height:22px; ">
  73. <caption>조회</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. submit("TRAEB01802");
  77. ]]>
  78. </script>
  79. </button>
  80. <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:60px; width:53px; height:19px; ">
  81. <caption>행추가</caption>
  82. <script type="javascript" ev:event="DOMActivate">
  83. <![CDATA[
  84. grd_itemlist.addRow();
  85. grd_itemlist.row = grd_itemlist.bottomRow;
  86. var cnt = parseInt(grd_itemlist.row);
  87. model.setValue("/root/main/itemlist/item[" + cnt + "]/bdioflag",
  88. model.getValue("/root/send/bdioflag") );
  89. model.setValue("/root/main/itemlist/item[" + cnt + "]/suppdeptcd",
  90. model.getValue("/root/send/globalinstance/instance1") );
  91. model.setValue("/root/main/itemlist/item[" + cnt + "]/itemflag",
  92. model.getValue("/root/send/itemflag") );
  93. grd_itemlist.isReadOnly(cnt, 1) = false;
  94. ]]>
  95. </script>
  96. </button>
  97. <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:60px; width:53px; height:19px; ">
  98. <caption>행삭제</caption>
  99. <script type="javascript" ev:event="onclick">
  100. <![CDATA[
  101. // grd_itemlist.addStatus(grd_itemlistt.row,"delete");
  102. deleteSelectedRows(grd_itemlist, true);
  103. ]]>
  104. </script>
  105. </button>
  106. <input id="input8" ref="/root/send/itemcd" class="input_search" style="left:701px; top:28px; width:100px; height:19px; "/>
  107. <caption id="caption25" class="search_name" style="left:610px; top:30px; width:86px; height:17px; ">핵종코드 :</caption>
  108. <datagrid id="grd_itemlist" nodeset="/root/main/itemlist/item" caption="핵종코드^핵종명^규격^핵종구분^최소보관일수^년간허용량^핵종명그룹명^비고^caption1^caption2^caption3" colsep="^" colwidth="131, 233, 149, 100, 100, 100, 179, 307, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:88px; width:1195px; height:665px; ">
  109. <col disabled="true" ref="itemcd" type="input"/>
  110. <col ref="itemnm" type="input"/>
  111. <col ref="speccd" type="combo">
  112. <choices>
  113. <itemset nodeset="/root/combo/speclist/item">
  114. <label ref="specnm"/>
  115. <value ref="speccd"/>
  116. </itemset>
  117. </choices>
  118. </col>
  119. <col ref="nuclcd" type="combo">
  120. <choices>
  121. <item>
  122. <label>-</label>
  123. <value>-</value>
  124. </item>
  125. <item>
  126. <label>밀봉</label>
  127. <value>SN</value>
  128. </item>
  129. <item>
  130. <label>개봉</label>
  131. <value>ON</value>
  132. </item>
  133. </choices>
  134. </col>
  135. <col ref="minkeepdayno" type="input" format="#,###" style="text-align:right; "/>
  136. <col ref="alimitqty" type="input" format="#,###.##" style="text-align:right; "/>
  137. <col ref="itemgrpcd" type="input"/>
  138. <col ref="rem" type="input"/>
  139. <col ref="bdioflag" visibility="hidden"/>
  140. <col ref="itemflag" visibility="hidden"/>
  141. <col ref="suppdeptcd" visibility="hidden"/>
  142. </datagrid>
  143. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  144. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1195px; y2:0px; "/>
  145. <button id="button1" class="btn4_letter2" style="left:1078px; top:4px; width:56px; height:22px; ">
  146. <caption>저장</caption>
  147. <script type="javascript" ev:event="DOMActivate">
  148. <![CDATA[
  149. if ( messageBox("","Q002")==6 ) {
  150. var update = getGridUpdateData(grd_itemlist);
  151. if(update == ""){
  152. messageBox("업데이트 정보가 없습니다.", "I");
  153. return 0;
  154. } else {
  155. model.setValue("/root/send/req/data", update);
  156. if (submit("TXAEB01802")) {
  157. }
  158. submit("TRAEB01802");
  159. }
  160. }
  161. ]]>
  162. </script>
  163. </button>
  164. <button id="btn_close" class="btn4_letter2" style="left:1138px; top:4px; width:56px; height:22px; ">
  165. <caption>닫기</caption>
  166. <script type="javascript" ev:event="DOMActivate">
  167. <![CDATA[
  168. if (checkOpener()) {
  169. opener.model.setValue("/root/init/updtyn","N");
  170. }
  171. window.close();
  172. ]]>
  173. </script>
  174. </button>
  175. </group>
  176. <caption id="caption1" class="search_name" style="left:20px; top:30px; width:99px; height:17px; ">체내외구분 :</caption>
  177. <select1 id="cmb_ioflag" ref="/root/send/bdioflag" class="combo_search" appearance="minimal" style="left:125px; top:28px; width:100px; height:19px; ">
  178. <choices>
  179. <item>
  180. <label>체내</label>
  181. <value>I</value>
  182. </item>
  183. <item>
  184. <label>체외</label>
  185. <value>O</value>
  186. </item>
  187. </choices>
  188. <script type="javascript" ev:event="xforms-value-changed">
  189. <![CDATA[
  190. submit("TRAEB01802");
  191. ]]>
  192. </script>
  193. </select1>
  194. <caption id="caption2" class="search_name" style="left:308px; top:30px; width:99px; height:17px; ">물품구분 :</caption>
  195. <select1 id="combo1" ref="/root/send/itemflag" class="combo_search" appearance="minimal" style="left:413px; top:28px; width:100px; height:19px; ">
  196. <choices>
  197. <item>
  198. <label>핵종</label>
  199. <value>N</value>
  200. </item>
  201. <item>
  202. <label>화합물</label>
  203. <value>O</value>
  204. </item>
  205. </choices>
  206. <script type="javascript" ev:event="xforms-value-changed">
  207. <![CDATA[
  208. submit("TRAEB01802");
  209. ]]>
  210. </script>
  211. </select1>
  212. </xhtml:body>
  213. </xhtml:html>