SMAEQ01700_조영제재고현황조회.xrw 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. <goodlist>
  11. <item>
  12. <chk/>
  13. <section/>
  14. <goodcd/>
  15. <goodnm/>
  16. <speccd/>
  17. <safestocqty/>
  18. <exstocqty/>
  19. <wlnqty/>
  20. <sumqty/>
  21. <useqty/>
  22. <stocqty/>
  23. <reqqty/>
  24. </item>
  25. </goodlist>
  26. <codelist>
  27. <item>
  28. <cdid/>
  29. <cdnm/>
  30. </item>
  31. </codelist>
  32. </main>
  33. <send>
  34. <srchdd/>
  35. <srchbdioflag/>
  36. <globalinstance>
  37. <instance1/>
  38. </globalinstance>
  39. <mainlist/>
  40. <nuclwlnlist/>
  41. <nucldelivelist/>
  42. <compdwlnlist/>
  43. <compddelivelist/>
  44. <srchsectcd/>
  45. <srchsectnm/>
  46. <srchroomcd/>
  47. <srchroomnm/>
  48. <grupcdid/>
  49. <srflag/>
  50. <alladdyn/>
  51. </send>
  52. <tmp>
  53. <suplcustcd/>
  54. <suplcustnm/>
  55. <itemflag/>
  56. <rem/>
  57. <rexlist>
  58. <srchdd/>
  59. <patinsucnt/>
  60. <patgnrlcnt/>
  61. <testinsucnt/>
  62. <testgnrlcnt/>
  63. </rexlist>
  64. <iolist/>
  65. <srchdd/>
  66. </tmp>
  67. <cmb_info>
  68. <initexcuroomgrp>
  69. <excuroomgrpcdid/>
  70. <excuroomgrpcdnm/>
  71. </initexcuroomgrp>
  72. <initexcuroomgrp2>
  73. <excuroomgrpcdid/>
  74. <excuroomgrpcdnm/>
  75. </initexcuroomgrp2>
  76. </cmb_info>
  77. </root>
  78. </instance>
  79. <script type="javascript" ev:event="xforms-ready">
  80. <![CDATA[
  81. model.setValue("/root/send/srchdd", getCurrentDate());
  82. aezfSetSuppDeptcd();
  83. model.setValue("/root/send/alladdyn","N")
  84. model.refresh();
  85. //section 조회
  86. submit("TRAEA01301");
  87. model.setValue("/root/send/srchroomcd"," ")
  88. model.setValue("/root/send/srflag","S")
  89. var sectnm = combo1.label
  90. model.setValue("/root/send/srchsectnm",sectnm)
  91. // model.setValue("/root/send/srflag","S")
  92. // model.setValue("/root/send/grupcdid", "A0008");
  93. // submit("TRAEB00010");
  94. model.refresh();
  95. ]]>
  96. </script>
  97. <submission id="TRAEQ01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/goodlist"/>
  98. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/cmb_info"/>
  99. </model>
  100. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  101. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  102. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  103. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  104. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  105. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  106. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  107. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  108. <script type="javascript">
  109. <![CDATA[
  110. ]]>
  111. </script>
  112. </xhtml:head>
  113. <xhtml:body guideline="1,1195;" style="margin-left:7; margin-top:0; margin-right:8; margin-bottom:0; ">
  114. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  115. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; ">조영제 재고현황</caption>
  116. </group>
  117. <group id="group2" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
  118. <datagrid id="grd_prodlist" nodeset="/root/main/goodlist/item" caption="chk^Section^약품코드^약품명^용량^안전재고량^전일재고^수령^합계^소모^잔고^청구수량" colsep="^" colwidth="32, 70, 100, 215, 82, 89, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" ref="/root/main/item1" style="left:0px; top:75px; width:1195px; height:665px; ">
  119. <col ref="chk" visibility="hidden"/>
  120. <col ref="section" type="output"/>
  121. <col editable="false" ref="goodcd" type="output"/>
  122. <col ref="goodnm" type="output"/>
  123. <col ref="speccd" type="output" style="text-align:center; "/>
  124. <col ref="safestocqty" type="output" format="#,###" style="text-align:right; "/>
  125. <col ref="exstocqty" type="output" style="text-align:right; "/>
  126. <col ref="wlnqty" type="output" style="text-align:right; "/>
  127. <col ref="sumqty" type="output" style="text-align:right; "/>
  128. <col ref="useqty" type="output" style="text-align:right; "/>
  129. <col ref="stocqty" type="output" style="text-align:right; "/>
  130. <col ref="reqqty" type="output" style="text-align:right; "/>
  131. </datagrid>
  132. <group id="group4" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  133. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  134. <caption id="caption19" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">조회일자 :</caption>
  135. <input id="input8" ref="/root/send/srchdd" class="input_search" inputtype="date" style="left:102px; top:8px; width:100px; height:19px; "/>
  136. <line id="line6" class="line_4" style="x1:1116px; y1:6px; x2:1116px; y2:28px; "/>
  137. <caption id="caption20" class="search_name" style="left:220px; top:9px; width:83px; height:17px; ">Section :</caption>
  138. <select1 id="combo1" ref="/root/send/srchsectcd" appearance="minimal" style="left:310px; top:8px; width:93px; height:19px; ">
  139. <choices>
  140. <itemset nodeset="/root/cmb_info/initexcuroomgrp">
  141. <label ref="excuroomgrpcdnm"/>
  142. <value ref="excuroomgrpcdid"/>
  143. </itemset>
  144. </choices>
  145. <script type="javascript" ev:event="xforms-value-changed">
  146. <![CDATA[
  147. //btn_sea.dispatch("DOMActivate");
  148. model.setValue("/root/send/srchroomcd"," ")
  149. model.setValue("/root/send/srflag","S")
  150. var sectnm = combo1.label
  151. model.setValue("/root/send/srchsectnm",sectnm)
  152. model.refresh()
  153. ]]>
  154. </script>
  155. </select1>
  156. <button id="btn_sea" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
  157. <caption>조회</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. if(model.getValue("/root/send/srchdd") != "")
  161. {
  162. model.removeNodeset("/root/main/goodlist");
  163. submit("TRAEQ01701");
  164. model.refresh();
  165. }
  166. else
  167. {
  168. messageBox("날짜가 입력되지", "E007");
  169. }
  170. ]]>
  171. </script>
  172. </button>
  173. <caption id="caption1" class="search_name" style="left:435px; top:9px; width:83px; height:17px; ">검사실 :</caption>
  174. <select1 id="combo2" ref="/root/send/srchroomcd" appearance="minimal" style="left:515px; top:8px; width:93px; height:19px; ">
  175. <choices>
  176. <itemset nodeset="/root/cmb_info/initexcuroomgrp2">
  177. <label ref="excuroomgrpcdnm"/>
  178. <value ref="excuroomgrpcdid"/>
  179. </itemset>
  180. </choices>
  181. <script type="javascript" ev:event="xforms-value-changed">
  182. <![CDATA[
  183. // btn_sea.dispatch("DOMActivate");
  184. model.setValue("/root/send/srchsectcd"," ")
  185. model.setValue("/root/send/srflag","R")
  186. var roomnm = combo2.label
  187. model.setValue("/root/send/srchroomnm",roomnm)
  188. model.refresh()
  189. ]]>
  190. </script>
  191. </select1>
  192. </group>
  193. <caption id="caption22" class="tit_2" style="left:0px; top:55px; width:84px; height:14px; ">재고현황</caption>
  194. <line id="line7" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  195. <button id="button1" class="btn2_letter4" visibility="visible" style="left:1118px; top:49px; width:64px; height:19px; ">
  196. <caption>엑셀저장</caption>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  200. //if ( grd_maindaily.rows == 0 ) return;
  201. grd_prodlist.saveExcel(file);
  202. ]]>
  203. </script>
  204. </button>
  205. </group>
  206. </xhtml:body>
  207. </xhtml:html>