SMPAC00100_보험유형별세부내역서.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>보험 유형별 세부 내역서</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <medilist>
  11. <mediinfo>
  12. <ioflag/>
  13. <pid/>
  14. <hngnm/>
  15. <indd/>
  16. <cretno/>
  17. <execfromdd/>
  18. <exectodd/>
  19. <insukind/>
  20. <insukindnm/>
  21. <suppkind/>
  22. <suppkindnm/>
  23. </mediinfo>
  24. </medilist>
  25. <detllist>
  26. <suminfo>
  27. <hngnm/>
  28. <hometel/>
  29. <mpphontel/>
  30. <rrgstno/>
  31. <agsx/>
  32. <licnsno/>
  33. <proccorpcd/>
  34. <orddeptnm/>
  35. <orddrnm/>
  36. <pid/>
  37. <indd/>
  38. <dschdd/>
  39. <orddeptcd/>
  40. <orddrid/>
  41. <totamt/>
  42. <payamt/>
  43. <nopyamt/>
  44. <allownbamt/>
  45. <specamt/>
  46. <ownbamt/>
  47. <insubamt/>
  48. <discamt/>
  49. <paydiscamt/>
  50. <nopydiscamt/>
  51. <specdiscamt/>
  52. <hospaddamt/>
  53. <ioflag/>
  54. <execfromdd/>
  55. <exectodd/>
  56. <insukindnm/>
  57. <suppkindnm/>
  58. <logoimgurl/>
  59. </suminfo>
  60. <calcinfo>
  61. <earncls/>
  62. <calcscorcd/>
  63. <calcscornm/>
  64. <edicd/>
  65. <calcpayflag/>
  66. <calcqty/>
  67. <calctims/>
  68. <calcdays/>
  69. <appunitcost/>
  70. <calcamt/>
  71. <hospaddamt/>
  72. <payownbrate/>
  73. <payamt/>
  74. <payownbamt/>
  75. <payinsubamt/>
  76. <paydiscamt/>
  77. <allownbamt/>
  78. <allownownbamt/>
  79. <allowninsubamt/>
  80. <nopyamt/>
  81. <nopyownbamt/>
  82. <nopyinsubamt/>
  83. <nopydiscamt/>
  84. <specamt/>
  85. <specownbamt/>
  86. <specinsubamt/>
  87. <specdiscamt/>
  88. <limitdiffamt/>
  89. <ageflag/>
  90. <nightflag/>
  91. <holprcpflag/>
  92. <matractflag/>
  93. <erprcpflag/>
  94. <specordyn/>
  95. <hosoutexptresncd/>
  96. </calcinfo>
  97. </detllist>
  98. </main>
  99. <send>
  100. <fromdd/>
  101. <todd/>
  102. <pid/>
  103. <ioflag/>
  104. <indd/>
  105. <cretno/>
  106. <insukind/>
  107. <suppkind/>
  108. <execfromdd/>
  109. <exectodd/>
  110. </send>
  111. <hidden>
  112. <dispinfo>
  113. <cap1/>
  114. <val1/>
  115. <cap2/>
  116. <val2/>
  117. <cap3/>
  118. <val3/>
  119. <cap4/>
  120. <val4/>
  121. </dispinfo>
  122. </hidden>
  123. <report>
  124. <prtinfo>
  125. <instcd/>
  126. <fromdd/>
  127. <todd/>
  128. <prtdt/>
  129. </prtinfo>
  130. </report>
  131. </root>
  132. </instance>
  133. <submission id="TRPAC05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/medilist/mediinfo"/>
  134. <submission id="TRPAC05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detllist"/>
  135. </model>
  136. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  137. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  138. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  139. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  140. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  141. <script type="javascript">
  142. <![CDATA[
  143. function fSetDispGrid() {
  144. var path = "/root/hidden/dispinfo";
  145. model.makeValue(path + "[" + 1 + "]/cap1", "등록번호");
  146. model.makeValue(path + "[" + 2 + "]/cap1", "이름");
  147. model.makeValue(path + "[" + 3 + "]/cap1", "집전화");
  148. model.makeValue(path + "[" + 4 + "]/cap1", "휴대전화");
  149. model.makeValue(path + "[" + 5 + "]/cap1", "주민번호");
  150. model.makeValue(path + "[" + 6 + "]/cap1", "나이/성별");
  151. model.makeValue(path + "[" + 1 + "]/val1", model.getValue("/root/main/detllist/suminfo/pid"));
  152. model.makeValue(path + "[" + 2 + "]/val1", model.getValue("/root/main/detllist/suminfo/hngnm"));
  153. model.makeValue(path + "[" + 3 + "]/val1", model.getValue("/root/main/detllist/suminfo/hometel"));
  154. model.makeValue(path + "[" + 4 + "]/val1", model.getValue("/root/main/detllist/suminfo/mpphontel"));
  155. model.makeValue(path + "[" + 5 + "]/val1", model.getValue("/root/main/detllist/suminfo/rrgstno"));
  156. model.makeValue(path + "[" + 6 + "]/val1", model.getValue("/root/main/detllist/suminfo/agsx"));
  157. model.makeValue(path + "[" + 1 + "]/cap2", "기관기호");
  158. model.makeValue(path + "[" + 2 + "]/cap2", "진료과");
  159. model.makeValue(path + "[" + 3 + "]/cap2", "진료의사");
  160. model.makeValue(path + "[" + 4 + "]/cap2", "면허번호");
  161. model.makeValue(path + "[" + 5 + "]/cap2", "입원/진료일");
  162. model.makeValue(path + "[" + 6 + "]/cap2", "퇴원일");
  163. model.makeValue(path + "[" + 1 + "]/val2", model.getValue("/root/main/detllist/suminfo/proccorpcd"));
  164. model.makeValue(path + "[" + 2 + "]/val2", model.getValue("/root/main/detllist/suminfo/orddeptnm"));
  165. model.makeValue(path + "[" + 3 + "]/val2", model.getValue("/root/main/detllist/suminfo/orddrnm"));
  166. model.makeValue(path + "[" + 4 + "]/val2", model.getValue("/root/main/detllist/suminfo/licnsno"));
  167. model.makeValue(path + "[" + 5 + "]/val2", model.getValue("/root/main/detllist/suminfo/indd"));
  168. model.makeValue(path + "[" + 6 + "]/val2", model.getValue("/root/main/detllist/suminfo/dschdd"));
  169. model.makeValue(path + "[" + 1 + "]/cap3", "총진료비");
  170. model.makeValue(path + "[" + 2 + "]/cap3", "급여");
  171. model.makeValue(path + "[" + 3 + "]/cap3", "비급여");
  172. model.makeValue(path + "[" + 4 + "]/cap3", "전액본인부담");
  173. model.makeValue(path + "[" + 5 + "]/cap3", "선택진료");
  174. model.makeValue(path + "[" + 6 + "]/cap3", "병원가산");
  175. model.makeValue(path + "[" + 1 + "]/val3", model.getValue("/root/main/detllist/suminfo/totamt"));
  176. model.makeValue(path + "[" + 2 + "]/val3", model.getValue("/root/main/detllist/suminfo/payamt"));
  177. model.makeValue(path + "[" + 3 + "]/val3", model.getValue("/root/main/detllist/suminfo/nopyamt"));
  178. model.makeValue(path + "[" + 4 + "]/val3", model.getValue("/root/main/detllist/suminfo/allownbamt"));
  179. model.makeValue(path + "[" + 5 + "]/val3", model.getValue("/root/main/detllist/suminfo/specamt"));
  180. model.makeValue(path + "[" + 6 + "]/val3", model.getValue("/root/main/detllist/suminfo/hospaddamt"));
  181. model.makeValue(path + "[" + 1 + "]/cap4", "급여감면");
  182. model.makeValue(path + "[" + 2 + "]/cap4", "비급여감면");
  183. model.makeValue(path + "[" + 3 + "]/cap4", "선택진료감면");
  184. model.makeValue(path + "[" + 4 + "]/cap4", "감면합계");
  185. model.makeValue(path + "[" + 5 + "]/cap4", "공단부담합계");
  186. model.makeValue(path + "[" + 6 + "]/cap4", "본인부담합계");
  187. model.makeValue(path + "[" + 1 + "]/val4", model.getValue("/root/main/detllist/suminfo/paydiscamt"));
  188. model.makeValue(path + "[" + 2 + "]/val4", model.getValue("/root/main/detllist/suminfo/nopydiscamt"));
  189. model.makeValue(path + "[" + 3 + "]/val4", model.getValue("/root/main/detllist/suminfo/specdiscamt"));
  190. model.makeValue(path + "[" + 4 + "]/val4", model.getValue("/root/main/detllist/suminfo/discamt"));
  191. model.makeValue(path + "[" + 5 + "]/val4", model.getValue("/root/main/detllist/suminfo/insubamt"));
  192. model.makeValue(path + "[" + 6 + "]/val4", model.getValue("/root/main/detllist/suminfo/ownbamt"));
  193. grd_disp.refresh();
  194. }
  195. ]]>
  196. </script>
  197. <script type="javascript" ev:event="xforms-ready">
  198. <![CDATA[
  199. var fromdd = getCurrentDate().toDate().getAddDate(-1, "Y").getDateFormat();
  200. //model.setValue("/root/send/fromdd", fromdd);
  201. model.setValue("/root/send/fromdd", getCurrentDate());
  202. model.setValue("/root/send/todd", getCurrentDate());
  203. ipt_fromdd.refresh();
  204. ipt_todd.refresh();
  205. grd_medi.rowHeightMin = 23;
  206. grd_calc.rowHeightMin = 23;
  207. fSetDispGrid();
  208. grd_disp.cellFormat(4, 3) = "yyyy-mm-dd";
  209. grd_disp.cellFormat(5, 3) = "yyyy-mm-dd";
  210. for (var i = 0; i < 6; i++) {
  211. grd_disp.cellFormat(i, 5) = "(-)#,###";
  212. grd_disp.cellFormat(i, 7) = "(-)#,###";
  213. grd_disp.cellStyle("text-align", i, 5) = "right";
  214. grd_disp.cellStyle("text-align", i, 7) = "right";
  215. grd_disp.cellStyle("padding-right", i, 5) = "1";
  216. grd_disp.cellStyle("padding-right", i, 7) = "1";
  217. }
  218. ]]>
  219. </script>
  220. </xhtml:head>
  221. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  222. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">보험 유형별 세부 내역서</caption>
  223. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:20px; width:1195px; height:40px; "/>
  224. <caption id="caption35" class="search_name" style="left:5px; top:31px; width:91px; height:17px; ">실시 일자 :</caption>
  225. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" style="left:102px; top:30px; width:90px; height:19px; "/>
  226. <caption id="caption4" style="left:194px; top:34px; width:15px; height:15px; text-align:center; ">~</caption>
  227. <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" style="left:210px; top:30px; width:90px; height:19px; "/>
  228. <caption id="caption1" class="search_name" style="left:340px; top:32px; width:91px; height:17px; ">등록번호 :</caption>
  229. <input id="ipt_pid" ref="/root/send/pid" class="input_search" navindex="3" style="left:433px; top:30px; width:70px; height:19px; font-weight:bold; ">
  230. <script type="javascript" ev:event="onkeyup">
  231. <![CDATA[
  232. if(event.keyCode == "13") {
  233. inputEnterKey("btn_search", "DOMActivate");
  234. }
  235. ]]>
  236. </script>
  237. </input>
  238. <line id="line14" class="line_4" style="x1:1110px; y1:28px; x2:1110px; y2:53px; font-family:돋움체; border-color:#ffd799; "/>
  239. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1125px; top:29px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  240. <caption>조회</caption>
  241. <script type="javascript" ev:event="DOMActivate">
  242. <![CDATA[
  243. var dd = getDateInterval(model.getValue("/root/send/fromdd"), model.getValue("/root/send/todd"), "mm");
  244. if (dd > 12) {
  245. messageBox("1년 이상은 조회할 수 없습니다.", "E999");
  246. return;
  247. }
  248. if (getUserId() != "PAM" && model.getValue("/root/send/pid") == "") {
  249. messageBox("등록번호를 입력해 주십시오.", "E999");
  250. return;
  251. }
  252. if (model.getValue("/root/send/pid") == "" && model.getValue("/root/send/fromdd") != model.getValue("/root/send/todd")) {
  253. messageBox("일자별 내역 조회는 하루만 가능합니다.", "E999");
  254. return;
  255. }
  256. model.resetInstanceNode("/root/main/detllist/suminfo");
  257. model.resetInstanceNode("/root/main/detllist/calcinfo");
  258. grd_calc.refresh();
  259. fSetDispGrid();
  260. submit("TRPAC05001");
  261. ]]>
  262. </script>
  263. </button>
  264. <caption id="caption77" class="tit_2" style="left:0px; top:70px; width:85px; height:14px; ">진료 내역</caption>
  265. <line id="line_comp" class="line_1" style="x1:0px; y1:85px; x2:550px; y2:85px; "/>
  266. <datagrid id="grd_medi" nodeset="/root/main/medilist/mediinfo" caption="구분^등록번호^환자명^입원/진료일^실시시작일^실시종료일^보험유형^보조유형" colsep="^" colwidth="35, 55, 55, 75, 70, 70, 70, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:90px; width:550px; height:140px; ">
  267. <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
  268. <choices>
  269. <item>
  270. <label>입원</label>
  271. <value>I</value>
  272. </item>
  273. <item>
  274. <label>외래</label>
  275. <value>O</value>
  276. </item>
  277. </choices>
  278. </col>
  279. <col ref="pid" style="text-align:center; "/>
  280. <col ref="hngnm" style="text-align:center; "/>
  281. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  282. <col ref="execfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  283. <col ref="exectodd" format="yyyy-mm-dd" style="text-align:center; "/>
  284. <col ref="insukindnm"/>
  285. <col ref="suppkindnm"/>
  286. <script type="javascript" ev:event="ondblclick">
  287. <![CDATA[
  288. var path = "/root/main/medilist/mediinfo[" + grd_medi.row + "]/";
  289. model.setValue("/root/send/pid", model.getValue(path + "pid"));
  290. model.setValue("/root/send/ioflag", model.getValue(path + "ioflag"));
  291. model.setValue("/root/send/indd", model.getValue(path + "indd"));
  292. model.setValue("/root/send/cretno", model.getValue(path + "cretno"));
  293. model.setValue("/root/send/insukind", model.getValue(path + "insukind"));
  294. model.setValue("/root/send/suppkind", model.getValue(path + "suppkind"));
  295. model.setValue("/root/send/execfromdd", model.getValue(path + "execfromdd"));
  296. model.setValue("/root/send/exectodd", model.getValue(path + "exectodd"));
  297. grd_calc.rebuildStyle();
  298. submit("TRPAC05002");
  299. fSetDispGrid();
  300. var cnt = instance1.selectNodes("/root/main/detllist/calcinfo").length;
  301. //grd_calc.colStyle(0, "all", "background-color") = "#ffffd7";
  302. for (var i = 1; i <= cnt; i++) {
  303. var cd = model.getValue("/root/main/detllist/calcinfo[" + i + "]/calcscornm");
  304. if (cd == "소계") {
  305. grd_calc.rowStyle(i, "all", "background-color") = "#ffffd7";
  306. } else if (cd == "합계") {
  307. //grd_calc.rowStyle(i, "all", "font-weight") = "bold";
  308. grd_calc.rowStyle(i, "all", "background-color") = "#ffffa0";
  309. }
  310. }
  311. ]]>
  312. </script>
  313. </datagrid>
  314. <caption id="caption3" class="tit_2" style="left:555px; top:70px; width:123px; height:13px; ">진료 및 수납 정보</caption>
  315. <line id="line2" class="line_1" style="x1:555px; y1:85px; x2:1195px; y2:85px; "/>
  316. <datagrid id="grd_disp" nodeset="/root/hidden/dispinfo" disabled="true" backcoloralternate="transparent" colsep="^" colwidth="70,95,75,95,80,71,80,72" mergecellsfixedrows="bycolrec" rowheight="0" rowsep="|" selectionmode="free" style="left:555px; top:90px; width:640px; height:139px; border-right-width:0; border-bottom-width:0; ">
  317. <col ref="cap1" style="background-color:#cce8ff; "/>
  318. <col ref="val1"/>
  319. <col ref="cap2" style="background-color:#cce8ff; "/>
  320. <col ref="val2"/>
  321. <col ref="cap3" style="background-color:#cce8ff; "/>
  322. <col ref="val3"/>
  323. <col ref="cap4" style="background-color:#cce8ff; "/>
  324. <col ref="val4"/>
  325. </datagrid>
  326. <caption id="caption2" class="tit_2" style="left:0px; top:240px; width:85px; height:14px; ">실시 내역</caption>
  327. <line id="line1" class="line_1" style="x1:0px; y1:255px; x2:1195px; y2:255px; "/>
  328. <datagrid id="grd_calc" nodeset="/root/main/detllist/calcinfo" autoresize="true" backcoloralternate="transparent" caption="수익구분^수가코드^수가명^EDI코드^급여^수량^횟수^일수^단가^계산금액^병원가산액^급여^전액본인부담^비급여^선택진료^상한차액^나이가산^야간가산^공휴가산^기술가산^응급가산^지정가산" colsep="^" colwidth="90, 80, 320, 80, 40, 50, 50, 50, 80, 80, 80, 80, 80, 80, 80, 80, 55, 55, 55, 55, 55, 55" frozencols="3" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:260px; width:1195px; height:520px; ">
  329. <col ref="earncls" style="text-align:center; background-color:#ffffd7; "/>
  330. <col ref="calcscorcd" style="text-align:center; "/>
  331. <col ref="calcscornm"/>
  332. <col ref="edicd" style="text-align:center; "/>
  333. <col ref="calcpayflag" style="text-align:center; "/>
  334. <col ref="calcqty" style="text-align:center; "/>
  335. <col ref="calctims" style="text-align:center; "/>
  336. <col ref="calcdays" style="text-align:center; "/>
  337. <col ref="appunitcost" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  338. <col ref="calcamt" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  339. <col ref="hospaddamt" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  340. <col ref="payamt" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  341. <col ref="allownbamt" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  342. <col ref="nopyamt" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  343. <col ref="specamt" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  344. <col ref="limitdiffamt" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  345. <col ref="ageflag" style="text-align:center; "/>
  346. <col ref="nightflag" style="text-align:center; "/>
  347. <col ref="holprcpflag" style="text-align:center; "/>
  348. <col ref="matractflag" style="text-align:center; "/>
  349. <col ref="erprcpflag" style="text-align:center; "/>
  350. <col ref="specordyn" style="text-align:center; "/>
  351. </datagrid>
  352. <button id="btn_prt" class="btn2_letter2" style="left:1110px; top:235px; width:42px; height:19px; ">
  353. <caption>출력</caption>
  354. <script type="javascript" ev:event="DOMActivate">
  355. <![CDATA[
  356. if (instance1.selectNodes("/root/main/detllist/calcinfo[calcscorcd!='']").length < 1) {
  357. messageBox("계산 내역이 없습니다.", "E999");
  358. return;
  359. }
  360. model.makeValue("/root/main/detllist/suminfo/ioflag", model.getValue("/root/main/medilist/mediinfo[" + grd_medi.row + "]/ioflag"));
  361. model.makeValue("/root/main/detllist/suminfo/execfromdd", model.getValue("/root/main/medilist/mediinfo[" + grd_medi.row + "]/execfromdd"));
  362. model.makeValue("/root/main/detllist/suminfo/exectodd", model.getValue("/root/main/medilist/mediinfo[" + grd_medi.row + "]/exectodd"));
  363. model.makeValue("/root/main/detllist/suminfo/insukindnm", model.getValue("/root/main/medilist/mediinfo[" + grd_medi.row + "]/insukindnm"));
  364. model.makeValue("/root/main/detllist/suminfo/suppkindnm", model.getValue("/root/main/medilist/mediinfo[" + grd_medi.row + "]/suppkindnm"));
  365. model.makevalue("/root/main/detllist/suminfo/logoimgurl", getLogoImageURL());
  366. exeReportPreview("RPPAC00100", "XMLSTR");
  367. ]]>
  368. </script>
  369. </button>
  370. <button id="btn_xls" class="btn2_letter2" style="left:1153px; top:235px; width:42px; height:19px; ">
  371. <caption>엑셀</caption>
  372. <script type="javascript" ev:event="DOMActivate">
  373. <![CDATA[
  374. if (instance1.selectNodes("/root/main/detllist/calcinfo[calcscorcd!='']").length < 1) {
  375. messageBox("계산 내역이 없습니다.", "E999");
  376. return;
  377. }
  378. var fromdd = model.getValue("/root/main/medilist/mediinfo[" + grd_medi.row + "]/execfromdd");
  379. var todd = model.getValue("/root/main/medilist/mediinfo[" + grd_medi.row + "]/exectodd");
  380. var days = fromdd + "-" + todd;
  381. var file = window.fileDialog("save", "", "false", "계산내역_" + model.getValue("/root/send/pid") + "_" + days, "xls", "Excel Files(*.xls)|*.xls");
  382. grd_calc.saveExcel(file, "sheetname:계산내역");
  383. messageBox("엑셀 저장이 완료되었습니다.", "I999");
  384. ]]>
  385. </script>
  386. </button>
  387. </xhtml:body>
  388. </xhtml:html>