SPRSD06002_비품조회HELP.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  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>CSR비품조회</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. <goodlist/>
  41. <lrglist/>
  42. <mdllist/>
  43. </main>
  44. <send>
  45. <goodcd/>
  46. <instcd/>
  47. <searchflag>1</searchflag>
  48. <goodnm/>
  49. <goodflag>T</goodflag>
  50. <lrgcd/>
  51. <mdlcd/>
  52. <smlcd/>
  53. <rgstflag/>
  54. <reqflag/>
  55. <proddrugsetflag/>
  56. <certyn>Y</certyn>
  57. <deptcd/>
  58. <deptnm/>
  59. </send>
  60. <init>
  61. <lrgcd/>
  62. <mdlcd/>
  63. </init>
  64. <hidden>
  65. <a/>
  66. <lrgcd/>
  67. <mdlcd/>
  68. </hidden>
  69. <temp/>
  70. <copynode/>
  71. </root>
  72. </instance>
  73. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  75. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  76. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  77. <script type="javascript" ev:event="xforms-ready">
  78. <![CDATA[
  79. fInitialize();
  80. ]]>
  81. </script>
  82. <submission id="TRRSD06021" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/csrbipumlist"/>
  83. <submission id="TRRSC05111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lrglist"/>
  84. <submission id="TRRSC05112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mdllist"/>
  85. <submission id="TRRSC05113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/smllist"/>
  86. </model>
  87. <script type="javascript">
  88. <![CDATA[
  89. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  90. function fInitialize()
  91. {
  92. //misfGridInit(grd_goodslist);
  93. misfComboComCdListMulti("Z0007", "cmb_instcd");
  94. //misfGridComboComCdList("R0025", grd_goodslist, "goodflag");
  95. var deptcd = model.property("deptcd");
  96. var deptnm = model.property("deptnm");
  97. if(deptcd == "") {
  98. model.makeValue("/root/send/deptcd" , getUserInfo("dutplcecd"));
  99. model.makeValue("/root/send/deptnm" , getUserInfo("dutplcenm"));
  100. } else {
  101. model.makeValue("/root/send/deptcd", deptcd);
  102. model.makeValue("/root/send/deptnm", deptnm);
  103. }
  104. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  105. fSerachData();
  106. submit("TRRSC05111");
  107. addComboItem( "cmb_lrgcd", "전체", "", "above");
  108. }
  109. function fSerachData()
  110. {
  111. model.makeValue("/root/send/instcd", cmb_instcd.value);
  112. model.makeValue("/root/send/deptcd", ipt_reqdeptcd.value);
  113. model.makeValue("/root/send/rgstflag", "4");
  114. submit("TRRSD06021");
  115. }
  116. ]]>
  117. </script>
  118. </xhtml:head>
  119. <xhtml:body pagewidth="870" pageheight="500" guideline="1,963;2,771;1,853;2,503;1,867;" style="font-family:굴림체; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  120. <group id="grp_tle" style="left:0px; top:0px; width:850px; height:13px; ">
  121. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">비품조회</caption>
  122. </group>
  123. <group id="grp_biz" scroll="auto" style="left:0px; top:12px; width:850px; height:453px; ">
  124. <datagrid id="grd_csrbipumlist" nodeset="/root/main/csrbipumlist" caption="^물품구분^물품코드^물품명^규격^모델^멸균구분" colsep="^" colwidth="25, 70, 110, 189, 155, 155, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:115px; width:845px; height:338px; ">
  125. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  126. <col ref="reqflag" type="combo">
  127. <choices>
  128. <item>
  129. <label>비품</label>
  130. <value>1</value>
  131. </item>
  132. <item>
  133. <label>소모품</label>
  134. <value>2</value>
  135. </item>
  136. <item>
  137. <label>린넨</label>
  138. <value>4</value>
  139. </item>
  140. <item>
  141. <label>멸균품목</label>
  142. <value>3</value>
  143. </item>
  144. </choices>
  145. </col>
  146. <col class="input_essential" ref="goodcd" _key="true"/>
  147. <col ref="goodnm"/>
  148. <col ref="goodspec"/>
  149. <col ref="goodmodel"/>
  150. <col/>
  151. </datagrid>
  152. <group id="group2" style="left:5px; top:10px; width:843px; height:75px; vertical-align:top; ">
  153. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:843px; height:75px; background-color:#fffbf2; border-color:#ffd799; "/>
  154. <line id="line2" class="line_4" style="x1:770px; y1:22px; x2:770px; y2:48px; border-color:#ffe4bb; border-left-style:solid; "/>
  155. <button id="btn_search" class="btn1_letter2" style="left:780px; top:25px; width:56px; height:22px; ">
  156. <caption>조회</caption>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. fSerachData();
  160. ]]>
  161. </script>
  162. </button>
  163. <group id="grp_csrsearch" style="left:0px; top:0px; width:760px; height:75px; background-color:transparent; border-color:transparent; ">
  164. <caption id="cap_goodcd" class="search_name" style="left:405px; top:30px; width:91px; height:17px; ">물품코드 :</caption>
  165. <input id="ipt_goodnm" ref="/root/send/goodnm" class="input_search" appearance="input" style="left:565px; top:28px; width:145px; height:19px; ">
  166. <script type="javascript" ev:event="xforms-value-changed">
  167. <![CDATA[
  168. ]]>
  169. </script>
  170. </input>
  171. <input id="ipt_goodcd" ref="/root/send/goodcd" class="input_fix" style="left:493px; top:28px; width:70px; height:19px; ">
  172. <script type="javascript" ev:event="xforms-value-changed">
  173. <![CDATA[
  174. ]]>
  175. </script>
  176. </input>
  177. <select1 id="cmb_lrgcd" ref="/root/send/lrgcd" appearance="minimal" style="left:96px; top:4px; width:95px; height:19px; ">
  178. <choices>
  179. <itemset nodeset="/root/main/lrglist">
  180. <label ref="lrgnm"/>
  181. <value ref="lrgcd"/>
  182. </itemset>
  183. </choices>
  184. <script type="javascript" ev:event="xforms-value-changed">
  185. <![CDATA[
  186. submit("TRRSC05112");
  187. addComboItem( "cmb_mdlcd", "전체", "", "above");
  188. ]]>
  189. </script>
  190. </select1>
  191. <caption id="caption13" class="search_name" style="left:10px; top:5px; width:86px; height:17px; ">분류구분 :</caption>
  192. <select1 id="cmb_mdlcd" ref="/root/send/mdlcd" appearance="minimal" style="left:195px; top:4px; width:95px; height:19px; ">
  193. <choices>
  194. <itemset nodeset="/root/main/mdllist">
  195. <label ref="mdlnm"/>
  196. <value ref="mdlcd"/>
  197. </itemset>
  198. </choices>
  199. <script type="javascript" ev:event="xforms-value-changed">
  200. <![CDATA[
  201. submit("TRRSC05113");
  202. addComboItem( "cmb_mdlcd", "전체", "", "above");
  203. ]]>
  204. </script>
  205. </select1>
  206. <caption id="caption14" class="search_name" style="left:405px; top:5px; width:86px; height:17px; ">물품구분 :</caption>
  207. <select1 id="cmb_smlcd" ref="/root/send/smlcd" appearance="minimal" style="left:295px; top:4px; width:95px; height:19px; ">
  208. <choices>
  209. <itemset nodeset="/root/main/smllist">
  210. <label ref="smlnm"/>
  211. <value ref="smlcd"/>
  212. </itemset>
  213. </choices>
  214. </select1>
  215. <select1 id="rdo_reqflag" ref="/root/send/reqflag" overflow="visible" appearance="full" cols="5" style="left:494px; top:5px; width:261px; height:13px; border-style:none; ">
  216. <choices>
  217. <item>
  218. <label>전체</label>
  219. <value/>
  220. </item>
  221. <item>
  222. <label>비품</label>
  223. <value>1</value>
  224. </item>
  225. <item>
  226. <label>소모품</label>
  227. <value>2</value>
  228. </item>
  229. <item>
  230. <label>린넨</label>
  231. <value>4</value>
  232. </item>
  233. <item>
  234. <label>멸균의뢰</label>
  235. <value>3</value>
  236. </item>
  237. </choices>
  238. </select1>
  239. <caption id="caption1" class="search_name" style="left:10px; top:30px; width:86px; height:17px; ">Set구분 :</caption>
  240. <select1 id="rdo_proddrugsetflag" ref="/root/send/proddrugsetflag" overflow="visible" appearance="full" cols="4" style="left:95px; top:30px; width:185px; height:13px; border-style:none; ">
  241. <choices>
  242. <item>
  243. <label>전체</label>
  244. <value/>
  245. </item>
  246. <item>
  247. <label>Set</label>
  248. <value>1</value>
  249. </item>
  250. <item>
  251. <label>Single</label>
  252. <value>2</value>
  253. </item>
  254. </choices>
  255. </select1>
  256. <caption id="caption2" class="search_name" style="left:10px; top:55px; width:86px; height:17px; ">부서코드:</caption>
  257. <input id="ipt_reqdeptnm" ref="/root/send/deptnm" class="input_search" style="left:255px; top:52px; width:160px; height:19px; ">
  258. <script type="javascript" ev:event="xforms-value-changed">
  259. <![CDATA[
  260. misfValidationCheck("02", "", "deptcd,deptnm");
  261. model.refresh();
  262. ]]>
  263. </script>
  264. </input>
  265. <input id="ipt_reqdeptcd" ref="/root/send/deptcd" class="input_default" maxlength="10" style="left:95px; top:52px; width:70px; height:19px; "/>
  266. <caption id="caption3" class="search_name" style="left:180px; top:55px; width:76px; height:17px; ">부서명 :</caption>
  267. </group>
  268. </group>
  269. <caption id="caption12" class="tit_2" style="left:5px; top:94px; width:121px; height:14px; ">비픔현황조회</caption>
  270. <line id="line4" class="line_1" style="x1:5px; y1:110px; x2:848px; y2:110px; "/>
  271. <button id="button4" class="btn2_letter4" style="left:783px; top:90px; width:64px; height:19px; ">
  272. <caption>선택적용</caption>
  273. <script type="javascript" ev:event="DOMActivate">
  274. <![CDATA[
  275. var chkyn;
  276. var iParam = model.getValue(grd_csrbipumlist.nodeset);
  277. var nodelist = instance1.selectNodes(grd_csrbipumlist.nodeset + "[chkyn='Y']");
  278. var rCVS = getNodeListCSV(nodelist);
  279. if ( checkOpener() ) {
  280. opener.javascript.setParameter("SMRSD06002_", rCVS);
  281. } else {
  282. var rtn = messageBox("상위화면을 찾을 수", "E001");
  283. }
  284. window.close();
  285. ]]>
  286. </script>
  287. </button>
  288. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:595px; top:88px; width:165px; height:19px; ">
  289. <choices>
  290. <itemset>
  291. <label/>
  292. <value/>
  293. </itemset>
  294. </choices>
  295. </select1>
  296. <caption id="caption9" class="search_name" visibility="hidden" style="left:505px; top:90px; width:89px; height:17px; ">기관코드 :</caption>
  297. <input id="ipt_goodflag" ref="/root/send/goodflag" visibility="hidden" style="left:475px; top:85px; width:25px; height:19px; "/>
  298. </group>
  299. </xhtml:body>
  300. </xhtml:html>