SPRSD04500_통합코드생성리스트조회.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>SET 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <goodlist>
  11. <reqflag>1</reqflag>
  12. <proddrugsetflag/>
  13. <prcpflag>N</prcpflag>
  14. <prcpunit/>
  15. <prcpexchqty/>
  16. <deliveunit/>
  17. <exchqty/>
  18. <useyn>Y</useyn>
  19. <goodpos/>
  20. <goodpos1/>
  21. <goodpos2/>
  22. <deliveflag>N</deliveflag>
  23. <dump/>
  24. <dinfflag/>
  25. <lrgcd/>
  26. <mdlcd/>
  27. <smlcd/>
  28. <csrflag/>
  29. <csrrequnit/>
  30. <csrreqqty/>
  31. </goodlist>
  32. </main>
  33. <send>
  34. <instcd/>
  35. </send>
  36. <temp/>
  37. <init>
  38. <initflag/>
  39. <deptflag/>
  40. <deptref>
  41. <instcd/>
  42. </deptref>
  43. <mlist>
  44. <R0092>
  45. <cdid/>
  46. <cdnm/>
  47. </R0092>
  48. <R0032>
  49. <cdid/>
  50. <cdnm/>
  51. </R0032>
  52. <R0039>
  53. <cdid/>
  54. <cdnm/>
  55. </R0039>
  56. <R0111>
  57. <cdid/>
  58. <cdnm/>
  59. </R0111>
  60. </mlist>
  61. </init>
  62. </root>
  63. </instance>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. //화면 Control을 초기화한다
  67. // fCheckAuth();
  68. fInitialize();
  69. ]]>
  70. </script>
  71. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  72. <submission id="TRRSC05111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqlrgcd" resultref="/root/init/lrglist"/>
  73. <submission id="TRRSC05112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqlrgcd" resultref="/root/init/mdllist"/>
  74. <submission id="TRRSC05113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqlrgcd" resultref="/root/init/smllist"/>
  75. </model>
  76. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  79. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  80. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  81. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  82. <script type="javascript">
  83. <![CDATA[
  84. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  85. function fInitialize() {
  86. zbcfGetCodeList( new Array ( "R0092" //청구방법
  87. ,"R0032" //구매단위
  88. ,"R0039" //불출단위
  89. ,"R0111" //구매구분
  90. ,"R0093" //청구기간
  91. )
  92. , new Array ( "/root/init/mlist" //청구방법
  93. ,"/root/init/mlist" //구매단위
  94. ,"/root/init/mlist" //불출단위
  95. ,"/root/init/mlist" //구매구분
  96. ,"/root/init/mlist" //청구기간
  97. )
  98. );
  99. model.makeValue("/root/send/reqlrgcd/goodflag", "TM");
  100. model.makeValue("/root/send/reqlrgcd/useyn", "Y");
  101. submit("TRRSC05111");
  102. }
  103. function fCheckAuth() {
  104. btn_search.disabled = !checkAuth("R") ;
  105. btn_save.disabled = !checkAuth("X") ;
  106. }
  107. ]]>
  108. </script>
  109. </xhtml:head>
  110. <xhtml:body pagewidth="700" pageheight="230" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  111. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:686px; height:155px; ">
  112. <line id="line1" class="line_1" style="x1:5px; y1:26px; x2:685px; y2:26px; "/>
  113. <caption id="caption4" class="tit_2" style="left:10px; top:11px; width:126px; height:13px; ">물품기본정보 등록</caption>
  114. <button id="btn_comfirm" class="btn4_letter2" navindex="28" style="left:630px; top:130px; width:56px; height:22px; ">
  115. <caption>확인</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. model.copyNode(opener.root.main.popup, root.main.goodlist);
  119. window.close();
  120. ]]>
  121. </script>
  122. </button>
  123. <input id="ipt_goodpos1" ref="/root/main/goodlist/goodpos1" navindex="12" maxlength="2" style="left:106px; top:80px; width:30px; height:19px; "/>
  124. <caption id="caption42" class="cell_1" style="left:310px; top:103px; width:65px; height:23px; vertical-align:middle; ">불출구분</caption>
  125. <input id="ipt_goodpos2" ref="/root/main/goodlist/goodpos2" navindex="13" maxlength="2" style="left:139px; top:80px; width:33px; height:19px; "/>
  126. <select1 id="cmb_prcpunit" ref="/root/main/goodlist/prcpunit" navindex="17" appearance="minimal" style="left:206px; top:105px; width:65px; height:19px; ">
  127. <choices>
  128. <itemset nodeset="/root/init/mlist/R0032">
  129. <label ref="cdnm"/>
  130. <value ref="cdid"/>
  131. </itemset>
  132. </choices>
  133. </select1>
  134. <select1 id="cmb_deliveunit" ref="/root/main/goodlist/deliveunit" navindex="23" appearance="minimal" style="left:530px; top:106px; width:75px; height:19px; ">
  135. <choices>
  136. <itemset nodeset="/root/init/mlist/R0039">
  137. <label ref="cdnm"/>
  138. <value ref="cdid"/>
  139. </itemset>
  140. </choices>
  141. </select1>
  142. <select1 id="rdo_prcpflag" ref="/root/main/goodlist/prcpflag" navindex="16" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:73px; top:107px; width:72px; height:13px; border-style:none; ">
  143. <choices>
  144. <item>
  145. <label>Y</label>
  146. <value>Y</value>
  147. </item>
  148. <item>
  149. <label>N</label>
  150. <value>N</value>
  151. </item>
  152. </choices>
  153. </select1>
  154. <select1 id="rdo_reqflag" ref="/root/main/goodlist/reqflag" navindex="1" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:530px; top:34px; width:132px; height:15px; border-style:none; ">
  155. <choices>
  156. <item>
  157. <label>비품</label>
  158. <value>1</value>
  159. </item>
  160. <item>
  161. <label>소모품</label>
  162. <value>2</value>
  163. </item>
  164. </choices>
  165. </select1>
  166. <select1 id="rdo_deliveflag" ref="/root/main/goodlist/deliveflag" navindex="22" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:378px; top:107px; width:72px; height:13px; border-style:none; ">
  167. <choices>
  168. <item>
  169. <label>Y</label>
  170. <value>Y</value>
  171. </item>
  172. <item>
  173. <label>N</label>
  174. <value>N</value>
  175. </item>
  176. </choices>
  177. </select1>
  178. <select1 id="rdo_proddrugsetflag" ref="/root/main/goodlist/proddrugsetflag" navindex="2" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:273px; top:59px; width:160px; height:13px; border-style:none; ">
  179. <choices>
  180. <item>
  181. <label>Set</label>
  182. <value>1</value>
  183. </item>
  184. <item>
  185. <label>Single</label>
  186. <value>2</value>
  187. </item>
  188. <item>
  189. <label>린넨</label>
  190. <value>3</value>
  191. </item>
  192. </choices>
  193. </select1>
  194. <input id="ipt_goodpos" ref="/root/main/goodlist/goodpos" navindex="11" imemode="alpha" maxlength="1" style="left:73px; top:80px; width:30px; height:19px; text-align:center; "/>
  195. <select1 id="rdo_useyn" ref="/root/main/goodlist/useyn" navindex="10" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:73px; top:58px; width:125px; height:13px; border-style:none; ">
  196. <choices>
  197. <item>
  198. <label>사용</label>
  199. <value>Y</value>
  200. </item>
  201. <item>
  202. <label>미사용</label>
  203. <value>N</value>
  204. </item>
  205. </choices>
  206. </select1>
  207. <line id="line2" class="line_2" style="x1:5px; y1:53px; x2:685px; y2:53px; "/>
  208. <line id="line3" class="line_2" style="x1:5px; y1:77px; x2:685px; y2:77px; "/>
  209. <line id="line4" class="line_2" style="x1:5px; y1:101px; x2:685px; y2:101px; "/>
  210. <caption id="caption40" class="cell_1" style="left:5px; top:55px; width:65px; height:23px; vertical-align:middle; ">사용여부</caption>
  211. <caption id="caption54" class="cell_1" style="left:5px; top:79px; width:65px; height:23px; vertical-align:middle; ">물품위치</caption>
  212. <caption id="caption48" class="cell_1" style="left:5px; top:103px; width:65px; height:23px; vertical-align:middle; ">처방구분</caption>
  213. <line id="line7" class="line_3" style="x1:5px; y1:126px; x2:685px; y2:126px; "/>
  214. <input id="ipt_prcpexchqtyy" ref="/root/main/goodlist/prcpexchqty" navindex="18" maxlength="12" format="###.##" style="left:274px; top:105px; width:33px; height:19px; ">
  215. <script type="javascript" ev:event="onkeydown">
  216. <![CDATA[
  217. if(event.keyCode == 9)model.setFocus("ipt_goodnm");
  218. //event.preventDefault();
  219. ]]>
  220. </script>
  221. </input>
  222. <input id="ipt_exchqty" ref="/root/main/goodlist/exchqty" navindex="24" maxlength="12" format="###.##" style="left:608px; top:106px; width:33px; height:19px; ">
  223. <script type="javascript" ev:event="onkeydown">
  224. <![CDATA[
  225. if(event.keyCode == 9)model.setFocus("ipt_goodnm");
  226. //event.preventDefault();
  227. ]]>
  228. </script>
  229. </input>
  230. <caption id="caption1" class="cell_1" style="left:462px; top:55px; width:65px; height:23px; vertical-align:middle; ">멸균구분</caption>
  231. <select1 id="rdo_dinfflag" ref="/root/main/goodlist/dinfflag" navindex="1" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:530px; top:59px; width:132px; height:15px; border-style:none; ">
  232. <choices>
  233. <item>
  234. <label>멸균</label>
  235. <value>1</value>
  236. </item>
  237. <item>
  238. <label>비멸균</label>
  239. <value>2</value>
  240. </item>
  241. </choices>
  242. </select1>
  243. <caption id="caption2" class="cell_1" style="left:5px; top:31px; width:65px; height:23px; vertical-align:middle; ">분류구분</caption>
  244. <caption id="caption45" style="left:167px; top:33px; width:15px; height:20px; ">/</caption>
  245. <select1 id="cmb_smlcd" ref="/root/main/goodlist/smlcd" appearance="minimal" style="left:286px; top:32px; width:90px; height:19px; ">
  246. <choices>
  247. <itemset nodeset="/root/init/smllist">
  248. <label ref="smlnm"/>
  249. <value ref="smlcd"/>
  250. </itemset>
  251. </choices>
  252. </select1>
  253. <caption id="caption3" style="left:274px; top:33px; width:15px; height:20px; ">/</caption>
  254. <select1 id="cmb_lrgcd" ref="/root/main/goodlist/lrgcd" appearance="minimal" style="left:73px; top:32px; width:90px; height:19px; ">
  255. <choices>
  256. <itemset nodeset="/root/init/lrglist">
  257. <label ref="lrgnm"/>
  258. <value ref="lrgcd"/>
  259. </itemset>
  260. </choices>
  261. <script type="javascript" ev:event="xforms-value-changed">
  262. <![CDATA[
  263. model.makeValue("/root/send/reqlrgcd/goodflag", "TM");
  264. model.makeValue("/root/send/reqlrgcd/lrgcd", model.getValue(cmb_lrgcd.attribute("ref")));
  265. model.makeValue("/root/send/reqlrgcd/useyn", "Y");
  266. submit("TRRSC05112");
  267. ]]>
  268. </script>
  269. </select1>
  270. <select1 id="cmb_mdlcd" ref="/root/main/goodlist/mdlcd" appearance="minimal" style="left:181px; top:32px; width:90px; height:19px; ">
  271. <choices>
  272. <itemset nodeset="/root/init/mdllist">
  273. <label ref="mdlnm"/>
  274. <value ref="mdlcd"/>
  275. </itemset>
  276. </choices>
  277. </select1>
  278. <caption id="caption46" class="cell_1" style="left:462px; top:31px; width:65px; height:23px; vertical-align:middle; ">물품구분</caption>
  279. <select1 id="cmb_csrrequnit" ref="/root/main/goodlist/csrrequnit" disabled="true" appearance="minimal" style="left:530px; top:80px; width:75px; height:19px; ">
  280. <choices>
  281. <itemset nodeset="/root/init/mlist/R0039">
  282. <label ref="cdnm"/>
  283. <value ref="cdid"/>
  284. </itemset>
  285. </choices>
  286. </select1>
  287. <input id="ipt_csrreqqty" ref="/root/main/goodlist/csrreqqty" disabled="true" maxlength="12" format="###.##" style="left:608px; top:80px; width:34px; height:19px; ">
  288. <script type="javascript" ev:event="onkeydown">
  289. <![CDATA[
  290. if(event.keyCode == 9)model.setFocus("ipt_goodnm");
  291. //event.preventDefault();
  292. ]]>
  293. </script>
  294. </input>
  295. <select1 id="radio3" ref="/root/main/goodlist/csrflag" disabled="true" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:274px; top:85px; width:75px; height:13px; border-style:none; ">
  296. <choices>
  297. <item>
  298. <label>Y</label>
  299. <value>Y</value>
  300. </item>
  301. <item>
  302. <label>N</label>
  303. <value>N</value>
  304. </item>
  305. </choices>
  306. </select1>
  307. <caption id="caption55" class="cell_1" style="left:205px; top:55px; width:65px; height:23px; vertical-align:middle; ">Set 구분</caption>
  308. <caption id="caption6" class="cell_1" style="left:462px; top:80px; width:65px; height:23px; vertical-align:middle; ">청구단위</caption>
  309. <caption id="caption44" class="cell_1" style="left:462px; top:105px; width:65px; height:23px; vertical-align:middle; ">불출단위</caption>
  310. <caption id="caption49" class="cell_1" style="left:145px; top:103px; width:58px; height:23px; vertical-align:middle; ">처방단위</caption>
  311. <caption id="caption5" class="cell_1" style="left:205px; top:80px; width:65px; height:23px; vertical-align:middle; ">CSR청구</caption>
  312. <caption id="caption7" class="cell_1" style="left:145px; top:103px; width:58px; height:23px; vertical-align:middle; ">처방단위</caption>
  313. </group>
  314. </xhtml:body>
  315. </xhtml:html>