SPMNP01805_마취CART복사조회.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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. <![CDATA[]]>
  6. <xhtml:title>Cart복사 조회</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <MnphcagoLists>
  12. <mnphcagolist>
  13. <goodengnm/>
  14. <makernm/>
  15. <goodqty/>
  16. <ccrtno/>
  17. <cartgoodseq/>
  18. <instcd/>
  19. <goodcd/>
  20. <allsizespecid/>
  21. <payflagcd/>
  22. <goodcls/>
  23. <goodspec/>
  24. <goodmodel/>
  25. <deliveunit/>
  26. <fromdd/>
  27. <todd/>
  28. <fcheck/>
  29. <recstat/>
  30. <custnm/>
  31. <useflag/>
  32. <goodflag/>
  33. <prcpclscd/>
  34. <drugmthdspccd/>
  35. <stocqty/>
  36. <acmlbaseqty/>
  37. <reqmthd/>
  38. <purcflag/>
  39. <calculyn/>
  40. <calcscorcd/>
  41. <insuyn/>
  42. </mnphcagolist>
  43. </MnphcagoLists>
  44. <MnpmcartList>
  45. <orddeptcd>
  46. <codelist>
  47. <datacd/>
  48. <datanm/>
  49. <ucnt/>
  50. <ncnt/>
  51. <tcnt/>
  52. </codelist>
  53. </orddeptcd>
  54. <perfid>
  55. <codelist>
  56. <datacd/>
  57. <datanm/>
  58. <ucnt/>
  59. <ncnt/>
  60. <tcnt/>
  61. </codelist>
  62. </perfid>
  63. <ccrtno>
  64. <codelist>
  65. <datacd/>
  66. <datanm/>
  67. <ucnt/>
  68. <ncnt/>
  69. <tcnt/>
  70. </codelist>
  71. </ccrtno>
  72. </MnpmcartList>
  73. </main>
  74. <init>
  75. <Wk1802>
  76. <cond>
  77. <ccrtno/>
  78. <useflag>A</useflag>
  79. <qryflag>1</qryflag>
  80. <useyn/>
  81. <orddeptcd/>
  82. <insukind/>
  83. <payflagcd/>
  84. </cond>
  85. </Wk1802>
  86. <hardcodeinfo/>
  87. </init>
  88. <hidden>
  89. <cartgubn/>
  90. </hidden>
  91. </root>
  92. </instance>
  93. <script type="javascript" ev:event="xforms-ready">
  94. <![CDATA[
  95. fInit();
  96. ]]>
  97. </script>
  98. <submission id="TRMNP01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/Wk1802/codelists"/>
  99. <submission id="TRMNP01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/Wk1802/MnphcagoLists"/>
  100. <submission id="TRMNP04903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/hardcodeinfo"/>
  101. </model>
  102. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  105. <script type="javascript" src="../../../emr/opanstweb/js/SPMNP01805.js"/>
  106. </xhtml:head>
  107. <xhtml:body pagewidth="1155" pageheight="620" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  108. <group id="grp_cartmain" scroll="auto" style="left:0px; top:0px; width:1135px; height:616px; ">
  109. <group id="group2" style="left:0px; top:0px; width:362px; height:615px; ">
  110. <caption id="caption2" class="tit_2" style="left:10px; top:10px; width:100px; height:14px; vertical-align:middle; ">마취의</caption>
  111. <datagrid id="grd_perfid" nodeset="/root/main/MnpmcartList/perfid/codelist" caption="사번^이름^사용" colsep="^" colwidth="100, 170, 60, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:5px; top:30px; width:355px; height:230px; ">
  112. <col ref="datacd" style="text-align:center; "/>
  113. <col ref="datanm" style="text-align:center; "/>
  114. <col ref="ncnt" style="text-align:right; "/>
  115. <col ref="ucnt" visibility="hidden"/>
  116. <col ref="tcnt" visibility="hidden"/>
  117. <script type="javascript" ev:event="onclick">
  118. <![CDATA[
  119. if (isDataCell()){
  120. fRemoveNode(2);
  121. fRemoveNode(3);
  122. model.setValue("/root/init/Wk1802/cond/qryflag", "3" );
  123. fMnpmcartData_Read( 2, grd_ccrtno,"/root/init/Wk1802/cond/orddeptcd"
  124. ,"/root/main/MnpmcartList/perfid/codelist["+grd_perfid.row+ "]/datacd");
  125. }
  126. ]]>
  127. </script>
  128. <script type="javascript" ev:event="onaftersort">
  129. <![CDATA[
  130. grd_perfid.gridToInstance();
  131. ]]>
  132. </script>
  133. </datagrid>
  134. <select id="chk_useyn" ref="/root/init/Wk1802/cond/useyn" overflow="visible" appearance="full" style="left:80px; top:9px; width:135px; height:13px; border-style:none; ">
  135. <choices>
  136. <item>
  137. <label>사용중인 처방만 보기</label>
  138. <value>Y</value>
  139. </item>
  140. </choices>
  141. <script type="javascript" ev:event="onclick">
  142. <![CDATA[
  143. fRemoveNode(1);
  144. fRemoveNode(2);
  145. fRemoveNode(3);
  146. model.setValue("/root/init/Wk1802/cond/qryflag", "2" );
  147. fMnpmcartData_Read( 1, grd_perfid,"/root/init/Wk1802/cond/orddeptcd");
  148. ]]>
  149. </script>
  150. </select>
  151. <line id="line3" class="line_1" style="x1:5px; y1:25px; x2:360px; y2:25px; "/>
  152. <line id="line4" class="line_1" style="x1:5px; y1:262px; x2:360px; y2:262px; "/>
  153. <datagrid id="grd_ccrtno" nodeset="/root/main/MnpmcartList/ccrtno/codelist" caption="Cart코드^마취명^사용" colsep="^" colwidth="85, 200, 45, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:5px; top:267px; width:355px; height:348px; ">
  154. <col ref="datacd"/>
  155. <col ref="datanm"/>
  156. <col ref="tcnt" style="text-align:right; "/>
  157. <col ref="ucnt"/>
  158. <col ref="ncnt"/>
  159. <script type="javascript" ev:event="onclick">
  160. <![CDATA[
  161. if (isDataCell()){
  162. fRemoveNode(3);
  163. model.makeValue("/root/init/Wk1802/cond/ccrtno", model.getValue("/root/main/MnpmcartList/ccrtno/codelist["+grd_ccrtno.row+ "]/datacd"));
  164. fMnphcagoRead(0, grd_good, model.getValue("/root/init/Wk1802/cond/ccrtno"), "" );
  165. }
  166. ]]>
  167. </script>
  168. <script type="javascript" ev:event="onaftersort">
  169. <![CDATA[
  170. grd_ccrtno.gridToInstance();
  171. ]]>
  172. </script>
  173. </datagrid>
  174. </group>
  175. <datagrid id="grd_good" nodeset="/root/main/MnphcagoLists/mnphcagolist" autoresize="true" caption="^물품^SUB^산정^물품명^규격^모델^제조원^단위^급여^수량^CaseCart 번호^Cart물품순번^기관코드^물품구분^불출단위^물품등록일자^물품종료일자^체크^기록상태^거래처명^사용구분^물품구분^처방구분^Drug용법코드^재고량^기준누적수량^청구구분^구매구분^산정여부^수가코드^수가대상여부" colsep="^" colwidth="19, 80, 35, 0, 225, 100, 90, 90, 50, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:365px; top:30px; width:770px; height:585px; ">
  176. <col ref="fcheck" type="checkbox"/>
  177. <col ref="goodcd"/>
  178. <col ref="allsizespecid" style="text-align:center; "/>
  179. <col ref="calculyn" style="text-align:center; "/>
  180. <col ref="goodengnm"/>
  181. <col ref="goodspec"/>
  182. <col ref="goodmodel"/>
  183. <col ref="makernm"/>
  184. <col ref="prcpunit"/>
  185. <col disabled="true" ref="payflagcd" type="combo">
  186. <choices>
  187. <item>
  188. <label>급여</label>
  189. <value>0</value>
  190. </item>
  191. <item>
  192. <label>본인부담</label>
  193. <value>1</value>
  194. </item>
  195. <item>
  196. <label>일반</label>
  197. <value>2</value>
  198. </item>
  199. </choices>
  200. </col>
  201. <col ref="goodqty" style="text-align:right; "/>
  202. <col ref="ccrtno" visibility="hidden"/>
  203. <col ref="cartgoodseq" visibility="hidden"/>
  204. <col ref="instcd" visibility="hidden"/>
  205. <col ref="goodcls" visibility="hidden"/>
  206. <col ref="deliveunit" visibility="hidden"/>
  207. <col ref="fromdd" visibility="hidden"/>
  208. <col ref="todd" visibility="hidden"/>
  209. <col ref="fcheck" visibility="hidden"/>
  210. <col ref="recstat" visibility="hidden"/>
  211. <col ref="custnm" visibility="hidden"/>
  212. <col ref="useflag" visibility="hidden"/>
  213. <col ref="goodflag" visibility="hidden"/>
  214. <col ref="prcpclscd" visibility="hidden"/>
  215. <col ref="drugmthdspccd" visibility="hidden"/>
  216. <col ref="stocqty" visibility="hidden"/>
  217. <col ref="acmlbaseqty" visibility="hidden"/>
  218. <col ref="reqmthd" visibility="hidden"/>
  219. <col ref="purcflag" visibility="hidden"/>
  220. <col ref="calcscorcd" visibility="hidden"/>
  221. <col ref="insuyn" visibility="hidden"/>
  222. <script type="javascript" ev:event="onaftersort">
  223. <![CDATA[
  224. grd_good.gridToInstance();
  225. ]]>
  226. </script>
  227. </datagrid>
  228. <button id="bbt_append2" class="btn2_letter2" style="left:1091px; top:4px; width:42px; height:19px; ">
  229. <caption>추가</caption>
  230. <script type="javascript" ev:event="DOMActivate">
  231. <![CDATA[
  232. ////fCopyGood("C", 0);
  233. fCopyGood();
  234. ]]>
  235. </script>
  236. </button>
  237. <line id="line6" class="line_1" style="x1:365px; y1:25px; x2:1135px; y2:25px; "/>
  238. <button id="button12" class="btn2_letter4" style="left:1023px; top:4px; width:64px; height:19px; ">
  239. <caption>엑셀저장</caption>
  240. <script type="javascript" ev:event="DOMActivate">
  241. <![CDATA[
  242. fileName = window.fileDialog("save", ",", false, "Cart복사물품리스트_"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  243. if (fileName != "" && fileName != null) {
  244. grd_good.saveExcel(fileName, "SheetName", true, true, "", "", false);
  245. }
  246. ]]>
  247. </script>
  248. </button>
  249. </group>
  250. </xhtml:body>
  251. </xhtml:html>