SMPIF72000_반송재청구장부(자보).xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507
  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. <send>
  10. <termflag>clamym</termflag>
  11. <fromdd/>
  12. <todd/>
  13. <insukind>00</insukind>
  14. <reteflag>1</reteflag>
  15. <ioflag>A</ioflag>
  16. <acptno/>
  17. <judgrid/>
  18. <endyn/>
  19. <ordfildcd/>
  20. <orddeptcd/>
  21. <patunitsrch1/>
  22. <patunitsrch2/>
  23. <insucmpymark/>
  24. </send>
  25. <main>
  26. <list01>
  27. <gridsendreclambookspec>
  28. <clamym/>
  29. <clamflag/>
  30. <clamdg/>
  31. <uncoym/>
  32. <ioflag/>
  33. <insucmpymark/>
  34. <docuseqno/>
  35. <pid/>
  36. <patnm/>
  37. <orddeptcd/>
  38. <judgrid/>
  39. <reteresn/>
  40. <reteresnrem/>
  41. <clamamt/>
  42. <reclamyn/>
  43. <abdresncd/>
  44. <abdresnmemo/>
  45. <sendamt/>
  46. <sendresncd/>
  47. <reclamym/>
  48. <reclamdg/>
  49. <rejudgrid/>
  50. <acptdd/>
  51. <clamamt/>
  52. <reclamyn/>
  53. <orgcutamt/>
  54. <rem/>
  55. </gridsendreclambookspec>
  56. </list01>
  57. </main>
  58. <init>
  59. <P0114list>
  60. <P0114>
  61. <cdid/>
  62. <cdnm/>
  63. </P0114>
  64. </P0114list>
  65. <P0425list>
  66. <P0425>
  67. <cdid/>
  68. <cdnm/>
  69. </P0425>
  70. </P0425list>
  71. <P0242list>
  72. <P0242>
  73. <cdid/>
  74. <cdnm/>
  75. </P0242>
  76. </P0242list>
  77. <U0001list>
  78. <U0001/>
  79. </U0001list>
  80. <P0121list>
  81. <P0121>
  82. <cdid/>
  83. <cdnm/>
  84. </P0121>
  85. </P0121list>
  86. </init>
  87. <hidden>
  88. <sppmc02500>
  89. <cond>
  90. <srchcond/>
  91. <pid/>
  92. <hngnm/>
  93. <rrgstno1/>
  94. <rrgstno2/>
  95. </cond>
  96. </sppmc02500>
  97. <hidbatchgrid>
  98. <ofidocno/>
  99. <ofidocarvdd/>
  100. </hidbatchgrid>
  101. </hidden>
  102. </root>
  103. </instance>
  104. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  105. <submission id="TRPIF72001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  106. <submission id="TXPIF72001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/result"/>
  107. <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
  108. <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/tmp"/>
  109. </model>
  110. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  112. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  113. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  114. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  115. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  116. <script type="javascript" ev:event="xforms-ready">
  117. <![CDATA[
  118. // 공통코드 Load작업
  119. submit("TRPIF70305");
  120. zbcfGetCodeList(new Array("P0114"), new Array( "/root/init/P0114list")); // 청구과
  121. zbcfGetCodeList(new Array("P0242"), new Array( "/root/init/P0242list")); // 사유
  122. zbcfGetCodeList(new Array("U0001"), new Array( "/root/init/U0001list")); // 손보사명
  123. zbcfGetCodeList(new Array("P0121"), new Array( "/root/init/P0121list")); // 반송사유
  124. submit("TRPID20201"); // 심사자, 진료과
  125. model.removeNodeset("root/init/judgrid");
  126. model.makeNode("root/init/judgrid");
  127. model.copyNode("root/init/judgrid", "root/init/tmp/judgrid");
  128. model.removeNodeset("root/init/tmp/judgrid");
  129. model.removeNodeset("root/init/orddeptcd");
  130. model.makeNode("root/init/orddeptcd");
  131. model.copyNode("root/init/orddeptcd", "root/init/tmp/orddeptcd");
  132. model.removeNodeset("root/init/tmp/orddeptcd");
  133. model.refresh();
  134. // grd_sendreclambookspec.colHidden(13) = true; // 주민번호 필드 감추기(주민보류와 자격보류인 경우만 보임)
  135. // grd_sendreclambookspec.colHidden(20) = true; // 심사보류 상세사유 감추기(심사보류인 경우만 보임)
  136. // grd_sendreclambookspec.colHidden(21) = true; // 심사보류 상세설명 감추기(심사보류인 경우만 보임)
  137. model.setFocus("ipt_fromdd");
  138. ]]>
  139. </script>
  140. <script type="javascript">
  141. <![CDATA[
  142. function fGetInAftJudgTrgtManList(){
  143. // 환자단위조회를 하는 경우
  144. var patunitsrch1 = model.getValue("/root/send/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
  145. model.setValue("/root/send/patunitsrch1", patunitsrch1);
  146. if (patunitsrch1 == "") {
  147. model.setValue("/root/send/patunitsrch2", "");
  148. }
  149. else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
  150. model.setValue("/root/send/patunitsrch2", "pidSrch");
  151. } else { // 문자가 입력된 경우 환자이름으로 조회한다.
  152. if (patunitsrch1.length > 1) {
  153. model.setValue("/root/send/patunitsrch2", "nmSrch");
  154. } else {
  155. model.setValue("/root/send/patunitsrch2", "");
  156. model.refresh();
  157. messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
  158. return;
  159. }
  160. }
  161. }
  162. function fPatTypeSrch() {
  163. var ipt_pid = model.getValue("/root/send/patunitsrch1");
  164. if (ipt_pid) {
  165. if(ipt_pid.isNumber()) {
  166. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  167. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
  168. } else {
  169. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "2"); // 검색조건 : 환자명으로 설정
  170. model.setValue("/root/hidden/sppmc02500/cond/hngnm", ipt_pid);
  171. }
  172. } else {
  173. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  174. }
  175. modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
  176. // 환자단위조회 InputBox에 값을 입력후 팝업조회했을 때
  177. if (ipt_pid != "") {
  178. if(ipt_pid.isNumber()) {
  179. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  180. model.setValue("/root/send/patunitsrch1", srch_pid);
  181. } else {
  182. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  183. model.setValue("/root/send/patunitsrch1", srch_pid);
  184. }
  185. } else {
  186. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  187. model.setValue("/root/send/patunitsrch1", srch_pid);
  188. }
  189. model.refresh();
  190. fGetInAftJudgTrgtManList();
  191. }
  192. ]]>
  193. </script>
  194. </xhtml:head>
  195. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  196. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  197. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">반송재청구장부(자보)</caption>
  198. </group>
  199. <group id="grp_btn" scroll="auto" style="left:0px; top:752px; width:1195px; height:27px; "/>
  200. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:737px; ">
  201. <group id="group5" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  202. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  203. <button id="button1" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
  204. <caption>조회</caption>
  205. <script type="javascript" ev:event="onclick">
  206. <![CDATA[
  207. // 보험유형이 보험인 경우 보호에 해당하는 필드 감추기. 보험에 해당하는 필드 보이기.
  208. submit("TRPIF72001");
  209. model.refresh();
  210. ]]>
  211. </script>
  212. </button>
  213. <line id="line26" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:53px; border-color:#ffe4bb; border-left-style:solid; "/>
  214. <caption id="caption31" style="left:219px; top:7px; width:15px; height:15px; ">~</caption>
  215. <select1 id="rdo_termflag" ref="/root/send/termflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:10px; top:6px; width:115px; height:17px; border-style:none; ">
  216. <choices>
  217. <item>
  218. <label>청구월</label>
  219. <value>clamym</value>
  220. </item>
  221. <item>
  222. <label>미수월</label>
  223. <value>uncoym</value>
  224. </item>
  225. </choices>
  226. <script type="javascript" ev:event="xforms-select">
  227. <![CDATA[
  228. model.setValue("/root/send/fromdd","");
  229. model.setValue("/root/send/todd","");
  230. if(rdo_termflag.value == "clamym" || rdo_termflag.value == "uncoym") {
  231. ipt_fromdd.attribute("format") = "yyyy-mm";
  232. ipt_todd.attribute("format") = "yyyy-mm";
  233. ipt_fromdd.attribute("maxlength") = 6;
  234. ipt_todd.attribute("maxlength") = 6;
  235. ipt_fromdd.attribute("inputtype") = "date";
  236. ipt_todd.attribute("inputtype") = "date";
  237. } else {
  238. ipt_fromdd.attribute("format") = "";
  239. ipt_todd.attribute("format") = "";
  240. ipt_fromdd.attribute("maxlength") = 8;
  241. ipt_todd.attribute("maxlength") = 8;
  242. ipt_fromdd.attribute("inputtype") = "";
  243. ipt_todd.attribute("inputtype") = "";
  244. }
  245. model.setFocus("ipt_fromdd");
  246. model.refresh();
  247. ]]>
  248. </script>
  249. </select1>
  250. <caption id="caption67" class="search_name" style="left:575px; top:6px; width:90px; height:17px; ">내원유형 :</caption>
  251. <caption id="caption63" class="search_name" style="left:365px; top:6px; width:90px; height:17px; ">손보사명 :</caption>
  252. <caption id="caption22" class="search_name" style="left:810px; top:6px; width:90px; height:17px; ">완료여부 :</caption>
  253. <caption id="caption38" class="search_name" style="left:10px; top:35px; width:75px; height:17px; ">심사자 :</caption>
  254. <caption id="caption39" class="search_name" style="left:275px; top:35px; width:75px; height:17px; ">진료과 :</caption>
  255. <caption id="caption40" class="search_name" style="left:575px; top:35px; width:112px; height:17px; ">환자단위조회 :</caption>
  256. <select1 id="cmb_judgrid" ref="/root/send/judgrid" class="combo_search" appearance="minimal" style="left:90px; top:34px; width:90px; height:19px; ">
  257. <choices>
  258. <itemset nodeset="/root/init/judgrid/judgridlist">
  259. <label ref="nm"/>
  260. <value ref="cd"/>
  261. </itemset>
  262. </choices>
  263. </select1>
  264. <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:355px; top:34px; width:140px; height:19px; ">
  265. <choices>
  266. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  267. <label ref="nm"/>
  268. <value ref="cd"/>
  269. </itemset>
  270. </choices>
  271. </select1>
  272. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:130px; top:6px; width:85px; height:19px; ">
  273. <script type="javascript" ev:event="DOMFocusOut">
  274. <![CDATA[
  275. ipt_todd.value = ipt_fromdd.value;
  276. ]]>
  277. </script>
  278. </input>
  279. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:233px; top:6px; width:85px; height:19px; "/>
  280. <select1 id="rdo_ioflag" ref="/root/send/ioflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:665px; top:6px; width:135px; height:17px; border-style:none; ">
  281. <choices>
  282. <item>
  283. <label>전체</label>
  284. <value>A</value>
  285. </item>
  286. <item>
  287. <label>입원</label>
  288. <value>I</value>
  289. </item>
  290. <item>
  291. <label>외래</label>
  292. <value>O</value>
  293. </item>
  294. </choices>
  295. </select1>
  296. <select1 id="rdo_endyn" ref="/root/send/endyn" overflow="visible" appearance="full" cols="3" rows="1" style="left:900px; top:6px; width:145px; height:17px; border-style:none; ">
  297. <choices>
  298. <item>
  299. <label>전체</label>
  300. <value>A</value>
  301. </item>
  302. <item>
  303. <label>완료</label>
  304. <value>Y</value>
  305. </item>
  306. <item>
  307. <label>미완료</label>
  308. <value>N</value>
  309. </item>
  310. </choices>
  311. </select1>
  312. <input id="ipt_patunitsrch" ref="/root/send/patunitsrch1" class="input_search" inputtype="button" style="left:695px; top:34px; width:90px; height:19px; ">
  313. <hint>
  314. <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
  315. </hint>
  316. <script type="javascript" ev:event="onkeypress">
  317. <![CDATA[
  318. if (event.keyCode == "13") { // Enter 입력 시에
  319. if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
  320. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  321. fPatTypeSrch();
  322. // fGetInAftJudgTrgtManList();
  323. }
  324. }
  325. ]]>
  326. </script>
  327. <script type="javascript" ev:event="onbuttonclick">
  328. <![CDATA[
  329. fPatTypeSrch();
  330. ]]>
  331. </script>
  332. </input>
  333. <select1 id="combo1" ref="/root/send/insucmpymark" class="combo_search" appearance="minimal" style="left:455px; top:5px; width:90px; height:19px; ">
  334. <choices>
  335. <itemset nodeset="/root/init/U0001list/U0001">
  336. <label ref="nm"/>
  337. <value ref="cd"/>
  338. </itemset>
  339. </choices>
  340. </select1>
  341. </group>
  342. <button id="button26" class="btn2_letter2" visibility="hidden" style="left:1152px; top:74px; width:42px; height:19px; ">
  343. <caption>저장</caption>
  344. <script type="javascript" ev:event="onclick">
  345. <![CDATA[
  346. model.setValue("/root/main/list02/gridsendreclambookspec", grd_sendreclambookspec.getUpdateData());
  347. if(submit("TXPIF72001")) {
  348. submit("TRPIF72001");
  349. }
  350. ]]>
  351. </script>
  352. </button>
  353. <button id="button3" class="btn2_letter3" style="left:989px; top:75px; width:53px; height:19px; ">
  354. <caption>행카피</caption>
  355. <script type="javascript" ev:event="onclick">
  356. <![CDATA[
  357. grd_sendreclambookspec.attribute("selectionmode") = "byrow";
  358. ]]>
  359. </script>
  360. </button>
  361. <button id="button4" class="btn2_letter6" style="left:1043px; top:75px; width:86px; height:19px; ">
  362. <caption>Open Excel</caption>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. try {
  366. window.exec("excel");
  367. } catch(e) {
  368. alert(e);
  369. }
  370. ]]>
  371. </script>
  372. </button>
  373. <button id="button5" class="btn2_letter3" style="left:935px; top:75px; width:53px; height:19px; ">
  374. <caption>열카피</caption>
  375. <script type="javascript" ev:event="onclick">
  376. <![CDATA[
  377. grd_sendreclambookspec.attribute("selectionmode") = "bycol";
  378. ]]>
  379. </script>
  380. </button>
  381. <line id="line27" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
  382. <caption id="cap_title" class="tit_2" style="left:0px; top:80px; width:81px; height:13px; ">반송(전체)</caption>
  383. <datagrid id="grd_sendreclambookspec" nodeset="/root/main/list01/gridsendreclambookspec" class="datagrid2" caption="청구월^청구구분^청구&#xA;차수^미수월^내원&#xA;유형^손보사명^명일련^등록번호^수진자^진료과^심사자^사유^사유설명^청구액^재청구여부^부제기사유^부제기사유메모^보완청구액 - &#xA;원청구액^차액발생&#xA;사유^보왕청구&#xA;연월^청구&#xA;차수^보완&#xA;심사자^보완청구&#xA;일자^청구액^재반송&#xA;여부^자보실삭감액^비고^비고" colsep="^" colwidth="60, 88, 40, 60, 40, 125, 50, 75, 50, 85, 50, 157, 80, 80, 70, 70, 100, 101, 90, 80, 58, 68, 81, 109, 60, 80, 258" dataheight="23" defaultrows="2" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:100px; width:1195px; height:630px; ">
  384. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  385. <col ref="clamflag" type="combo" style="text-align:center; ">
  386. <choices>
  387. <itemset nodeset="/root/init/P0121list/P0121">
  388. <label ref="cdnm"/>
  389. <value ref="cdid"/>
  390. </itemset>
  391. </choices>
  392. </col>
  393. <col ref="clamdg" style="text-align:center; "/>
  394. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  395. <col ref="ioflag" type="combo" style="text-align:center; ">
  396. <choices>
  397. <item>
  398. <label>입원</label>
  399. <value>I</value>
  400. </item>
  401. <item>
  402. <label>외래</label>
  403. <value>O</value>
  404. </item>
  405. </choices>
  406. </col>
  407. <col ref="insucmpymark" type="combo" style="text-align:center; ">
  408. <choices>
  409. <itemset nodeset="/root/init/U0001list/U0001">
  410. <label ref="nm"/>
  411. <value ref="cd"/>
  412. </itemset>
  413. </choices>
  414. </col>
  415. <col ref="docuseqno" style="text-align:center; "/>
  416. <col ref="pid" style="text-align:center; "/>
  417. <col ref="patnm" style="text-align:center; "/>
  418. <col ref="orddeptcd" type="combo">
  419. <choices>
  420. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  421. <label ref="nm"/>
  422. <value ref="cd"/>
  423. </itemset>
  424. </choices>
  425. </col>
  426. <col ref="judgrid" type="combo" style="text-align:center; ">
  427. <choices>
  428. <itemset nodeset="/root/init/judgrid/judgridlist">
  429. <label ref="nm"/>
  430. <value ref="cd"/>
  431. </itemset>
  432. </choices>
  433. </col>
  434. <col ref="reteresn" type="combo" style="text-align:center; ">
  435. <choices>
  436. <itemset nodeset="/root/init/P0242list/P0242">
  437. <label ref="cdnm"/>
  438. <value ref="cdid"/>
  439. </itemset>
  440. </choices>
  441. </col>
  442. <col ref="reteresnrem" visibility="hidden"/>
  443. <col ref="clamamt" format="#,###" style="text-align:right; "/>
  444. <col ref="reclamyn" style="text-align:center; "/>
  445. <col ref="abdresncd" style="text-align:center; "/>
  446. <col ref="abdresnmemo" visibility="hidden"/>
  447. <col ref="sendamt" format="(-)#,###" style="text-align:right; "/>
  448. <col ref="sendresncd" visibility="hidden" style="text-align:center; "/>
  449. <col ref="reclamym" format="yyyy-mm" style="text-align:center; "/>
  450. <col ref="reclamdg" style="text-align:center; "/>
  451. <col ref="rejudgrid" style="text-align:center; "/>
  452. <col ref="acptdd" format="yyyy-mm-dd"/>
  453. <col ref="clamamt" format="#,###" style="text-align:right; "/>
  454. <col ref="reclamyn" style="text-align:center; "/>
  455. <col ref="orgcutamt" format="#,###" style="text-align:right; "/>
  456. <col ref="rem" type="input"/>
  457. <script type="javascript" ev:event="oncopy">
  458. <![CDATA[
  459. grid_oncopy();
  460. ]]>
  461. </script>
  462. </datagrid>
  463. <button id="button10" class="btn2_letter3" style="left:881px; top:75px; width:53px; height:19px; ">
  464. <caption>셀카피</caption>
  465. <script type="javascript" ev:event="onclick">
  466. <![CDATA[
  467. grd_sendreclambookspec.attribute("selectionmode") = "free";
  468. ]]>
  469. </script>
  470. </button>
  471. <button id="button12" class="btn2_letter4" style="left:1130px; top:74px; width:64px; height:19px; ">
  472. <caption>엑셀저장</caption>
  473. <script type="javascript" ev:event="onclick">
  474. <![CDATA[
  475. var today = new Date();
  476. var yy = today.getYear()+"";
  477. var mm = today.getMonth()+1;
  478. var dd = today.getDate();
  479. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  480. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  481. var tmp = yy+mm+dd;
  482. var title = "반송재청구장부(자보)_"+tmp;
  483. var fileName = window.fileDialog("save", ",", false, title, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  484. if (fileName != "") {
  485. grd_sendreclambookspec.saveExcel(fileName, "SheetName", true, true, "", "", "");
  486. }
  487. ]]>
  488. </script>
  489. </button>
  490. </group>
  491. </xhtml:body>
  492. </xhtml:html>