SMRSC05304_통합물품기관적용내역조회.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  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. <list>
  11. <goodlists>
  12. <goodlist>
  13. <appinstdata/>
  14. </goodlist>
  15. </goodlists>
  16. <gooddet>
  17. <goodinstlist/>
  18. </gooddet>
  19. </list>
  20. <allsizelists>
  21. <allsizelist>
  22. </allsizelist>
  23. </allsizelists>
  24. </main>
  25. <send>
  26. <goodlist>
  27. <goodflag/>
  28. <goodnm/>
  29. <lrgcd/>
  30. <edicd/>
  31. <goodcd/>
  32. <mdlcd/>
  33. <spec/>
  34. <prodcmpy/>
  35. <smlcd/>
  36. <model/>
  37. <prodcmpynm/>
  38. <instflag/>
  39. <oldcd/>
  40. <filecls>S</filecls>
  41. <instcd/>
  42. <fr_fromdd/>
  43. <to_fromdd/>
  44. </goodlist>
  45. <gooddetlist>
  46. <goodcd/>
  47. <fromdd/>
  48. <useyn/>
  49. </gooddetlist>
  50. <allsizelist>
  51. <instcd/>
  52. <goodcd/>
  53. <instflag>1</instflag>
  54. </allsizelist>
  55. </send>
  56. <init>
  57. <comcd>
  58. <Z00071>
  59. <Z00071>
  60. <cdid>
  61. <![CDATA[001]]>
  62. </cdid>
  63. <cdnm>
  64. <![CDATA[가톨릭중앙의료원]]>
  65. </cdnm>
  66. <dispseq>
  67. <![CDATA[1]]>
  68. </dispseq>
  69. <cdsid>
  70. <![CDATA[Z0007001]]>
  71. </cdsid>
  72. <cdgrupid>
  73. <![CDATA[Z0007]]>
  74. </cdgrupid>
  75. <detldesc>
  76. <![CDATA[가톨릭중앙의료원]]>
  77. </detldesc>
  78. <cdval/>
  79. <minval/>
  80. <maxval/>
  81. <minopercd/>
  82. <maxopercd/>
  83. <cdengabbrnm/>
  84. <valifromdd>
  85. <![CDATA[20060916]]>
  86. </valifromdd>
  87. <valitodd>
  88. <![CDATA[29991231]]>
  89. </valitodd>
  90. </Z00071>
  91. </Z00071>
  92. </comcd>
  93. </init>
  94. <hidden/>
  95. <temp/>
  96. </root>
  97. </instance>
  98. <script type="javascript" ev:event="xforms-ready">
  99. <![CDATA[
  100. //화면 Control을 초기화한다
  101. fInstInitForm();
  102. ]]>
  103. </script>
  104. <submission id="TRRSC05308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/gooddet"/>
  105. <submission id="TRRSC05309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/goodlists"/>
  106. <submission id="TRRSC00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/allsizelist" resultref="/root/main/allsizelists"/>
  107. </model>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  111. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  112. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  113. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  114. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  115. <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC05302.js"/>
  116. <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC05304.js"/>
  117. </xhtml:head>
  118. <xhtml:body guideline="1,701;1,689;">
  119. <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:740px; ">
  120. <line id="line7" class="line_1" style="x1:0px; y1:120px; x2:694px; y2:120px; "/>
  121. <caption id="caption1" class="tit_2" visibility="visible" style="left:705px; top:104px; width:153px; height:13px; ">통합물품목상세정보</caption>
  122. <datagrid id="grd_goodlist" nodeset="/root/main/list/goodlists/goodlist" caption="물품코드^물품구분^물품명^물품한글명^물품영문명^규격^모델^자산^제조회사^제조회사명^EDI코드^대분류^대분류명^중분류^중분류명^소분류^소분류명" colsep="^" colwidth="80, 0, 180, 0, 0, 100, 80, 0, 0, 90, 0, 0, 66, 0, 80, 0, 80" dataheight="23" ellipsis="false" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:125px; width:694px; height:605px; ">
  123. <col ref="goodcd" type="output" _key="true"/>
  124. <col ref="goodflag" visibility="hidden" _key="true"/>
  125. <col ref="goodnm" type="output" _key="true"/>
  126. <col ref="goodhngnm" type="output" _key="true"/>
  127. <col ref="goodengnm" type="output"/>
  128. <col ref="goodspec" type="output"/>
  129. <col ref="goodmodel" type="output"/>
  130. <col ref="asetflag" type="output"/>
  131. <col ref="prodcmpycd" type="output"/>
  132. <col ref="prodcmpynm"/>
  133. <col ref="edicd"/>
  134. <col ref="lrgcd" type="output"/>
  135. <col ref="lrgnm"/>
  136. <col ref="mdlcd" type="output"/>
  137. <col ref="mdlnm"/>
  138. <col ref="smlcd" type="output"/>
  139. <col ref="smlnm"/>
  140. <col ref="cmt" visibility="hidden"/>
  141. <col ref="appinstdata" visibility="hidden"/>
  142. <script type="javascript" ev:event="onrowchanged">
  143. <![CDATA[
  144. fAppInstcdClear();
  145. ipt_appinstdata.value = grd_goodlist.valueMatrix(grd_goodlist.row, grd_goodlist.colRef("appinstdata"));
  146. fAppInstcdGridSet(ipt_appinstdata.value);
  147. if (grd_goodlist.valueMatrix(grd_goodlist.row, grd_goodlist.colRef("goodcd")) != "") {
  148. fInstRetrGoodList(true);
  149. }
  150. ]]>
  151. </script>
  152. <script type="javascript" ev:event="onaftersort">
  153. <![CDATA[
  154. grd_goodlist.gridToInstance();
  155. ]]>
  156. </script>
  157. <script type="javascript" ev:event="ondblclick">
  158. <![CDATA[
  159. grd_goodlist.dispatch("onrowchanged");
  160. ]]>
  161. </script>
  162. </datagrid>
  163. <group id="grp_title" style="left:0px; top:9px; width:1195px; height:87px; vertical-align:top; ">
  164. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:87px; "/>
  165. <caption id="caption88" class="search_name" style="left:465px; top:61px; width:82px; height:17px; ">EDI코드 :</caption>
  166. <caption id="caption89" class="search_name" style="left:464px; top:35px; width:86px; height:17px; ">물품코드 :</caption>
  167. <caption id="caption90" class="search_name" style="left:270px; top:9px; width:86px; height:17px; ">물품구분 :</caption>
  168. <caption id="caption91" class="search_name" style="left:830px; top:9px; width:83px; height:17px; ">대 분 류 :</caption>
  169. <caption id="caption92" class="search_name" style="left:464px; top:9px; width:83px; height:17px; ">물 품 명 :</caption>
  170. <caption id="caption94" class="search_name" style="left:830px; top:35px; width:83px; height:17px; ">중 분 류 :</caption>
  171. <caption id="caption95" class="search_name" style="left:10px; top:61px; width:88px; height:17px; ">제 조 원 :</caption>
  172. <caption id="caption96" class="search_name" style="left:830px; top:61px; width:83px; height:17px; ">소 분 류 :</caption>
  173. <line id="line36" class="line_4" style="x1:1109px; y1:11px; x2:1109px; y2:77px; "/>
  174. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1124px; top:32px; width:56px; height:22px; text-align:left; ">
  175. <caption>조회</caption>
  176. <script type="javascript" ev:event="DOMActivate">
  177. <![CDATA[
  178. if(fCheckRetrieveData() == false)return;
  179. fInstRetrGoodList(false);
  180. ]]>
  181. </script>
  182. </button>
  183. <select1 id="cmb_goodflag_search" ref="/root/send/goodlist/goodflag" class="combo_s_essential" appearance="minimal" editmode="search" style="left:360px; top:8px; width:95px; height:19px; ">
  184. <choices>
  185. <itemset nodeset="/root/init/goodflag">
  186. <label ref="cdnm"/>
  187. <value ref="cdid"/>
  188. </itemset>
  189. </choices>
  190. <script type="javascript" ev:event="xforms-value-changed">
  191. <![CDATA[
  192. misfGridInit(grd_goodlist);
  193. misfGridInit(grd_instinfo);
  194. model.resetInstanceNode("/root/main/goodlists/det/gooddetlist");
  195. //권한체크.
  196. //fSetGoodFlagAuth();
  197. // btn_save.disabled=true;
  198. rszfGetPurcGoodFlagAuthInfo(cmb_instcd_search.value , cmb_goodflag_search.value, getUserInfo("userid"), "%");
  199. // if (rszfGetGoodFlagAuthInfoByCond("goodflagauth") =="Y")
  200. // {
  201. // btn_save.disabled=false;
  202. // btn_sgsave.disabled=false;
  203. // }
  204. gGoodFlag = model.getValue(cmb_goodflag_search.attribute("ref"));
  205. //fCheckAuth();
  206. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "", "Y");
  207. //rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
  208. cmb_mdlcd_search.value='';
  209. cmb_smlcd_search.value='';
  210. model.refresh();
  211. ]]>
  212. </script>
  213. </select1>
  214. <input id="ipt_goodnm_search" ref="/root/send/goodlist/goodnm" class="input_search" style="left:554px; top:8px; width:261px; height:19px; ">
  215. <script type="javascript" ev:event="onkeydown">
  216. <![CDATA[
  217. if (event.keyCode == 13)
  218. {
  219. ipt_goodnm_search.value = ipt_goodnm_search.currentText;
  220. ipt_goodnm_search.refresh();
  221. btn_search.dispatch("DOMActivate");
  222. }
  223. ]]>
  224. </script>
  225. </input>
  226. <input id="ipt_edicd_search" ref="/root/send/goodlist/edicd" class="input_search" _chartype="upper" style="left:555px; top:60px; width:95px; height:19px; "/>
  227. <input id="ipt_goodcd_search" ref="/root/send/goodlist/goodcd" class="input_search" maxlength="12" _chartype="upper" style="left:554px; top:35px; width:96px; height:19px; ">
  228. <script type="javascript" ev:event="onkeydown">
  229. <![CDATA[
  230. if (event.keyCode == 13)
  231. {
  232. ipt_goodcd_search.value = ipt_goodcd_search.currentText;
  233. ipt_goodcd_search.refresh();
  234. btn_search.dispatch("DOMActivate");
  235. }
  236. ]]>
  237. </script>
  238. </input>
  239. <input id="ipt_prodcmpy_search" ref="/root/send/goodlist/prodcmpy" class="input_search" style="left:100px; top:60px; width:95px; height:19px; ">
  240. <script type="javascript" ev:event="xforms-value-changed">
  241. <![CDATA[
  242. if(ipt_prodcmpy_search.value != "")
  243. {
  244. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  245. "prodcmpycd," + model.getValue(ipt_prodcmpy_search.attribute("ref")) + "," ,
  246. "","prodcmpy,prodcmpynm" ,ipt_prodcmpy_search,"SPRSD00160","","");
  247. }else{
  248. ipt_prodcmpynm_search.value = "";
  249. }
  250. model.refresh();
  251. ]]>
  252. </script>
  253. </input>
  254. <button id="button6" class="icon_search" style="left:201px; top:62px; width:16px; height:16px; ">
  255. <caption/>
  256. <script type="javascript" ev:event="DOMActivate">
  257. <![CDATA[
  258. rszfOpenPopUpListByWndName(ipt_prodcmpy_search,"","prodcmpy,prodcmpynm","SPRSD00160","","");
  259. model.refresh();
  260. ]]>
  261. </script>
  262. </button>
  263. <input id="ipt_prodcmpynm_search" ref="/root/send/goodlist/prodcmpynm" class="input_search" style="left:229px; top:60px; width:226px; height:19px; ">
  264. <script type="javascript" ev:event="xforms-value-changed">
  265. <![CDATA[
  266. if(ipt_prodcmpynm_search.value != "")
  267. {
  268. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  269. "prodcmpynm,," + model.getValue(ipt_prodcmpynm_search.attribute("ref")) ,
  270. "","prodcmpy,prodcmpynm" ,ipt_prodcmpy_search,"SPRSD00160","","");
  271. }else{
  272. ipt_prodcmpy_search.value = "";
  273. }
  274. model.refresh();
  275. ]]>
  276. </script>
  277. </input>
  278. <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" appearance="minimal" style="left:920px; top:8px; width:171px; height:19px; ">
  279. <choices>
  280. <itemset>
  281. <label/>
  282. <value/>
  283. </itemset>
  284. </choices>
  285. <script type="javascript" ev:event="xforms-value-changed">
  286. <![CDATA[
  287. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "", "Y");
  288. cmb_mdlcd_search.dispatch("xforms-value-changed");
  289. model.refresh();
  290. ]]>
  291. </script>
  292. </select1>
  293. <select1 id="cmb_smlcd_search" ref="/root/send/goodlist/smlcd" appearance="minimal" style="left:920px; top:59px; width:171px; height:19px; ">
  294. <choices>
  295. <itemset>
  296. <label/>
  297. <value/>
  298. </itemset>
  299. </choices>
  300. </select1>
  301. <select1 id="cmb_mdlcd_search" ref="/root/send/goodlist/mdlcd" appearance="minimal" style="left:920px; top:35px; width:171px; height:19px; ">
  302. <choices>
  303. <itemset>
  304. <label/>
  305. <value/>
  306. </itemset>
  307. </choices>
  308. <script type="javascript" ev:event="xforms-value-changed">
  309. <![CDATA[
  310. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "", "Y");
  311. model.refresh();
  312. ]]>
  313. </script>
  314. </select1>
  315. <select1 id="cmb_instcd_search" ref="/root/send/goodlist/instcd" appearance="minimal" editmode="search" style="left:100px; top:8px; width:150px; height:19px; ">
  316. <choices>
  317. <itemset nodeset="/root/init/comcd/Z00071/Z00071">
  318. <label ref="cdnm"/>
  319. <value ref="cdid"/>
  320. </itemset>
  321. </choices>
  322. </select1>
  323. <caption id="cap_instcd_search" class="search_name" style="left:10px; top:9px; width:117px; height:17px; ">기관코드 :</caption>
  324. <input id="ipt_appdtfrom" ref="/root/send/goodlist/fr_fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:35px; width:150px; height:19px; text-align:center; "/>
  325. <input id="ipt_appdtto" ref="/root/send/goodlist/to_fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:272px; top:35px; width:150px; height:19px; text-align:center; "/>
  326. <caption id="caption7" class="search_name" style="left:10px; top:35px; width:86px; height:17px; ">적용일자 :</caption>
  327. <caption id="caption8" style="left:257px; top:37px; width:25px; height:17px; ">~</caption>
  328. </group>
  329. <button id="button1" class="btn_sw" group="tab" style="left:879px; top:128px; width:89px; height:22px; ">
  330. <caption>적용기관</caption>
  331. <toggle case="case3" ev:event="DOMActivate"/>
  332. </button>
  333. <button id="btn_allsizeinfo" class="btn_sw" group="tab" selected="true" style="left:700px; top:128px; width:90px; height:22px; ">
  334. <caption>AllSize정보</caption>
  335. <toggle case="case1" ev:event="DOMActivate"/>
  336. </button>
  337. <switch id="switch1" style="left:700px; top:149px; width:481px; height:581px; ">
  338. <case id="case1" selected="true">
  339. <datagrid id="grd_allsize" nodeset="/root/main/allsizelists/allsizelist" caption="물품코드^ID^규격^모델^단위^비고" colsep="^" colwidth="0, 37, 183, 80, 59, 91, 100, 100" dataheight="23" defaultrows="0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:0px; width:479px; height:579px; ">
  340. <col ref="goodcd" visibility="hidden"/>
  341. <col ref="allsizespecid" maxlength="4" style="text-align:center; "/>
  342. <col ref="goodspec" type="input"/>
  343. <col ref="goodmodel" type="input"/>
  344. <col id="goodunit" ref="goodunit" type="combo">
  345. <choices>
  346. <itemset>
  347. <label/>
  348. <value/>
  349. </itemset>
  350. </choices>
  351. </col>
  352. <col ref="cmt" type="input"/>
  353. <col ref="instflag" visibility="hidden"/>
  354. <col ref="instcd" visibility="hidden"/>
  355. <script type="javascript" ev:event="onaftersort">
  356. <![CDATA[
  357. grd_allsize.gridToInstance();
  358. ]]>
  359. </script>
  360. </datagrid>
  361. </case>
  362. <case id="case2">
  363. <datagrid id="grd_instinfo" nodeset="/root/main/list/gooddet/goodinstlist" caption="기관코드^기관명" colsep="^" colwidth="105, 347" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:479px; height:579px; ">
  364. <col ref="instcd"/>
  365. <col ref="instnm"/>
  366. </datagrid>
  367. </case>
  368. <case id="case3" style="left:0px; top:0px; width:479px; height:579px; ">
  369. <datagrid id="grd_applist" nodeset="/root/init/comcd/Z00070/Z00070" visibility="visible" caption="CHK^기관코드^기관명" colsep="^" colwidth="60, 72, 183" dataheight="23" defaultrows="0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:479px; height:579px; ">
  370. <col checkvalue="Y,N" ref="minval" type="checkbox"/>
  371. <col ref="cdid" style="text-align:center; "/>
  372. <col ref="cdnm"/>
  373. <script type="javascript" ev:event="onaftersort">
  374. <![CDATA[
  375. //grd_allsize.gridToInstance();
  376. ]]>
  377. </script>
  378. </datagrid>
  379. </case>
  380. </switch>
  381. <button id="btn_instcdinfo" class="btn_sw" group="tab" style="left:790px; top:128px; width:89px; height:22px; ">
  382. <caption>사용기관정보</caption>
  383. <toggle case="case2" ev:event="DOMActivate"/>
  384. </button>
  385. <input id="ipt_appinstdata" ref="/root/main/list/goodlists/goodlist/appinstdata" visibility="hidden" _chartype="upper" style="left:980px; top:125px; width:180px; height:19px; "/>
  386. <line id="line5" class="line_1" style="x1:703px; y1:120px; x2:1185px; y2:120px; "/>
  387. <caption id="caption2" class="tit_2" visibility="visible" style="left:5px; top:104px; width:172px; height:14px; ">통합 물품 기관 적용내역</caption>
  388. </group>
  389. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  390. <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:190px; height:13px; ">통합 물품 기관 적용내역</caption>
  391. </group>
  392. <group id="group4" visibility="visible" style="left:0px; top:12px; width:1195px; height:27px; ">
  393. <line id="line20" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  394. <button id="btn_clear" class="btn4_letter3" style="left:1112px; top:3px; width:68px; height:22px; ">
  395. <caption>초기화</caption>
  396. <script type="javascript" ev:event="DOMActivate">
  397. <![CDATA[
  398. fInstInitForm();
  399. ]]>
  400. </script>
  401. </button>
  402. <button id="btn_scrnmove" class="btn3_letter4" visibility="hidden" style="left:56px; top:3px; width:80px; height:22px; ">
  403. <caption>화면이동</caption>
  404. </button>
  405. <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  406. <caption>출력</caption>
  407. </button>
  408. </group>
  409. </xhtml:body>
  410. </xhtml:html>