SMRSE00400_물품별부서보유현황조회.xrw 12 KB

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