SMMNG01600_물품별부서보유현황조회.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  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. <deptgoodinfo>
  11. <deptgoodinfolist>
  12. <reqflag/>
  13. <goodcd/>
  14. <goodnm/>
  15. <goodspec/>
  16. <goodmodel/>
  17. <dinfflag/>
  18. <dinfdivs/>
  19. <baseqty/>
  20. <safestocqty/>
  21. <csrbaseqty/>
  22. </deptgoodinfolist>
  23. </deptgoodinfo>
  24. <deptgooddelinfo>
  25. <deptgooddelinfolist/>
  26. </deptgooddelinfo>
  27. </main>
  28. <send>
  29. <reqdata/>
  30. </send>
  31. <cond>
  32. <lrgcd/>
  33. <mdlcd/>
  34. <smlcd/>
  35. <proddrugsetflag/>
  36. <reqflag/>
  37. <goodflag>01</goodflag>
  38. <reqdata/>
  39. </cond>
  40. <init>
  41. <lrglist/>
  42. <mdllist/>
  43. <smllist/>
  44. </init>
  45. <temp>
  46. <csrreqdeptlist/>
  47. </temp>
  48. <hidden>
  49. <common>
  50. <dinfflaginfo/>
  51. <dinfdivsinfo/>
  52. </common>
  53. </hidden>
  54. </root>
  55. </instance>
  56. <script type="javascript" ev:event="xforms-ready">
  57. <![CDATA[
  58. zbcfGetCodeList (new Array("M0585","M0586")
  59. ,new Array("/root/hidden/common/dinfdivsinfo","/root/hidden/common/dinfflaginfo"),true);
  60. model.removeNodeset("/root/main/deptgoodinfo/deptgoodinfolist");
  61. model.removeNodeset("/root/main/deptgooddelinfo/deptgooddelinfolist");
  62. model.makeValue("/root/send/goodreq/instcd", getUserInfo("dutplceinstcd"));
  63. model.makeValue("/root/send/goodreq/useyn", "Y");
  64. submit("TRMNG00401");//부서구분 조회
  65. submit("TRMNG00101"); //대분류 조회
  66. addComboItem( "cmb_lrgcd", "전체", "", "above");
  67. model.refresh();
  68. ]]>
  69. </script>
  70. <submission id="TRMNG00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/lrglist"/>
  71. <submission id="TRMNG00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/init/mdllist"/>
  72. <submission id="TRMNG00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/init/smllist"/>
  73. <submission id="TRMNG01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/deptgoodinfo"/>
  74. <submission id="TRMNG01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/deptgooddelinfo"/>
  75. <submission id="TRMNG00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/temp/csrreqdeptlist"/>
  76. <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  77. </model>
  78. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  79. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  82. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  83. <script type="javascript">
  84. <![CDATA[
  85. function fGetDeptGoodinfoSearch(){
  86. if(submit("TRMNG01601")){
  87. }
  88. }
  89. ]]>
  90. </script>
  91. </xhtml:head>
  92. <xhtml:body pagewidth="1150" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  93. <group id="grp_tle" style="left:0px; top:0px; width:1035px; height:13px; ">
  94. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:217px; height:14px; ">물품별 부서 보유현황 조회</caption>
  95. </group>
  96. <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:1085px; height:744px; ">
  97. <shape id="roundrect1" class="rodundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1080px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
  98. <caption id="caption1" class="tit_2" style="left:0px; top:104px; width:87px; height:13px; ">물품내역</caption>
  99. <line id="line1" class="line_1" style="x1:0px; y1:120px; x2:710px; y2:120px; "/>
  100. <line id="line2" class="line_1" style="width:400; x1:720px; y1:120px; x2:1080px; y2:120px; "/>
  101. <datagrid id="grd_deptgoodinfolist" nodeset="/root/main/deptgoodinfo/deptgoodinfolist" class="datagrid2" caption="Set구분^물품코드^물품명^규격^모델^멸균구분^멸균상세^총&#xA;보유량^부서&#xA;보유량^CSR&#xA;보유량" colsep="^" colwidth="71, 98, 143, 78, 80, 56, 42, 44, 44, 42" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:125px; width:710px; height:612px; ">
  102. <col ref="proddrugsetflag" type="combo" style="text-align:center; ">
  103. <choices>
  104. <item>
  105. <label>전체</label>
  106. <value>-</value>
  107. </item>
  108. <item>
  109. <label>Set</label>
  110. <value>1</value>
  111. </item>
  112. <item>
  113. <label>Single</label>
  114. <value>2</value>
  115. </item>
  116. <item>
  117. <label>Single Set</label>
  118. <value>3</value>
  119. </item>
  120. </choices>
  121. </col>
  122. <col class="input_essential" ref="goodcd" type="output"/>
  123. <col ref="goodnm" type="output"/>
  124. <col ref="goodspec"/>
  125. <col ref="goodmodel"/>
  126. <col disabled="true" ref="dinfflag" type="combo" style="text-align:center; ">
  127. <choices>
  128. <itemset nodeset="/root/hidden/common/dinfflaginfo/M0586">
  129. <label ref="cdnm"/>
  130. <value ref="cdid"/>
  131. </itemset>
  132. </choices>
  133. </col>
  134. <col ref="dinfdivs" type="combo" visibility="hidden">
  135. <choices>
  136. <itemset nodeset="/root/hidden/common/dinfdivsinfo/M0585">
  137. <label ref="cdnm"/>
  138. <value ref="cdid"/>
  139. </itemset>
  140. </choices>
  141. </col>
  142. <col ref="baseqty" style="text-align:right; "/>
  143. <col ref="safestocqty" style="text-align:right; "/>
  144. <col ref="csrbaseqty" style="text-align:right; "/>
  145. <script type="javascript" ev:event="onaftersort">
  146. <![CDATA[
  147. grd_deptgoodinfolist.gridToInstance();
  148. ]]>
  149. </script>
  150. <script type="javascript" ev:event="ondblclick">
  151. <![CDATA[
  152. if(!isDataCell()) return;
  153. var iRow = grd_deptgoodinfolist.row - grd_deptgoodinfolist.fixedRows+1;
  154. model.makeValue("/root/send/reqdata/goodcd",model.getValue("/root/main/deptgoodinfo/deptgoodinfolist["+iRow+"]/goodcd"));
  155. if(submit("TRMNG01602")){
  156. model.removeNodeset("/root/send/reqdata");
  157. }
  158. ]]>
  159. </script>
  160. </datagrid>
  161. <datagrid id="grd_deptgooddelinfolist" nodeset="/root/main/deptgooddelinfo/deptgooddelinfolist" allowuserresize="false" caption="부서구분^부서명^비품수량^비품수량^비품수량^비품수량|부서구분^부서명^Total^Single^Set^Set" colsep="^" colwidth="57, 85, 41, 42, 25, 85" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:720px; top:125px; width:360px; height:612px; ">
  162. <col disabled="true" ref="csrreqdeptcd" type="combo" style="text-align:center; ">
  163. <choices>
  164. <itemset nodeset="/root/temp/csrreqdeptlist">
  165. <label ref="csrreqdeptnm"/>
  166. <value ref="csrreqdeptcd"/>
  167. </itemset>
  168. </choices>
  169. </col>
  170. <col ref="deptnm" type="output" style="text-align:center; "/>
  171. <col ref="safestocqty" type="output" style="text-align:right; "/>
  172. <col/>
  173. <col/>
  174. <col ref="goodnm" type="output" style="text-align:center; "/>
  175. <script type="javascript" ev:event="onaftersort">
  176. <![CDATA[
  177. grd_deptgooddelinfolist.gridToInstance();
  178. ]]>
  179. </script>
  180. </datagrid>
  181. <caption id="caption3" class="tit_2" style="left:720px; top:104px; width:131px; height:14px; ">부서 보유 상세내역</caption>
  182. <line id="line13" class="line_4" style="x1:974px; y1:20px; x2:974px; y2:42px; border-color:#ffe4bb; border-left-style:solid; "/>
  183. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:990px; top:20px; width:56px; height:22px; ">
  184. <caption>조회</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. fGetDeptGoodinfoSearch();
  188. ]]>
  189. </script>
  190. </button>
  191. <select1 id="cmb_lrgcd" ref="/root/cond/lrgcd" appearance="minimal" style="left:130px; top:15px; width:95px; height:19px; ">
  192. <choices>
  193. <itemset nodeset="/root/init/lrglist">
  194. <label ref="lrgnm"/>
  195. <value ref="lrgcd"/>
  196. </itemset>
  197. </choices>
  198. <script type="javascript" ev:event="xforms-value-changed">
  199. <![CDATA[
  200. submit("TRMNG00102");
  201. var nodelist = instance1.selectNodes("/root/init/mdllist");
  202. model.removeNodeset("/root/cond/mdlcd");
  203. model.removeNodeset("/root/cond/smlcd");
  204. model.makeNode("/root/cond/mdlcd");
  205. if(nodelist.length < 1 ){
  206. model.removeNodeset("/root/init/mdllist");
  207. model.removeNodeset("/root/init/smllist");
  208. }else{
  209. addComboItem( "cmb_mdlcd", "전체", "", "above");
  210. model.setValue("/root/cond/mdlcd",model.getValue("/root/init/mdllist/mdlcd[1]"));
  211. }
  212. cmb_mdlcd.refresh();
  213. cmb_smlcd.refresh();
  214. ]]>
  215. </script>
  216. </select1>
  217. <select1 id="cmb_smlcd" ref="/root/cond/smlcd" appearance="minimal" style="left:335px; top:15px; width:95px; height:19px; ">
  218. <choices>
  219. <itemset nodeset="/root/init/smllist">
  220. <label ref="smlnm"/>
  221. <value ref="smlcd"/>
  222. </itemset>
  223. </choices>
  224. </select1>
  225. <select1 id="rdo_proddrugsetflag" ref="/root/cond/proddrugsetflag" appearance="full" cols="4" overflow="visible" style="left:540px; top:17px; width:185px; height:13px; border-style:none; ">
  226. <choices>
  227. <item>
  228. <label>전체</label>
  229. <value/>
  230. </item>
  231. <item>
  232. <label>Set</label>
  233. <value>1</value>
  234. </item>
  235. <item>
  236. <label>Single</label>
  237. <value>2</value>
  238. </item>
  239. </choices>
  240. </select1>
  241. <caption id="cap_goodcd" class="search_name" style="left:450px; top:45px; width:86px; height:17px; ">검색구분 :</caption>
  242. <select1 id="cmb_mdlcd" ref="/root/cond/mdlcd" appearance="minimal" style="left:230px; top:15px; width:95px; height:19px; ">
  243. <choices>
  244. <itemset nodeset="/root/init/mdllist">
  245. <label ref="mdlnm"/>
  246. <value ref="mdlcd"/>
  247. </itemset>
  248. </choices>
  249. <script type="javascript" ev:event="xforms-value-changed">
  250. <![CDATA[
  251. submit("TRMNG00103");
  252. var nodelist = instance1.selectNodes("/root/init/smllist");
  253. model.removeNodeset("/root/cond/smlcd");
  254. model.makeNode("/root/cond/smlcd");
  255. if(nodelist.length < 1){
  256. model.removeNodeset("/root/init/smllist");
  257. }else{
  258. addComboItem( "cmb_smlcd", "전체", "", "above");
  259. model.setValue("/root/cond/smlcd",model.getValue("/root/init/smllist/smlcd[1]"));
  260. }
  261. ]]>
  262. </script>
  263. </select1>
  264. <input id="ipt_reqdata" ref="/root/cond/reqdata" class="input_search" imemode="alpha" appearance="input" style="left:670px; top:41px; width:145px; height:19px; ">
  265. <script type="javascript" ev:event="onkeyup">
  266. <![CDATA[
  267. inputEnterKey("btn_search", "DOMActivate");
  268. ]]>
  269. </script>
  270. </input>
  271. <select1 id="rdo_goodflag" ref="/root/cond/goodflag" appearance="full" cols="4" overflow="visible" style="left:540px; top:45px; width:125px; height:13px; border-style:none; ">
  272. <choices>
  273. <item>
  274. <label>물품코드</label>
  275. <value>01</value>
  276. </item>
  277. <item>
  278. <label>물품명</label>
  279. <value>02</value>
  280. </item>
  281. </choices>
  282. </select1>
  283. <caption id="caption2" class="search_name" style="left:450px; top:16px; width:86px; height:17px; ">Set구분 :</caption>
  284. <caption id="caption13" class="search_name" style="left:40px; top:16px; width:86px; height:17px; ">분류구분 :</caption>
  285. <caption id="caption14" class="search_name" visibility="hidden" style="left:40px; top:45px; width:86px; height:17px; ">물품구분 :</caption>
  286. <select1 id="rdo_reqflag" ref="/root/cond/reqflag" visibility="hidden" appearance="full" cols="5" overflow="visible" style="left:130px; top:45px; width:261px; height:13px; border-style:none; ">
  287. <choices>
  288. <item>
  289. <label>전체</label>
  290. <value/>
  291. </item>
  292. <item>
  293. <label>비품</label>
  294. <value>1</value>
  295. </item>
  296. <item>
  297. <label>소모품</label>
  298. <value>2</value>
  299. </item>
  300. <item>
  301. <label>린넨</label>
  302. <value>4</value>
  303. </item>
  304. <item>
  305. <label>멸균의뢰</label>
  306. <value>3</value>
  307. </item>
  308. </choices>
  309. </select1>
  310. </group>
  311. </xhtml:body>
  312. </xhtml:html>