SMAES06200_재료약사용현황.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAES06200.xrw
  4. * 설 명 : 재료/약 사용현황
  5. * 설 계 자 : 최예원
  6. * 작 성 자 : 최예원
  7. * 작 성 일 : 2011.02.11
  8. * 수정이력 : 2011.02.11 최예원 신규
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head tag="&quot;&quot;">
  14. <xhtml:title>재료/약 사용현황</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <execrcodelist>
  20. <execrcode>
  21. <sortno/>
  22. <basecd/>
  23. <basecdflagdesc/>
  24. <basecdcnts/>
  25. <basecdflag/>
  26. <basesuppdeptcd/>
  27. <seq/>
  28. </execrcode>
  29. </execrcodelist>
  30. <stuffmedilist>
  31. <item>
  32. <systkey3/>
  33. <systkey4/>
  34. <systkey5/>
  35. <cdnm/>
  36. <ordnm/>
  37. <inprcpcnt/>
  38. <outprcpcnt/>
  39. <totalprcpcnt/>
  40. </item>
  41. </stuffmedilist>
  42. </main>
  43. <send>
  44. <srch>
  45. <srchfromdd/>
  46. <srchtodd/>
  47. <suppdeptcd/>
  48. <srchexcuroomgrp/>
  49. <srchexecroom/>
  50. <srchpid/>
  51. <srchioflag/>
  52. <srchmenuflag/>
  53. <srchcalccd/>
  54. </srch>
  55. <globalinstance>
  56. <instance1/>
  57. </globalinstance>
  58. <basecd/>
  59. <basecdflag/>
  60. <instcd/>
  61. <selectallyn/>
  62. <prntnum/>
  63. <bolpart/>
  64. <bolindi/>
  65. <cnt1/>
  66. <cnt2/>
  67. <cnt3/>
  68. </send>
  69. <init>
  70. <baseinfo>
  71. <initinsukind/>
  72. <initprcpgenrflagcd/>
  73. <initexecprcpstatcd/>
  74. </baseinfo>
  75. <cmb_section/>
  76. </init>
  77. <hidden>
  78. <item>
  79. <count/>
  80. </item>
  81. <comcd/>
  82. </hidden>
  83. <temp>
  84. <templst/>
  85. <temp1/>
  86. </temp>
  87. </root>
  88. </instance>
  89. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  92. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  93. <script type="javascript" src="../../../ast/dentalcraftweb/js/dentalcraftcombolist.js"/>
  94. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  95. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  96. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  97. <script type="javascript" ev:event="xforms-ready">
  98. <![CDATA[
  99. fGetScreenInit();
  100. fGetComboInit();
  101. model.removeNodeset("/root/main/stuffmedilist/item");
  102. model.refresh();
  103. ]]>
  104. </script>
  105. <submission id="TRAVB00001"/>
  106. <submission id="TRAAA00001"/>
  107. <submission id="TRZBC00101"/>
  108. <!-- SECTION 정보 가져오기-->
  109. <submission id="TRAEF00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_section"/>
  110. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  111. <submission id="TRAEA05900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/partprcplst"/>
  112. <submission id="TXAEA01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/count"/>
  113. <submission id="TXAER01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  114. <submission id="TRAES06200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/stuffmedilist"/>
  115. <submission id="TXAES06200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/temp1"/>
  116. </model>
  117. <script type="javascript">
  118. <![CDATA[
  119. /**
  120. * 콤보 초기화
  121. */
  122. function fGetComboInit() {
  123. aezfSetSuppDeptcd();
  124. model.setValue("/root/send/srch/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  125. model.refresh();
  126. }
  127. /**
  128. * 화면 기본 초기화
  129. */
  130. function fGetScreenInit() {
  131. model.resetInstanceNode("/root/send");
  132. model.setValue("/root/send/srch/srchfromdd", getCurrentDate() );
  133. model.setValue("/root/send/srch/srchtodd", getCurrentDate() );
  134. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd") );
  135. model.refresh();
  136. }
  137. ]]>
  138. </script>
  139. </xhtml:head>
  140. <xhtml:body guideline="1,1217;2,885;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  141. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  142. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">재료/약 사용현황</caption>
  143. </group>
  144. <group id="grp_btn" style="left:0px; top:750px; width:1185px; height:27px; ">
  145. <button id="btn_prt" class="btn6_letter2" navindex="6" visibility="hidden" style="left:1px; top:3px; width:56px; height:22px; ">
  146. <caption>출력</caption>
  147. <script type="javascript" ev:event="DOMActivate">
  148. <![CDATA[
  149. ]]>
  150. </script>
  151. </button>
  152. </group>
  153. <group id="grp_main" scroll="auto" style="left:0px; top:15px; width:1190px; height:732px; ">
  154. <group id="grp_srch" style="left:0px; top:7px; width:1185px; height:35px; vertical-align:top; ">
  155. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1184px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  156. <line id="line16" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; "/>
  157. <button id="btn_select" class="btn1_letter2" navindex="5" style="left:1118px; top:7px; width:56px; height:22px; ">
  158. <caption>조회</caption>
  159. <script type="javascript" ev:event="DOMActivate">
  160. <![CDATA[
  161. model.resetInstanceNode("/root/main/stuffmedilist/item");
  162. submit("TRAES06200");
  163. model.refresh();
  164. ]]>
  165. </script>
  166. </button>
  167. <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" navindex="4" inputtype="date" style="left:282px; top:8px; width:100px; height:19px; "/>
  168. <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" navindex="3" inputtype="date" style="left:156px; top:8px; width:100px; height:19px; "/>
  169. <caption id="lbl_srchdd" class="search_name" style="left:395px; top:9px; width:86px; height:17px; ">구분 :</caption>
  170. <caption id="lbl_~" class="search_no_b" style="left:263px; top:10px; width:12px; height:17px; ">~</caption>
  171. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:150px; height:17px; ">재료/약 사용기간 :</caption>
  172. <select1 id="rdo_menuflag" ref="/root/send/srch/srchmenuflag" class="radio_search" appearance="full" cellspacing="3" cols="3" rows="1" overflow="visible" style="left:460px; top:10px; width:150px; height:20px; border-style:none; ">
  173. <choices>
  174. <item>
  175. <label>전체</label>
  176. <value/>
  177. </item>
  178. <item>
  179. <label>재료</label>
  180. <value>1</value>
  181. </item>
  182. <item>
  183. <label>약제</label>
  184. <value>4</value>
  185. </item>
  186. </choices>
  187. </select1>
  188. <caption id="caption1" class="search_name" style="left:625px; top:10px; width:86px; height:17px; ">수가코드 :</caption>
  189. <input id="input8" ref="/root/send/srch/srchcalccd" class="input_search" style="left:720px; top:8px; width:100px; height:19px; "/>
  190. </group>
  191. <caption id="caption45" class="tit_2" style="left:5px; top:55px; width:190px; height:13px; ">재료/약 사용현황 LIST</caption>
  192. <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1180px; y2:70px; "/>
  193. <datagrid id="grd_stuffmedilist" nodeset="/root/main/stuffmedilist/item" autoresize="true" caption="구분코드^구분^처방코드^수가코드^수가명^입원^외래^합계" colsep="^" colwidth="65, 70, 120, 120, 400, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1180px; height:650px; ">
  194. <col ref="systkey3" type="output" visibility="hidden"/>
  195. <col ref="cdnm" type="output" style="text-align:center; "/>
  196. <col ref="systkey4" type="output" style="text-align:left; padding-left:20; "/>
  197. <col ref="systkey5" type="output" style="padding-left:20; "/>
  198. <col ref="ordnm" type="output" style="text-align:left; padding-left:10; "/>
  199. <col ref="inprcpcnt" type="output" style="text-align:right; padding-right:20; "/>
  200. <col ref="outprcpcnt" type="output" style="text-align:right; padding-right:20; "/>
  201. <col ref="totalprcpcnt" type="output" style="text-align:right; padding-right:20; "/>
  202. <script type="javascript" ev:event="onaftersort">
  203. <![CDATA[
  204. grd_stuffmedilist.gridToInstance();
  205. ]]>
  206. </script>
  207. </datagrid>
  208. <button id="btn_excel1" class="btn2_letter2" style="left:1138px; top:48px; width:42px; height:19px; ">
  209. <caption>엑셀</caption>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. var filename = window.fileDialog("save", ",", false, "재료_약 사용현황 LIST", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  213. if (filename != "") {
  214. grd_stuffmedilist.saveExcel(filename, "grd_stuffmedilist", true, false, "", "", "");
  215. }
  216. ]]>
  217. </script>
  218. </button>
  219. <button id="button1" class="btn5_letter3" navindex="5" style="left:1082px; top:47px; width:53px; height:19px; ">
  220. <caption>재계산</caption>
  221. <script type="javascript" ev:event="DOMActivate">
  222. <![CDATA[
  223. if( model.getValue("/root/send/srch/srchfromdd") != ""){
  224. if(messageBox( ipt_srchfromdd.label + " 일을 재계산합니다. ", "Q003") == 6 ){
  225. if( submit("TXAES06200")){
  226. btn_select.dispatch("DOMActivate");
  227. }
  228. }
  229. }else{
  230. messageBox( "재료/약 사용기간 시작일자가", "E013" , "확인해주세요.");
  231. }
  232. ]]>
  233. </script>
  234. </button>
  235. </group>
  236. </xhtml:body>
  237. </xhtml:html>