SMADB03100_특수조제실마스터.xrw 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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. <druglist>
  11. <item>
  12. <spcldrug/>
  13. <drugcd/>
  14. <ordnm/>
  15. <lblnm/>
  16. <lblgrup/>
  17. <lblprntyn/>
  18. <reconvol/>
  19. <reconunit/>
  20. <valitime/>
  21. <lblcnts1/>
  22. <keepmthd2/>
  23. <keepmthd/>
  24. <totvolexptyn/>
  25. <keeptime/>
  26. <lblcnt3/>
  27. </item>
  28. </druglist>
  29. </main>
  30. <send>
  31. <srchspcldrug>D</srchspcldrug>
  32. <srchmthdcd/>
  33. <req>
  34. <data1>
  35. </data1>
  36. </req>
  37. <srchbasemthdyn/>
  38. <srchbasecnt>-</srchbasecnt>
  39. </send>
  40. <init>
  41. <comboitem>
  42. <mthdkind>
  43. <A0017>
  44. <cdid/>
  45. <cdnm/>
  46. </A0017>
  47. </mthdkind>
  48. </comboitem>
  49. </init>
  50. <hidden>
  51. <count/>
  52. <item>
  53. <mthdkind/>
  54. <mthdflag/>
  55. <mthdcd/>
  56. <abbrnm/>
  57. <mthdcnts/>
  58. <cntpatt/>
  59. <basecnt/>
  60. <mealflag/>
  61. <outprntseq/>
  62. <lblprntyn/>
  63. <adminpath/>
  64. <drdirecyn/>
  65. </item>
  66. </hidden>
  67. </root>
  68. </instance>
  69. <submission id="TRZBC00101"/>
  70. <script type="javascript" ev:event="xforms-ready">
  71. <![CDATA[
  72. // 권한 관리
  73. button1.disabled =! checkAuth("X"); // 저장
  74. zbcfGetCodeList( new Array("A0017"), new Array("/root/init/comboitem/mthdkind") );
  75. model.refresh();
  76. //model.setValue("/root/send/srchmthdcd",model.getValue("/root/send/srchmthdcd")+"%");
  77. submit("TRADB03101");
  78. model.setValue("/root/send/srchmthdcd","");
  79. ]]>
  80. </script>
  81. <submission id="TRADB03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/druglist"/>
  82. <submission id="TXADB03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  83. </model>
  84. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  85. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  86. </xhtml:head>
  87. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  88. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  89. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">특수조제실 마스터</caption>
  90. </group>
  91. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  92. <group id="group2" style="left:0px; top:5px; width:1195px; height:43px; ">
  93. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  94. <line id="line13" class="line_4" style="x1:1080px; y1:10px; x2:1080px; y2:35px; border-color:#ffe4bb; border-left-style:solid; "/>
  95. <caption id="caption1" class="search_name" style="left:290px; top:13px; width:86px; height:17px; ">약품코드 :</caption>
  96. <caption id="caption3" class="search_name" style="left:15px; top:13px; width:86px; height:17px; ">약품종류 :</caption>
  97. <select1 id="cmb_srchmthdflag" ref="/root/send/srchspcldrug" class="combo_search" appearance="minimal" style="left:105px; top:13px; width:135px; height:19px; ">
  98. <choices>
  99. <item>
  100. <label>조제TPN</label>
  101. <value>T</value>
  102. </item>
  103. <item>
  104. <label>소아TPN</label>
  105. <value>B</value>
  106. </item>
  107. <item>
  108. <label>완제품TPN</label>
  109. <value>Q</value>
  110. </item>
  111. <item>
  112. <label>항암제(특조실)</label>
  113. <value>D</value>
  114. </item>
  115. <item>
  116. <label>무균조제(특조실)</label>
  117. <value>C</value>
  118. </item>
  119. <item>
  120. <label>면역억제제</label>
  121. <value>1</value>
  122. </item>
  123. </choices>
  124. <script type="javascript" ev:event="xforms-value-changed">
  125. <![CDATA[
  126. submit("TRADB03101");
  127. model.setValue("/root/send/srchmthdcd","");
  128. ]]>
  129. </script>
  130. </select1>
  131. <input id="ipt_srchmthdcd" ref="/root/send/srchmthdcd" class="input_search" maxlength="12" style="left:380px; top:13px; width:190px; height:19px; "/>
  132. <button id="btn_seamthd" class="btn1_letter2" style="left:1095px; top:10px; width:80px; height:22px; ">
  133. <caption>조회</caption>
  134. <script type="javascript" ev:event="DOMActivate">
  135. <![CDATA[
  136. //model.setValue("/root/send/srchmthdcd",model.getValue("/root/send/srchmthdcd")+"%");
  137. submit("TRADB03101");
  138. model.setValue("/root/send/srchmthdcd","");
  139. ]]>
  140. </script>
  141. </button>
  142. </group>
  143. <datagrid id="grd_mthdlist" nodeset="/root/main/druglist/item" backcoloralternate="#f0f0f0" caption="약품종류^약품코드^약품명^라벨명^라벨그룹^라벨출력^재구성농도^단위^유효기간^비고1^차광^보관1^총VOL제외^보관2시간^보관2|약품종류^약품코드^약품명^라벨명^라벨그룹^라벨출력^재구성농도^단위^유효기간^비고1^차광^보관1^총VOL제외^보관2시간^보관2" colsep="^" colwidth="92, 90, 260, 4, 66, 33, 46, 48, 31, 203, 37, 67, 68, 39, 71" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:76px; width:1193px; height:664px; ">
  144. <col ref="spcldrug" type="combo">
  145. <choices>
  146. <item>
  147. <label>조제TPN</label>
  148. <value>T</value>
  149. </item>
  150. <item>
  151. <label>소아TPN</label>
  152. <value>B</value>
  153. </item>
  154. <item>
  155. <label>완제품TPN</label>
  156. <value>Q</value>
  157. </item>
  158. <item>
  159. <label>항암제(특조실)</label>
  160. <value>D</value>
  161. </item>
  162. <item>
  163. <label>무균조제(특조실)</label>
  164. <value>C</value>
  165. </item>
  166. <item>
  167. <label>면역억제제</label>
  168. <value>1</value>
  169. </item>
  170. </choices>
  171. </col>
  172. <col ref="drugcd" maxlength="12"/>
  173. <col imemode="alpha" ref="ordnm"/>
  174. <col imemode="alpha" ref="lblnm" type="input" visibility="hidden" style="text-align:left; "/>
  175. <col autonext="false" ref="lblgrup" type="combo">
  176. <choices>
  177. <item>
  178. <label>항암제</label>
  179. <value>ID</value>
  180. </item>
  181. <item>
  182. <label>TPN</label>
  183. <value>IT</value>
  184. </item>
  185. <item>
  186. <label>소아TPN</label>
  187. <value>IB</value>
  188. </item>
  189. <item>
  190. <label>무균조제</label>
  191. <value>IC</value>
  192. </item>
  193. <item>
  194. <label>IVGV Mix</label>
  195. <value>IG</value>
  196. </item>
  197. <item>
  198. <label>면역억제제</label>
  199. <value>IN</value>
  200. </item>
  201. </choices>
  202. </col>
  203. <col autonext="false" checkvalue="Y,N" imemode="hangul" ref="lblprntyn" type="checkbox" style="text-align:left; "/>
  204. <col autonext="false" ref="reconvol" type="input" format="######.#####" maxlength="11" style="text-align:right; "/>
  205. <col autonext="false" ref="reconunit" type="input" maxlength="12"/>
  206. <col autonext="false" ref="valitime" type="input" format="99999" maxlength="5" style="text-align:right; "/>
  207. <col autonext="false" ref="lblcnts1" type="input" maxlength="80"/>
  208. <col checkvalue="1,0" ref="keepmthd2" type="checkbox"/>
  209. <col ref="keepmthd" type="combo">
  210. <choices>
  211. <item>
  212. <label>실온보관</label>
  213. <value>1</value>
  214. </item>
  215. <item>
  216. <label>냉장보관</label>
  217. <value>3</value>
  218. </item>
  219. <item>
  220. <label>냉장불가</label>
  221. <value>5</value>
  222. </item>
  223. </choices>
  224. </col>
  225. <col checkvalue="Y,N" ref="totvolexptyn" type="checkbox"/>
  226. <col autonext="false" ref="keeptime" type="input" format="99999" maxlength="5" style="text-align:right; "/>
  227. <col ref="lblcnts3" type="combo">
  228. <choices>
  229. <item>
  230. <label>실온보관</label>
  231. <value>1</value>
  232. </item>
  233. <item>
  234. <label>냉장보관</label>
  235. <value>3</value>
  236. </item>
  237. <item>
  238. <label>냉장불가</label>
  239. <value>5</value>
  240. </item>
  241. </choices>
  242. </col>
  243. </datagrid>
  244. </group>
  245. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  246. <button id="button1" class="btn4_letter2" style="left:1135px; top:5px; width:56px; height:22px; ">
  247. <caption>저장</caption>
  248. <script type="javascript" ev:event="DOMActivate">
  249. <![CDATA[
  250. model.refresh();
  251. model.setValue("/root/send/req/data1", grd_mthdlist.getUpdateData());
  252. model.refresh();
  253. submit("TXADB03101");
  254. submit("TRADB03101");
  255. ]]>
  256. </script>
  257. </button>
  258. </group>
  259. </xhtml:body>
  260. </xhtml:html>