SPRSE01101_멸균품목내역.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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. <reqdinfinfo>
  11. <reqdinfinfolist/>
  12. </reqdinfinfo>
  13. </main>
  14. <send>
  15. <reqdata/>
  16. </send>
  17. <temp>
  18. <csrreqdeptlist/>
  19. </temp>
  20. <cond>
  21. <srchflag>01</srchflag>
  22. <csrreqdeptcd/>
  23. <reqdeptcd/>
  24. <reqpridflag/>
  25. <lrgcd/>
  26. <mdlcd/>
  27. <smlcd/>
  28. <goodflag/>
  29. </cond>
  30. <init>
  31. <lrglist/>
  32. <mdllist/>
  33. <smllist/>
  34. <csrdeptlist/>
  35. </init>
  36. <hidden>
  37. <deptcodelist/>
  38. </hidden>
  39. </root>
  40. </instance>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  44. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  45. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. fInitialize();
  49. ]]>
  50. </script>
  51. <submission id="TRRSE01131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/reqdinfinfo"/>
  52. <submission id="TRRSC05111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/lrglist"/>
  53. <submission id="TRRSC05112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/init/mdllist"/>
  54. <submission id="TRRSC05113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/init/smllist"/>
  55. <submission id="TRRSS01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/temp/csrreqdeptlist"/>
  56. <submission id="TRRSS01214" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/deptcodelist"/>
  57. <submission id="TRRSS01212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/csrdeptlist"/>
  58. </model>
  59. <script type="javascript">
  60. <![CDATA[
  61. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  62. function fInitialize()
  63. {
  64. model.removeNodeset("/root/main/reqdinfinfo/reqdinfinfolist");
  65. model.makeValue("/root/send/goodreq/instcd", getUserInfo("dutplceinstcd"));
  66. model.makeValue("/root/send/goodreq/useyn", "Y");
  67. submit("TRRSS01211");//부서구분 조회
  68. addComboItem( "cmb_csrreqdeptcd", "전체", "", "above");
  69. model.removeNodeset("/root/send/reqdata");
  70. submit("TRRSC05111"); //대분류 조회
  71. addComboItem( "cmb_lrgcd", "전체", "", "above");
  72. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  73. model.makeValue("/root/send/reqdata/deptcd", getUserInfo("dutplcecd"));
  74. model.makeValue("/root/send/reqdata/refcond", "deptcd");
  75. submit("TRRSS01214");
  76. model.setValue("/root/cond/csrreqdeptcd",model.getValue("/root/hidden/deptcodelist/csrreqdeptcd2"));
  77. cmb_csrreqdeptcd.refresh();
  78. model.removeNodeset("/root/send/reqdata");
  79. model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_csrreqdeptcd.value);
  80. model.makeValue("/root/send/reqdata/useyn","Y");
  81. submit("TRRSS01212");
  82. model.setValue("/root/cond/reqdeptcd",model.getValue("/root/init/csrdeptlist/deptcd"));
  83. cmb_deptcd.refresh();
  84. model.refresh();
  85. fSerachData();
  86. }
  87. function fSerachData()
  88. {
  89. submit("TRRSE01131");
  90. }
  91. ]]>
  92. </script>
  93. </xhtml:head>
  94. <xhtml:body pagewidth="770" pageheight="600" guideline="1,963;2,771;1,866;" style="font-family:굴림체; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  95. <group id="grp_biz" scroll="auto" style="left:5px; top:16px; width:740px; height:549px; ">
  96. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:7px; width:725px; height:88px; background-color:#fffbf2; border-color:#ffd799; "/>
  97. <caption id="caption1" class="tit_2" style="left:4px; top:106px; width:136px; height:13px; ">청구멸균품목 내역</caption>
  98. <line id="line1" class="line_1" style="x1:4px; y1:120px; x2:729px; y2:120px; "/>
  99. <button id="button1" class="btn2_letter4" style="left:661px; top:100px; width:64px; height:19px; ">
  100. <caption>선택적용</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. var chkyn;
  104. var param = "";
  105. var goodnm = "";
  106. for(var i = grd_reqdinfinfolist.fixedRows; i < grd_reqdinfinfolist.rows; i++) {
  107. chkyn = grd_reqdinfinfolist.valueMatrix(i, grd_reqdinfinfolist.colRef("chkyn"));
  108. goodnm = grd_reqdinfinfolist.valueMatrix(i, grd_reqdinfinfolist.colRef("goodnm"));
  109. if(chkyn == "Y") {
  110. param += goodnm + "\n";
  111. }
  112. }
  113. if ( checkOpener() ) {
  114. opener.javascript.setParameter("param",param);
  115. } else {
  116. var rtn = messageBox("상위화면을 찾을 수", "E001");
  117. opener.javascript.setParameter("param","");
  118. }
  119. window.close();
  120. ]]>
  121. </script>
  122. </button>
  123. <datagrid id="grd_reqdinfinfolist" nodeset="/root/main/reqdinfinfo/reqdinfinfolist" class="datagrid2" caption="선택^청구부서^청구&#xA;차수^물품코드^물품명^멸균상세^규격^모델" colsep="^" colwidth="32, 96, 36, 87, 231, 86, 100, 129" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:4px; top:125px; width:725px; height:415px; ">
  124. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  125. <col ref="reqdeptnm" style="text-align:center; "/>
  126. <col disabled="true" ref="reqpridflag" type="combo" style="text-align:center; ">
  127. <choices>
  128. <item>
  129. <label>1차</label>
  130. <value>1</value>
  131. </item>
  132. <item>
  133. <label>2차</label>
  134. <value>2</value>
  135. </item>
  136. <item>
  137. <label>3차</label>
  138. <value>3</value>
  139. </item>
  140. <item>
  141. <label>4차</label>
  142. <value>4</value>
  143. </item>
  144. <item>
  145. <label>5차</label>
  146. <value>5</value>
  147. </item>
  148. <item>
  149. <label>응급</label>
  150. <value>-</value>
  151. </item>
  152. </choices>
  153. </col>
  154. <col class="input_essential" ref="goodcd" _key="true" style="text-align:center; "/>
  155. <col ref="goodnm"/>
  156. <col disabled="true" ref="dinfdivs" type="combo" style="text-align:center; ">
  157. <choices>
  158. <item>
  159. <label>고압증기멸균</label>
  160. <value>1</value>
  161. </item>
  162. <item>
  163. <label>가스멸균</label>
  164. <value>2</value>
  165. </item>
  166. <item>
  167. <label>건열멸균</label>
  168. <value>3</value>
  169. </item>
  170. <item>
  171. <label>플라즈마멸균</label>
  172. <value>4</value>
  173. </item>
  174. </choices>
  175. </col>
  176. <col ref="goodspec"/>
  177. <col ref="goodmodel"/>
  178. </datagrid>
  179. <select1 id="rdo_refflag" ref="/root/cond/srchflag" appearance="full" rows="2" overflow="visible" style="left:15px; top:40px; width:95px; height:35px; border-style:none; ">
  180. <choices>
  181. <item>
  182. <label>부서청구물품</label>
  183. <value>01</value>
  184. </item>
  185. <item>
  186. <label>CSR물품</label>
  187. <value>02</value>
  188. </item>
  189. </choices>
  190. <script type="javascript" ev:event="xforms-value-changed">
  191. <![CDATA[
  192. var srchflag = model.getValue("/root/cond/srchflag");
  193. if(srchflag =="02"){
  194. cmb_csrreqdeptcd.disabled = true;
  195. cmb_deptcd.disabled = true;
  196. cmb_reqpridflag.disabled = true;
  197. grd_reqdinfinfolist.colHidden(grd_reqdinfinfolist.colRef("reqdeptnm")) = true;
  198. grd_reqdinfinfolist.colHidden(grd_reqdinfinfolist.colRef("reqpridflag")) = true;
  199. }else{
  200. cmb_csrreqdeptcd.disabled = false;
  201. cmb_deptcd.disabled = false;
  202. cmb_reqpridflag.disabled = false ;
  203. grd_reqdinfinfolist.colHidden(grd_reqdinfinfolist.colRef("reqdeptnm")) = false;
  204. grd_reqdinfinfolist.colHidden(grd_reqdinfinfolist.colRef("reqpridflag")) = false;
  205. }
  206. fSerachData();
  207. model.refresh();
  208. ]]>
  209. </script>
  210. </select1>
  211. <line id="line3" class="line_4" style="x1:655px; y1:32px; x2:655px; y2:73px; border-color:#ffe4bb; border-left-style:solid; "/>
  212. <button id="btn_search" class="btn1_letter2" style="left:665px; top:45px; width:56px; height:22px; ">
  213. <caption>조회</caption>
  214. <script type="javascript" ev:event="DOMActivate">
  215. <![CDATA[
  216. fSerachData();
  217. ]]>
  218. </script>
  219. </button>
  220. <caption id="caption3" class="search_name" style="left:10px; top:15px; width:86px; height:17px; ">조회 조건</caption>
  221. <select1 id="cmb_smlcd" ref="/root/cond/smlcd" appearance="minimal" style="left:535px; top:60px; width:95px; height:19px; ">
  222. <choices>
  223. <itemset nodeset="/root/init/smllist">
  224. <label ref="smlnm"/>
  225. <value ref="smlcd"/>
  226. </itemset>
  227. </choices>
  228. </select1>
  229. <select1 id="cmb_lrgcd" ref="/root/cond/lrgcd" appearance="minimal" style="left:185px; top:60px; width:95px; height:19px; ">
  230. <choices>
  231. <itemset nodeset="/root/init/lrglist">
  232. <label ref="lrgnm"/>
  233. <value ref="lrgcd"/>
  234. </itemset>
  235. </choices>
  236. <script type="javascript" ev:event="xforms-value-changed">
  237. <![CDATA[
  238. model.makeValue("/root/cond/goodflag","T");
  239. submit("TRRSC05112");
  240. var nodelist = instance1.selectNodes("/root/init/mdllist");
  241. model.removeNodeset("/root/cond/mdlcd");
  242. model.removeNodeset("/root/cond/smlcd");
  243. model.makeNode("/root/cond/mdlcd");
  244. if(nodelist.length < 1 ){
  245. model.removeNodeset("/root/init/mdllist");
  246. model.removeNodeset("/root/init/smllist");
  247. }else{
  248. addComboItem( "cmb_mdlcd", "전체", "", "above");
  249. model.setValue("/root/cond/mdlcd",model.getValue("/root/init/mdllist/mdlcd[1]"));
  250. }
  251. cmb_mdlcd.refresh();
  252. cmb_smlcd.refresh();
  253. ]]>
  254. </script>
  255. </select1>
  256. <select1 id="cmb_mdlcd" ref="/root/cond/mdlcd" appearance="minimal" style="left:365px; top:61px; width:95px; height:19px; ">
  257. <choices>
  258. <itemset nodeset="/root/init/mdllist">
  259. <label ref="mdlnm"/>
  260. <value ref="mdlcd"/>
  261. </itemset>
  262. </choices>
  263. <script type="javascript" ev:event="xforms-value-changed">
  264. <![CDATA[
  265. submit("TRRSC05113");
  266. var nodelist = instance1.selectNodes("/root/init/smllist");
  267. model.removeNodeset("/root/cond/smlcd");
  268. model.makeNode("/root/cond/smlcd");
  269. if(nodelist.length < 1){
  270. model.removeNodeset("/root/init/smllist");
  271. }else{
  272. addComboItem( "cmb_smlcd", "전체", "", "above");
  273. model.setValue("/root/cond/smlcd",model.getValue("/root/init/smllist/smlcd[1]"));
  274. }
  275. ]]>
  276. </script>
  277. </select1>
  278. <caption id="caption13" class="search_name" style="left:110px; top:63px; width:86px; height:17px; ">대분류 :</caption>
  279. <select1 id="cmb_reqpridflag" ref="/root/cond/reqpridflag" appearance="minimal" style="left:575px; top:30px; width:65px; height:19px; ">
  280. <choices>
  281. <item>
  282. <label>전체</label>
  283. <value/>
  284. </item>
  285. <item>
  286. <label>1차</label>
  287. <value>1</value>
  288. </item>
  289. <item>
  290. <label>2차</label>
  291. <value>2</value>
  292. </item>
  293. <item>
  294. <label>3차</label>
  295. <value>3</value>
  296. </item>
  297. <item>
  298. <label>응급</label>
  299. <value>-</value>
  300. </item>
  301. </choices>
  302. <script type="javascript" ev:event="xforms-value-changed">
  303. <![CDATA[
  304. fSerachData();
  305. ]]>
  306. </script>
  307. </select1>
  308. <caption id="caption2" class="search_name" style="left:490px; top:30px; width:86px; height:17px; ">청구차수:</caption>
  309. <caption id="caption4" class="search_name" style="left:290px; top:63px; width:75px; height:17px; ">중분류 :</caption>
  310. <caption id="caption5" class="search_name" style="left:460px; top:63px; width:75px; height:17px; ">소분류 :</caption>
  311. <select1 id="cmb_deptcd" ref="/root/cond/reqdeptcd" class="combo_s_essential" appearance="minimal" style="left:390px; top:30px; width:95px; height:19px; ">
  312. <choices>
  313. <itemset nodeset="/root/init/csrdeptlist">
  314. <label ref="deptnm"/>
  315. <value ref="deptcd"/>
  316. </itemset>
  317. </choices>
  318. <script type="javascript" ev:event="xforms-value-changed">
  319. <![CDATA[
  320. fSerachData();
  321. ]]>
  322. </script>
  323. </select1>
  324. <caption id="caption20" class="search_name" style="left:110px; top:30px; width:94px; height:17px; ">부서구분 :</caption>
  325. <caption id="caption10" class="search_name" style="left:299px; top:30px; width:90px; height:17px; ">청구부서 :</caption>
  326. <select1 id="cmb_csrreqdeptcd" ref="/root/cond/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:200px; top:30px; width:95px; height:19px; ">
  327. <choices>
  328. <itemset nodeset="/root/temp/csrreqdeptlist">
  329. <label ref="csrreqdeptnm"/>
  330. <value ref="csrreqdeptcd"/>
  331. </itemset>
  332. </choices>
  333. <script type="javascript" ev:event="xforms-value-changed">
  334. <![CDATA[
  335. model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_csrreqdeptcd.value);
  336. model.makeValue("/root/send/reqdata/useyn","Y");
  337. submit("TRRSS01212");
  338. cmb_deptcd.refresh();
  339. if(getNodesetCnt(model,"/root/init/csrdeptlist") == 1 ){
  340. model.setValue("/root/cond/reqdeptcd",model.getValue("/root/init/csrdeptlist/deptcd[1]"));
  341. }else{
  342. addComboItem( "cmb_deptcd", "전체", "", "above");
  343. model.setValue("/root/cond/reqdeptcd",model.getValue("/root/init/csrdeptlist/deptcd[1]"));
  344. }
  345. model.removeNodeset("/root/send/reqdata");
  346. fSerachData();
  347. ]]>
  348. </script>
  349. </select1>
  350. </group>
  351. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">멸균품목내역 조회</caption>
  352. </xhtml:body>
  353. </xhtml:html>