SPRSE01101_멸균품목내역.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. <csrbipumlist>
  11. <chkyn/>
  12. <deptcd/>
  13. <deptnm/>
  14. <goodcd/>
  15. <goodnm/>
  16. <goodspec/>
  17. <goodmodel/>
  18. <deliveunit/>
  19. <safestocqty/>
  20. <chngsafestocqty/>
  21. <goodmngtflag/>
  22. <cmt/>
  23. <certyn/>
  24. <reqflag/>
  25. <instcd/>
  26. <goodflag/>
  27. <purcunit/>
  28. <minexch/>
  29. <ddavguseqty/>
  30. <lrgcd/>
  31. <lrgnm/>
  32. <mdlcd/>
  33. <mdlnm/>
  34. <smlcd/>
  35. <smlnm/>
  36. </csrbipumlist>
  37. <duplnode>
  38. <csrbipumlist/>
  39. </duplnode>
  40. </main>
  41. <send>
  42. <retvcond>
  43. <goodflag/>
  44. <goodcd/>
  45. <goodnm/>
  46. </retvcond>
  47. <goodbaseqtylist/>
  48. <goodcd/>
  49. <csrreqdeptcd/>
  50. <instcd/>
  51. </send>
  52. <init>
  53. <lrgcd/>
  54. <mdlcd/>
  55. </init>
  56. <hidden>
  57. <a/>
  58. <lrgcd/>
  59. <mdlcd/>
  60. </hidden>
  61. <temp/>
  62. <copynode/>
  63. </root>
  64. </instance>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  67. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  68. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  69. <script type="javascript" ev:event="xforms-ready">
  70. <![CDATA[
  71. fInitialize();
  72. ]]>
  73. </script>
  74. <submission id="TRRSS01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/csrreqdeptlist"/>
  75. <submission id="TRRSD06011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/csrbipumlist"/>
  76. </model>
  77. <script type="javascript">
  78. <![CDATA[
  79. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  80. function fInitialize()
  81. {
  82. //misfGridInit(grd_goodslist);
  83. misfComboComCdListMulti("Z0007", "cmb_instcd");
  84. //misfGridComboComCdList("R0025", grd_goodslist, "goodflag");
  85. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  86. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  87. submit("TRRSS01211");
  88. model.refresh();
  89. fSerachData();
  90. }
  91. function fSerachData()
  92. {
  93. model.makeValue("/root/send/reqdata/instcd", cmb_instcd.value);
  94. model.makeValue("/root/send/reqdata/csrreqdeptcd", cmb_csrreqdeptcd.value);
  95. submit("TRRSD06011");
  96. }
  97. ]]>
  98. </script>
  99. </xhtml:head>
  100. <xhtml:body pagewidth="880" pageheight="500" guideline="1,963;2,771;1,514;2,503;1,865;" style="font-family:굴림체; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  101. <group id="grp_tle" style="left:0px; top:0px; width:950px; height:13px; ">
  102. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">멸균품목내역 조회</caption>
  103. </group>
  104. <group id="grp_biz" scroll="auto" style="left:0px; top:12px; width:485px; height:475px; ">
  105. <group id="grp_sea" style="left:0px; top:10px; width:485px; height:35px; vertical-align:top; ">
  106. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:485px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  107. <caption id="caption2" class="search_name" style="left:15px; top:9; width:89px; height:17px; ">기관코드 :</caption>
  108. <button id="btn_search" class="btn1_letter2" style="left:420px; top:5px; width:56px; height:22px; ">
  109. <caption>조회</caption>
  110. <script type="javascript" ev:event="DOMActivate">
  111. <![CDATA[
  112. fSerachData();
  113. ]]>
  114. </script>
  115. </button>
  116. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:8px; width:100px; height:19px; ">
  117. <choices>
  118. <itemset>
  119. <label/>
  120. <value/>
  121. </itemset>
  122. </choices>
  123. </select1>
  124. <line id="line3" class="line_4" style="x1:405px; y1:2px; x2:405px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  125. <caption id="cap_csrreqdeptcd" class="search_name" visibility="hidden" style="left:210px; top:8px; width:89px; height:17px; ">부서구분 :</caption>
  126. <select1 id="cmb_csrreqdeptcd" ref="/root/send/retvcond/csrreqdeptcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:299px; top:8px; width:96px; height:19px; ">
  127. <choices>
  128. <itemset nodeset="/root/main/csrreqdeptlist">
  129. <label ref="csrreqdeptnm"/>
  130. <value ref="csrreqdeptcd"/>
  131. </itemset>
  132. </choices>
  133. <script type="javascript" ev:event="xforms-value-changed">
  134. <![CDATA[
  135. btn_search.dispatch("DOMActivate");
  136. ]]>
  137. </script>
  138. </select1>
  139. </group>
  140. <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:95px; height:14px; ">물품청구내역</caption>
  141. <line id="line1" class="line_1" style="x1:5px; y1:70px; x2:485px; y2:70px; "/>
  142. <button id="button1" class="btn2_letter4" style="left:405px; top:50px; width:64px; height:19px; ">
  143. <caption>선택적용</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. var chkyn;
  147. var header = "deptcd▦deptnm▦goodcd▦goodnm▦goodspec▦goodmodel▦deliveunit▦safestocqty▦goodmngtflag▦chngsafestocqty▦cmt▦certyn▦reqflag▦instcd▦goodflag▦purcunit▦minexch▦ddavguseqty▦lrgcd▦lrgnm▦mdlcd▦mdlnm▦smlcd▦smlnm▩";
  148. var data = "";
  149. for(var i = 1; i < grd_csrsomolist.rows; i++) {
  150. chkyn = grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("chkyn"));
  151. if(chkyn == "Y") {
  152. copyNodesetType("/root/main/duplnode/csrbipumlist", "/root/main/csrbipumlist[" + i + "]", "after");
  153. data +=
  154. grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("deptcd")) + "▦"
  155. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("deptnm")) + "▦"
  156. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodcd")) + "▦"
  157. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodnm")) + "▦"
  158. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodspec")) + "▦"
  159. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodmodel")) + "▦"
  160. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("deliveunit")) + "▦"
  161. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("safestocqty")) + "▦"
  162. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodmngtflag")) + "▦"
  163. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("chngsafestocqty")) + "▦"
  164. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("cmt")) + "▦"
  165. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("certyn")) + "▦"
  166. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("reqflag")) + "▦"
  167. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("instcd")) + "▦"
  168. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodflag")) + "▦"
  169. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("purcflag")) + "▦"
  170. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("minexch")) + "▦"
  171. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("ddavguseqty")) + "▦"
  172. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("lrgcd")) + "▦"
  173. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("lrgnm")) + "▦"
  174. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("mdlcd")) + "▦"
  175. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("mdlnm")) + "▦"
  176. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("smlcd")) + "▦"
  177. + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("smlnm")) + "▩"
  178. }
  179. }
  180. if ( checkOpener() ) {
  181. opener.javascript.setParameter("SMRSD06001_", header+data);
  182. } else {
  183. var rtn = messageBox("상위화면을 찾을 수", "E001");
  184. }
  185. window.close();
  186. ]]>
  187. </script>
  188. </button>
  189. <datagrid id="grd_csrsomolist" nodeset="/root/main/csrbipumlist" class="datagrid2" caption="^물품코드^물품명^청구수량^저장" colsep="^" colwidth="25, 70, 150, 50, 50" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:75px; width:480px; height:400px; ">
  190. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  191. <col class="input_essential" ref="goodcd" _key="true"/>
  192. <col ref="goodnm"/>
  193. <col ref="safestocqty" style="background-color:#e3e3e3; "/>
  194. <col ref="chngsafestocqty" style="background-color:#e3e3e3; "/>
  195. </datagrid>
  196. </group>
  197. </xhtml:body>
  198. </xhtml:html>