SMPIF30900_과별진료비입금내역조회.xrw 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <termflag>clamym</termflag>
  11. <fromdd/>
  12. <todd/>
  13. <clamflag/>
  14. <ordfildcd/>
  15. <deptflag/>
  16. <dept/>
  17. <insukind>11</insukind>
  18. <ioflag>I</ioflag>
  19. <acptno/>
  20. <judgdg/>
  21. <depospecinclyn>Y</depospecinclyn>
  22. </send>
  23. <main>
  24. <list01>
  25. <griddepospecbydept>
  26. <uncoym/>
  27. <clamym/>
  28. <ioflag/>
  29. <acptno/>
  30. <judgdg/>
  31. <ordfildcd/>
  32. <clamdeptcd/>
  33. <clamflag/>
  34. <clamdg/>
  35. <clamcnt/>
  36. <clmcstotamt/>
  37. <clownbamt/>
  38. <clclamamt/>
  39. <clownbmaxexamt/>
  40. <clsuppamt/>
  41. <clclamamtsum/>
  42. <cutcnt/>
  43. <realcutamt/>
  44. <realcutrate/>
  45. <jradjtamtsum/>
  46. <deposcheamt/>
  47. <deportndd/>
  48. <depoamt/>
  49. <depoflag/>
  50. <rem/>
  51. <rrgstnoretecnt/>
  52. <rrgstnoretemcstotamt/>
  53. <rrgstnoreteamt/>
  54. <rrgstnoretehandicap/>
  55. <sendcnt/>
  56. <sendmcstotamt/>
  57. <sendamt/>
  58. <sendhandicap/>
  59. <judgretecnt/>
  60. <judgretemcstotamt/>
  61. <judgreteamt/>
  62. <judgretehandicap/>
  63. </griddepospecbydept>
  64. <griddepospecprocbydept>
  65. <uncoym/>
  66. <clamym/>
  67. <ioflag/>
  68. <acptno/>
  69. <judgdg/>
  70. <ordfildcd/>
  71. <clamdeptcd/>
  72. <clamflag/>
  73. <clamdg/>
  74. <clamcnt/>
  75. <clmcstotamt/>
  76. <clownbamt/>
  77. <clclamamt/>
  78. <clhandicaprfund/>
  79. <clsubtamt/>
  80. <clclamamtsum/>
  81. <cutcnt/>
  82. <realcutamt/>
  83. <realcutrate/>
  84. <jradjtamtsum/>
  85. <deposcheamt/>
  86. <deportndd/>
  87. <depoamt/>
  88. <depoflag/>
  89. <rem/>
  90. <pretecnt/>
  91. <pretemcstotamt/>
  92. <preteamt/>
  93. <sendcnt/>
  94. <sendmcstotamt/>
  95. <sendamt/>
  96. <judgretecnt/>
  97. <judgretemcstotamt/>
  98. <judgreteamt/>
  99. </griddepospecprocbydept>
  100. <griddepospeciaccbydept>
  101. <uncoym/>
  102. <clamym/>
  103. <ioflag/>
  104. <sumtypecd/>
  105. <acptno/>
  106. <judgdg/>
  107. <ordfildcd/>
  108. <clamdeptcd/>
  109. <clamflag/>
  110. <clamdg/>
  111. <clamcnt/>
  112. <clclamamt/>
  113. <cutcnt/>
  114. <realcutamt/>
  115. <realcutrate/>
  116. <jradjtamtsum/>
  117. <jrjudgdeciamt/>
  118. <deportndd/>
  119. <depoamt/>
  120. <depoflag/>
  121. <sendcnt/>
  122. <sendamt/>
  123. <judgretecnt/>
  124. <judgreteamt/>
  125. </griddepospeciaccbydept>
  126. <griddepospecautobydept>
  127. <uncoym/>
  128. <clamym/>
  129. <ioflag/>
  130. <ordfildcd/>
  131. <clamdeptcd/>
  132. <clamflag/>
  133. <clamdg/>
  134. <clamcnt/>
  135. <clclamamt/>
  136. <cutcnt/>
  137. <realcutamt/>
  138. <realcutrate/>
  139. <tddecicutamt/>
  140. <jrjudgdeciamt/>
  141. <deportndd/>
  142. <depoamt/>
  143. <depoflag/>
  144. <insucompnm/>
  145. <patnm/>
  146. <sendcnt/>
  147. <sendamt/>
  148. </griddepospecautobydept>
  149. </list01>
  150. </main>
  151. <init>
  152. <P0114list>
  153. <P0114>
  154. <cdid/>
  155. <cdnm/>
  156. </P0114>
  157. </P0114list>
  158. <P0155list>
  159. <P0155>
  160. <cdid/>
  161. <cdnm/>
  162. </P0155>
  163. </P0155list>
  164. <P0425list>
  165. <P0425>
  166. <cdid/>
  167. <cdnm/>
  168. </P0425>
  169. </P0425list>
  170. <U0001list>
  171. <U0001>
  172. <judgdg/>
  173. </U0001>
  174. </U0001list>
  175. <U0002list>
  176. <U0002>
  177. <cdid/>
  178. <cdnm/>
  179. </U0002>
  180. </U0002list>
  181. </init>
  182. </root>
  183. </instance>
  184. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  185. <submission id="TRPIF30901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  186. <submission id="TRPIF30902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0001list"/>
  187. <submission id="TRPIF30903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0002list"/>
  188. </model>
  189. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  190. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  191. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  192. <script type="javascript" ev:event="xforms-ready">
  193. <![CDATA[
  194. // 공통코드 Load작업
  195. zbcfGetCodeList(new Array("P0425"), new Array( "/root/init/P0425list")); // 진료분야 - 청구서
  196. zbcfGetCodeList(new Array("P0155"), new Array( "/root/init/P0155list")); // 청구구분
  197. model.setFocus("ipt_fromdd");
  198. ]]>
  199. </script>
  200. <script type="javascript">
  201. <![CDATA[
  202. // 셀 합치기 2010.01.14
  203. // 청구내역 1개당 입급내역이 다수이므로 동일한 청구내역은 셀 합치기 함.
  204. function fMergeCells() {
  205. var rows = 0;
  206. var forCnt = 0, fromCnt1 = 0, toCnt1 = 0;
  207. // 보험 보호 구분에 따른 로우 건수 및 입금예정액 컬럼 번호
  208. if ( rdo_insukind.value == "11" ) {
  209. rows = grd_depospecbydept.rows;
  210. forCnt = grd_depospecbydept.colRef("jrhandicaprfund");
  211. fromCnt1 = grd_depospecbydept.colRef("rrgstnoretecnt");
  212. toCnt1 = grd_depospecbydept.colRef("judgretehandicap");
  213. } else if(rdo_insukind.value == "21") {
  214. rows = datagrid1.rows;
  215. forCnt = datagrid1.colRef("jrhandicaprfund");
  216. fromCnt1 = datagrid1.colRef("pretecnt");
  217. toCnt1 = datagrid1.colRef("judgretehandicap");
  218. }
  219. var pre_clamym = "";
  220. var pre_acptno = "";
  221. var pre_judgdg = "";
  222. var pre_ordfildcd = "";
  223. var pre_clamdeptcd = "";
  224. var pre_clamflag = "";
  225. var clamym;
  226. var acptno;
  227. var judgdg;
  228. var ordfildcd;
  229. var clamdeptcd;
  230. var clamflag;
  231. for ( var i = 1 ; i < rows ; i++ ) {
  232. // 보험 보호에 따라 그리드 아이디가 바뀐다.
  233. if ( rdo_insukind.value == "11" ) {
  234. clamym = grd_depospecbydept.valueMatrix(i, grd_depospecbydept.colRef("clamym"));
  235. acptno = grd_depospecbydept.valueMatrix(i, grd_depospecbydept.colRef("acptno"));
  236. judgdg = grd_depospecbydept.valueMatrix(i, grd_depospecbydept.colRef("judgdg"));
  237. ordfildcd = grd_depospecbydept.valueMatrix(i, grd_depospecbydept.colRef("ordfildcd"));
  238. clamdeptcd = grd_depospecbydept.valueMatrix(i, grd_depospecbydept.colRef("clamdeptcd"));
  239. clamflag = grd_depospecbydept.valueMatrix(i, grd_depospecbydept.colRef("clamflag"));
  240. } else if(rdo_insukind.value == "21") {
  241. clamym = datagrid1.valueMatrix(i, datagrid1.colRef("clamym"));
  242. acptno = datagrid1.valueMatrix(i, datagrid1.colRef("acptno"));
  243. judgdg = datagrid1.valueMatrix(i, datagrid1.colRef("judgdg"));
  244. ordfildcd = datagrid1.valueMatrix(i, datagrid1.colRef("ordfildcd"));
  245. clamdeptcd = datagrid1.valueMatrix(i, datagrid1.colRef("clamdeptcd"));
  246. clamflag = datagrid1.valueMatrix(i, datagrid1.colRef("clamflag"));
  247. }
  248. if ( pre_clamym == clamym && pre_acptno == acptno && pre_judgdg == judgdg && pre_ordfildcd == ordfildcd && pre_clamdeptcd == clamdeptcd && pre_clamflag == clamflag) {
  249. if ( rdo_insukind.value == "11" ) {
  250. // 첫번째 컬럼 부터 입금예정액 컬럼 까지 합쳐요.
  251. for ( var k = 1 ; k <= forCnt ; k++ ) {
  252. grd_depospecbydept.mergeByFree(i - 1, k, i, k);
  253. }
  254. // 입금내역 이후 입금구분에 따라서 따로 보여줌 2010.05.10
  255. // for ( var k = fromCnt1 ; k <= toCnt1 ; k++ ) {
  256. // grd_depospecbydept.mergeByFree(i - 1, k, i, k);
  257. // }
  258. } else if(rdo_insukind.value == "21") {
  259. // 첫번째 컬럼 부터 입금예정액 컬럼 까지 합쳐요.
  260. for ( var k = 1 ; k <= forCnt ; k++ ) {
  261. datagrid1.mergeByFree(i - 1, k, i, k);
  262. }
  263. for ( var k = fromCnt1 ; k <= toCnt1 ; k++ ) {
  264. datagrid1.mergeByFree(i - 1, k, i, k);
  265. }
  266. }
  267. }
  268. pre_clamym = clamym;
  269. pre_acptno = acptno;
  270. pre_judgdg = judgdg;
  271. pre_ordfildcd = ordfildcd;
  272. pre_clamdeptcd = clamdeptcd;
  273. pre_clamflag = clamflag;
  274. }
  275. // 소계, 환수, 정산 환수 일 경우 색칠해요.
  276. initGridStyle("grd_depospecbydept");
  277. setRowStyle("grd_depospecbydept", "1", "[ 소 계 ]", "clamdeptcd", "equal");
  278. setRowStyle("grd_depospecbydept", "2", "[ 환 수 ]", "clamdeptcd", "equal");
  279. setRowStyle("grd_depospecbydept", "3", "[정산 환수]", "clamdeptcd", "equal");
  280. initGridStyle("datagrid1");
  281. setRowStyle("datagrid1", "1", "[ 소 계 ]", "clamdeptcd", "equal");
  282. setRowStyle("datagrid1", "2", "[ 환 수 ]", "clamdeptcd", "equal");
  283. setRowStyle("datagrid1", "3", "[정산 환수]", "clamdeptcd", "equal");
  284. }
  285. ]]>
  286. </script>
  287. </xhtml:head>
  288. <xhtml:body class="datagrid2" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  289. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  290. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:14px; ">과별 진료비 입금내역 조회</caption>
  291. </group>
  292. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  293. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  294. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  295. <button id="button1" class="btn1_letter2" style="left:1123px; top:6px; width:56px; height:22px; ">
  296. <caption>조회</caption>
  297. <script type="javascript" ev:event="onclick">
  298. <![CDATA[
  299. if( (ipt_fromdd.value == "" || ipt_todd.value == "") && ipt_acptno.value == "") {
  300. messageBox("시작일과 종료일/접수번호 는","I003");
  301. model.setFocus("ipt_fromdd");
  302. return false;
  303. }
  304. // 기간구분이 통보월이면 입금내역필드 무조건 보여줌.
  305. if(rdo_termflag.value == "notimm") {
  306. grd_depospecbydept.colHidden(grd_depospecbydept.colRef("deportndd")) = false;
  307. grd_depospecbydept.colHidden(grd_depospecbydept.colRef("depoamt")) = false;
  308. grd_depospecbydept.colHidden(grd_depospecbydept.colRef("depoflag")) = false;
  309. } else {
  310. // 기간구분이 청구월 또는 미수월인 경우 입금내역포함 체크박스가 체크돼 잇으면 입금내역필드 보여줌.
  311. if(ckb_depospecinclyn.value == "Y") {
  312. grd_depospecbydept.colHidden(grd_depospecbydept.colRef("deportndd")) = false;
  313. grd_depospecbydept.colHidden(grd_depospecbydept.colRef("depoamt")) = false;
  314. grd_depospecbydept.colHidden(grd_depospecbydept.colRef("depoflag")) = false;
  315. } else {
  316. grd_depospecbydept.colHidden(grd_depospecbydept.colRef("deportndd")) = true;
  317. grd_depospecbydept.colHidden(grd_depospecbydept.colRef("depoamt")) = true;
  318. grd_depospecbydept.colHidden(grd_depospecbydept.colRef("depoflag")) = true;
  319. }
  320. }
  321. if(rdo_insukind.value == "11") {
  322. btn_depospecbyinsu.selected = true;
  323. model.toggle("case1");
  324. button5.attribute("visibility") = "hidden";
  325. } else if(rdo_insukind.value == "21") {
  326. btn_depospecbyproc.selected = true;
  327. model.toggle("case2");
  328. button5.attribute("visibility") = "hidden";
  329. } else if(rdo_insukind.value == "41") {
  330. btn_depospecbyiacc.selected = true;
  331. button5.attribute("visibility") = "visible";
  332. model.toggle("case3");
  333. } else if(rdo_insukind.value == "31") {
  334. btn_depospecbyauto.selected = true;
  335. model.toggle("case4");
  336. button5.attribute("visibility") = "hidden";
  337. }
  338. submit("TRPIF30901");
  339. fMergeCells(); // 조회 후 셀 합치기
  340. ]]>
  341. </script>
  342. </button>
  343. <line id="line13" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; "/>
  344. <caption id="caption4" class="search_name" style="left:15px; top:35px; width:86px; height:17px; vertical-align:top; ">보험유형 :</caption>
  345. <select id="ckb_depospecinclyn" ref="/root/send/depospecinclyn" class="checkbox_search" overflow="visible" appearance="full" style="left:998px; top:36px; width:90px; height:15px; border-style:none; ">
  346. <choices>
  347. <item>
  348. <label>입금내역포함</label>
  349. <value>Y</value>
  350. </item>
  351. </choices>
  352. </select>
  353. <caption id="caption3" class="search_name" style="left:626px; top:8px; width:86px; height:17px; ">청구분야 :</caption>
  354. <caption id="caption1" class="search_name" style="left:406px; top:8px; width:86px; height:17px; ">청구구분 :</caption>
  355. <caption id="caption5" class="search_name" style="left:771px; top:35px; width:86px; height:17px; vertical-align:top; ">심사차수 :</caption>
  356. <select1 id="cmb_judgdg" ref="/root/send/judgdg" class="combo_search" appearance="minimal" style="left:860px; top:34px; width:100px; height:19px; ">
  357. <choices>
  358. <itemset nodeset="/root/init/U0001list/U0001">
  359. <label ref="judgdg"/>
  360. <value ref="judgdg"/>
  361. </itemset>
  362. </choices>
  363. </select1>
  364. <select1 id="cmb_clamflag" ref="/root/send/clamflag" class="combo_search" appearance="minimal" style="left:496px; top:7px; width:100px; height:19px; ">
  365. <choices>
  366. <itemset nodeset="/root/init/P0155list/P0155[cdid != 3]">
  367. <!-- 분리청구는 목록에서 제외-->
  368. <label ref="cdnm"/>
  369. <value ref="cdid"/>
  370. </itemset>
  371. </choices>
  372. <script type="javascript" ev:event="xforms-select">
  373. <![CDATA[
  374. if(cmb_clamflag.value != "") {
  375. if(ipt_fromdd.value != "" & ipt_todd.value != "") {
  376. cmb_judgdg.value = "";
  377. model.removeNodeset("/root/init/U0001list");
  378. submit("TRPIF30902");
  379. model.refresh();
  380. }
  381. }
  382. ]]>
  383. </script>
  384. </select1>
  385. <select1 id="cmb_ordfildcd" ref="/root/send/ordfildcd" class="combo_search" appearance="minimal" style="left:715px; top:7px; width:80px; height:19px; ">
  386. <choices>
  387. <itemset nodeset="/root/init/P0425list/P0425">
  388. <label ref="cdnm"/>
  389. <value ref="cdid"/>
  390. </itemset>
  391. </choices>
  392. <script type="javascript" ev:event="xforms-select">
  393. <![CDATA[
  394. if(cmb_ordfildcd.value != "") {
  395. if(ipt_fromdd.value != "" & ipt_todd.value != "") {
  396. cmb_judgdg.value = "";
  397. model.removeNodeset("/root/init/U0001list");
  398. submit("TRPIF30902");
  399. model.refresh();
  400. }
  401. }
  402. ]]>
  403. </script>
  404. </select1>
  405. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" maxlength="6" format="yyyy-mm" style="left:197px; top:7px; width:82px; height:19px; ">
  406. <script type="javascript" ev:event="DOMFocusOut">
  407. <![CDATA[
  408. ipt_todd.value = ipt_fromdd.value;
  409. ]]>
  410. </script>
  411. </input>
  412. <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" maxlength="6" format="yyyy-mm" style="left:300px; top:7px; width:82px; height:19px; ">
  413. <script type="javascript" ev:event="DOMFocusOut">
  414. <![CDATA[
  415. cmb_judgdg.value = "";
  416. model.removeNodeset("/root/init/U0001list");
  417. submit("TRPIF30902");
  418. model.refresh();
  419. ]]>
  420. </script>
  421. </input>
  422. <caption id="caption7" style="left:284px; top:9px; width:15px; height:15px; ">~</caption>
  423. <caption id="caption8" class="search_name" style="left:326px; top:35px; width:86px; height:17px; vertical-align:top; ">내원유형 :</caption>
  424. <select1 id="rdo_ioflag" ref="/root/send/ioflag" appearance="full" cols="2" rows="1" overflow="visible" style="left:416px; top:35px; width:85px; height:15px; border-style:none; ">
  425. <choices>
  426. <item>
  427. <label>입원</label>
  428. <value>I</value>
  429. </item>
  430. <item>
  431. <label>외래</label>
  432. <value>O</value>
  433. </item>
  434. </choices>
  435. <script type="javascript" ev:event="xforms-select">
  436. <![CDATA[
  437. if(ipt_fromdd.value != "" & ipt_todd.value != "") {
  438. cmb_judgdg.value = "";
  439. model.removeNodeset("/root/init/U0001list");
  440. submit("TRPIF30902");
  441. model.refresh();
  442. }
  443. ]]>
  444. </script>
  445. </select1>
  446. <select1 id="rdo_termflag" ref="/root/send/termflag" appearance="full" cols="3" rows="1" overflow="visible" style="left:16px; top:8px; width:170px; height:20px; border-style:none; ">
  447. <choices>
  448. <item>
  449. <label>청구월</label>
  450. <value>clamym</value>
  451. </item>
  452. <item>
  453. <label>미수월</label>
  454. <value>uncoym</value>
  455. </item>
  456. <item>
  457. <label>통보월</label>
  458. <value>notimm</value>
  459. </item>
  460. </choices>
  461. <script type="javascript" ev:event="xforms-select">
  462. <![CDATA[
  463. if(rdo_termflag.value == "notimm") {
  464. ckb_depospecinclyn.disabled = true;
  465. ckb_depospecinclyn.value = "Y";
  466. } else {
  467. ckb_depospecinclyn.disabled = false;
  468. }
  469. if(ipt_fromdd.value != "" & ipt_todd.value != "") {
  470. cmb_judgdg.value = "";
  471. model.removeNodeset("/root/init/U0001list");
  472. submit("TRPIF30902");
  473. model.refresh();
  474. }
  475. model.setFocus("ipt_fromdd");
  476. ]]>
  477. </script>
  478. </select1>
  479. <select1 id="rdo_insukind" ref="/root/send/insukind" appearance="full" cols="4" rows="1" overflow="visible" style="left:105px; top:35px; width:175px; height:15px; border-style:none; ">
  480. <choices>
  481. <item>
  482. <label>보험</label>
  483. <value>11</value>
  484. </item>
  485. <item>
  486. <label>보호</label>
  487. <value>21</value>
  488. </item>
  489. <item>
  490. <label>산재</label>
  491. <value>41</value>
  492. </item>
  493. <item>
  494. <label>자보</label>
  495. <value>31</value>
  496. </item>
  497. </choices>
  498. <script type="javascript" ev:event="xforms-select">
  499. <![CDATA[
  500. if(ipt_fromdd.value != "" & ipt_todd.value != "") {
  501. cmb_judgdg.value = "";
  502. model.removeNodeset("/root/init/U0001list");
  503. submit("TRPIF30902");
  504. model.refresh();
  505. }
  506. // 보험유형 선택시 버튼, 탭 변경
  507. if ( rdo_insukind.value == "11" ) {
  508. btn_depospecbyinsu.selected = true;
  509. model.toggle("case1");
  510. button5.attribute("visibility") = "hidden";
  511. } else if ( rdo_insukind.value == "21" ) {
  512. btn_depospecbyproc.selected = true;
  513. model.toggle("case2");
  514. button5.attribute("visibility") = "hidden";
  515. } else if ( rdo_insukind.value == "41" ) {
  516. btn_depospecbyiacc.selected = true;
  517. model.toggle("case3");
  518. button5.attribute("visibility") = "visible";
  519. } else if ( rdo_insukind.value == "31" ) {
  520. btn_depospecbyauto.selected = true;
  521. model.toggle("case4");
  522. button5.attribute("visibility") = "hidden";
  523. };
  524. ]]>
  525. </script>
  526. </select1>
  527. <select1 id="rdo_deptflag" ref="/root/send/deptflag" appearance="full" cols="2" rows="1" overflow="visible" style="left:831px; top:9px; width:115px; height:15px; border-style:none; ">
  528. <choices>
  529. <item>
  530. <label>청구과</label>
  531. <value>1</value>
  532. </item>
  533. <item>
  534. <label>진료과</label>
  535. <value>2</value>
  536. </item>
  537. </choices>
  538. <script type="javascript" ev:event="xforms-select">
  539. <![CDATA[
  540. model.setValue("/root/send/dept","");
  541. cmb_dept1.value = "";
  542. cmb_dept2.value = "";
  543. cmb_dept1.visible = false;
  544. cmb_dept2.visible = true;
  545. submit("TRPIF30903"); // 진료과
  546. addComboItem( "cmb_dept2" , "전체");
  547. /*
  548. if(rdo_deptflag.value == "1") {
  549. cmb_dept1.visible = true;
  550. cmb_dept2.visible = false;
  551. model.resetInstanceNode("/root/init/P0114list/P0114");
  552. zbcfGetCodeList(new Array("P0114"), new Array( "/root/init/P0114list")); // 청구과
  553. addComboItem( "cmb_dept1" , "전체");
  554. } else if(rdo_deptflag.value == "2") {
  555. cmb_dept1.visible = false;
  556. cmb_dept2.visible = true;
  557. submit("TRPIF30903"); // 진료과
  558. addComboItem( "cmb_dept2" , "전체");
  559. }
  560. */
  561. model.refresh();
  562. ]]>
  563. </script>
  564. </select1>
  565. <caption id="caption2" class="search_name" style="left:545px; top:35px; width:86px; height:17px; vertical-align:top; ">접수번호 :</caption>
  566. <input id="ipt_acptno" ref="/root/send/acptno" class="input_search" inputtype="button" style="left:635px; top:34px; width:90px; height:19px; ">
  567. <script type="javascript" ev:event="onkeyup">
  568. <![CDATA[
  569. if(event.keyCode == "13") {
  570. submit("TRPIF30902");
  571. }
  572. ]]>
  573. </script>
  574. <script type="javascript" ev:event="onbuttonclick">
  575. <![CDATA[
  576. model.makeNode("/root/send/send01/termflag");
  577. model.makeNode("/root/send/send01/fromdd");
  578. model.makeNode("/root/send/send01/todd");
  579. model.makeNode("/root/send/send01/insukind");
  580. model.makeNode("/root/send/send01/acptno");
  581. model.setValue("/root/send/send01/insukind","11");
  582. setParameter("SPPIF30302_RTNTYPE", "P");
  583. modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
  584. model.setValue("/root/send/acptno", getParameter("SPPIF30302_acptno"));
  585. model.removeNodeset("/root/send/send01");
  586. clearParameter("SPPIF30302_RTNTYPE");
  587. clearParameter("SPPIF30302_acptno");
  588. ipt_acptno.refresh();
  589. if( model.getValue("/root/send/acptno") != '' ){
  590. //ipt_srchcond01.dispatch("DOMFocusOut");
  591. submit("TRPIF30902");
  592. }
  593. ]]>
  594. </script>
  595. </input>
  596. <select1 id="cmb_dept1" ref="/root/send/dept" appearance="minimal" style="left:954px; top:7px; width:135px; height:19px; ">
  597. <choices>
  598. <itemset nodeset="/root/init/P0114list/P0114">
  599. <label ref="cdnm"/>
  600. <value ref="cdid"/>
  601. </itemset>
  602. </choices>
  603. <script type="javascript" ev:event="xforms-select">
  604. <![CDATA[
  605. if(cmb_dept1.value != "") {
  606. if(ipt_fromdd.value != "" & ipt_todd.value != "") {
  607. cmb_judgdg.value = "";
  608. model.removeNodeset("/root/init/U0001list");
  609. submit("TRPIF30902");
  610. model.refresh();
  611. }
  612. }
  613. ]]>
  614. </script>
  615. </select1>
  616. <select1 id="cmb_dept2" ref="/root/send/dept" appearance="minimal" style="left:954px; top:7px; width:135px; height:19px; ">
  617. <choices>
  618. <itemset nodeset="/root/init/U0002list/U0002">
  619. <label ref="cdnm"/>
  620. <value ref="cdid"/>
  621. </itemset>
  622. </choices>
  623. <script type="javascript" ev:event="xforms-select">
  624. <![CDATA[
  625. if(cmb_dept2.value != "") {
  626. if(ipt_fromdd.value != "" & ipt_todd.value != "") {
  627. cmb_judgdg.value = "";
  628. model.removeNodeset("/root/init/U0001list");
  629. submit("TRPIF30902");
  630. model.refresh();
  631. }
  632. }
  633. ]]>
  634. </script>
  635. </select1>
  636. </group>
  637. <switch id="switch1" class="sw_box" style="left:0px; top:100px; width:1194px; height:639px; ">
  638. <case id="case1">
  639. <datagrid id="grd_depospecbydept" nodeset="/root/main/list01/griddepospecbydept" class="datagrid2" caption="미수월^청구월^내원&#xA;유형^접수번호^심사차수^청구&#xA;분야^청구과^청구구분^청구&#xA;차수^청구&#xA;건수^청구&#xA;총진료비^본인부담금^청구액^상한액^지원금^장애인^청구액+상한액&#xA;+지원금+장애인^삭감&#xA;건수^실삭감액^실&#xA;삭감률^조정삭감액^심사결정액^심결장애인금^입금/환수일자^통장입금액(환수액)^입금구분^비고^지급보류&#xA;건수^지급보류&#xA;총진료비^지급보류액^지급보류&#xA;장애인^반송&#xA;건수^반송&#xA;총진료비^반송액^반송&#xA;장애인^심사보류&#xA;건수^심사보류&#xA;총진료비^심사보류액^심사보류&#xA;장애인" colsep="^" colwidth="60, 60, 40, 60, 70, 40, 77, 60, 40, 50, 80, 80, 80, 80, 80, 80, 90, 50, 80, 50, 80, 80, 100, 85, 80, 80, 100, 55, 80, 80, 75, 50, 80, 80, 77, 55, 80, 80, 83" dataheight="25" defaultrows="1" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:5px; width:1184px; height:623px; ">
  640. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  641. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  642. <col ref="ioflag" style="text-align:center; "/>
  643. <col ref="acptno" style="text-align:center; "/>
  644. <col ref="judgdg" style="text-align:center; "/>
  645. <col ref="ordfildcd" style="text-align:center; "/>
  646. <col ref="clamdeptcd" style="text-align:center; "/>
  647. <col disabled="true" ref="clamflag" type="combo" style="text-align:center; ">
  648. <choices>
  649. <itemset nodeset="/root/init/P0155list/P0155">
  650. <label ref="cdnm"/>
  651. <value ref="cdid"/>
  652. </itemset>
  653. </choices>
  654. </col>
  655. <col ref="clamdg" style="text-align:center; "/>
  656. <col ref="clamcnt" format="#,###" style="text-align:right; "/>
  657. <col ref="clmcstotamt" format="#,###" style="text-align:right; "/>
  658. <col ref="clownbamt" format="#,###" style="text-align:right; "/>
  659. <col ref="clclamamt" format="#,###" style="text-align:right; "/>
  660. <col ref="clownbmaxexamt" format="#,###" style="text-align:right; "/>
  661. <col ref="clsuppamt" format="#,###" style="text-align:right; "/>
  662. <col ref="clhandicaprfund" format="#,###" style="text-align:right; "/>
  663. <col ref="clclamamtsum" format="#,###" style="text-align:right; "/>
  664. <col ref="cutcnt" format="#,###" style="text-align:right; "/>
  665. <col ref="realcutamt" format="(-)#,###" style="text-align:right; "/>
  666. <col ref="realcutrate" style="text-align:center; "/>
  667. <col ref="jradjtamtsum" format="#,###" style="text-align:right; "/>
  668. <col ref="deposcheamt" format="#,###" style="text-align:right; "/>
  669. <col ref="jrhandicaprfund" format="#,###" style="text-align:right; "/>
  670. <col ref="deportndd" format="yyyy-mm-dd" style="text-align:center; "/>
  671. <col ref="depoamt" format="(-)#,###" style="text-align:right; "/>
  672. <col ref="depoflag" style="text-align:center; "/>
  673. <col ref="rem"/>
  674. <col ref="rrgstnoretecnt" format="#,###" style="text-align:right; "/>
  675. <col ref="rrgstnoretemcstotamt" format="#,###" style="text-align:right; "/>
  676. <col ref="rrgstnoreteamt" format="#,###" style="text-align:right; "/>
  677. <col ref="rrgstnoretehandicap" format="#,###" style="text-align:right; "/>
  678. <col ref="sendcnt" format="#,###" style="text-align:right; "/>
  679. <col ref="sendmcstotamt" format="#,###" style="text-align:right; "/>
  680. <col ref="sendamt" format="#,###" style="text-align:right; "/>
  681. <col ref="sendhandicap" format="#,###" style="text-align:right; "/>
  682. <col ref="judgretecnt" format="#,###" style="text-align:right; "/>
  683. <col ref="judgretemcstotamt" format="#,###" style="text-align:right; "/>
  684. <col ref="judgreteamt" format="#,###" style="text-align:right; "/>
  685. <col ref="judgretehandicap" format="#,###" style="text-align:right; "/>
  686. <script type="javascript" ev:event="oncopy">
  687. <![CDATA[
  688. grid_oncopy();
  689. ]]>
  690. </script>
  691. </datagrid>
  692. </case>
  693. <case id="case2">
  694. <datagrid id="datagrid1" nodeset="/root/main/list01/griddepospecprocbydept" class="datagrid2" caption="미수월^청구월^내원&#xA;유형^접수번호^심사차수^청구&#xA;분야^청구과^청구구분^청구&#xA;차수^청구&#xA;건수^청구&#xA;총진료비^본인부담금^청구액^장애인기금^대불금^청구액+장애인기금+대불금^삭감&#xA;건수^실삭감액^실&#xA;삭감률^조정삭감액^심사결정액^심결장애인금^입금/환수일자^통장입금액&#xA;(환수액)^입금구분^비고^지급보류&#xA;건수^지급보류&#xA;총진료비^지급보류액^반송&#xA;건수^반송&#xA;총진료비^반송액^반송&#xA;장애인^심사보류&#xA;건수^심사보류&#xA;총진료비^심사보류액^심사보류&#xA;장애인" colsep="^" colwidth="60, 60, 40, 60, 70, 40, 77, 60, 40, 50, 80, 80, 80, 80, 80, 100, 50, 80, 50, 80, 80, 88, 85, 80, 80, 100, 55, 80, 80, 50, 80, 100, 100, 55, 80, 107, 100" dataheight="25" defaultrows="1" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:4px; top:8px; width:1184px; height:623px; ">
  695. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  696. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  697. <col ref="ioflag" style="text-align:center; "/>
  698. <col ref="acptno" style="text-align:center; "/>
  699. <col ref="judgdg" style="text-align:center; "/>
  700. <col ref="ordfildcd" style="text-align:center; "/>
  701. <col ref="clamdeptcd" style="text-align:center; "/>
  702. <col disabled="true" ref="clamflag" type="combo" style="text-align:center; ">
  703. <choices>
  704. <itemset nodeset="/root/init/P0155list/P0155">
  705. <label ref="cdnm"/>
  706. <value ref="cdid"/>
  707. </itemset>
  708. </choices>
  709. </col>
  710. <col ref="clamdg" style="text-align:center; "/>
  711. <col ref="clamcnt" format="#,###" style="text-align:right; "/>
  712. <col ref="clmcstotamt" format="#,###" style="text-align:right; "/>
  713. <col ref="clownbamt" format="#,###" style="text-align:right; "/>
  714. <col ref="clclamamt" format="#,###" style="text-align:right; "/>
  715. <col ref="clhandicaprfund" format="#,###" style="text-align:right; "/>
  716. <col ref="clsubtamt" format="#,###" style="text-align:right; "/>
  717. <col ref="clclamamtsum" format="#,###" style="text-align:right; "/>
  718. <col ref="cutcnt" format="#,###" style="text-align:right; "/>
  719. <col ref="realcutamt" format="(-)#,###" style="text-align:right; "/>
  720. <col ref="realcutrate" style="text-align:center; "/>
  721. <col ref="jradjtamtsum" format="#,###" style="text-align:right; "/>
  722. <col ref="deposcheamt" format="#,###" style="text-align:right; "/>
  723. <col ref="jrhandicaprfund" format="#,###" style="text-align:right; "/>
  724. <col ref="deportndd" format="yyyy-mm-dd" style="text-align:center; "/>
  725. <col ref="depoamt" format="(-)#,###" style="text-align:right; "/>
  726. <col ref="depoflag" style="text-align:center; "/>
  727. <col ref="rem"/>
  728. <col ref="pretecnt" format="#,###" style="text-align:right; "/>
  729. <col ref="pretemcstotamt" format="#,###" style="text-align:right; "/>
  730. <col ref="preteamt" format="#,###" style="text-align:right; "/>
  731. <col ref="sendcnt" format="#,###" style="text-align:right; "/>
  732. <col ref="sendmcstotamt" format="#,###" style="text-align:right; "/>
  733. <col ref="sendamt" format="#,###" style="text-align:right; "/>
  734. <col ref="sendhandicap" format="#,###" style="text-align:right; "/>
  735. <col ref="judgretecnt" format="#,###" style="text-align:right; "/>
  736. <col ref="judgretemcstotamt" format="#,###" style="text-align:right; "/>
  737. <col ref="judgreteamt" format="#,###" style="text-align:right; "/>
  738. <col ref="judgretehandicap" format="#,###" style="text-align:right; "/>
  739. <script type="javascript" ev:event="oncopy">
  740. <![CDATA[
  741. grid_oncopy();
  742. ]]>
  743. </script>
  744. </datagrid>
  745. </case>
  746. <case id="case3" selected="true">
  747. <datagrid id="grd_depospecbyiacc" nodeset="/root/main/list01/griddepospeciaccbydept" class="datagrid2" caption="미수월^청구월^내원&#xA;유형^산재유형^접수번호^심사차수^청구&#xA;분야^청구과^청구구분^청구&#xA;차수^청구&#xA;건수^청구액^삭감&#xA;건수^실삭감액^실&#xA;삭감률^조정삭감액^심결액^입금/환수일자^통장입금액&#xA;(환수액)^입금구분^반송&#xA;건수^반송액^심사보류&#xA;건수^심사보류액" colsep="^" colwidth="60, 60, 40, 100, 60, 52, 40, 70, 60, 40, 50, 80, 50, 80, 50, 80, 100, 85, 80, 80, 50, 100, 55, 107" dataheight="25" defaultrows="1" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:27px; width:1184px; height:599px; ">
  748. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  749. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  750. <col ref="ioflag" style="text-align:center; "/>
  751. <col ref="sumtypecd" style="text-align:center; "/>
  752. <col ref="acptno" style="text-align:center; "/>
  753. <col ref="judgdg" style="text-align:center; "/>
  754. <col ref="ordfildcd" style="text-align:center; "/>
  755. <col ref="clamdeptcd" style="text-align:center; "/>
  756. <col disabled="true" ref="clamflag" type="combo" style="text-align:center; ">
  757. <choices>
  758. <itemset nodeset="/root/init/P0155list/P0155">
  759. <label ref="cdnm"/>
  760. <value ref="cdid"/>
  761. </itemset>
  762. </choices>
  763. </col>
  764. <col ref="clamdg" style="text-align:center; "/>
  765. <col ref="clamcnt" format="#,###" style="text-align:right; "/>
  766. <col ref="clclamamt" format="#,###" style="text-align:right; "/>
  767. <col ref="cutcnt" format="#,###" style="text-align:right; "/>
  768. <col ref="realcutamt" format="(-)#,###" style="text-align:right; "/>
  769. <col ref="realcutrate" style="text-align:center; "/>
  770. <col ref="jradjtamtsum" format="#,###" style="text-align:right; "/>
  771. <col ref="jrjudgdeciamt" format="#,###" style="text-align:right; "/>
  772. <col ref="deportndd" format="yyyy-mm-dd" style="text-align:center; "/>
  773. <col ref="depoamt" format="#,###" style="text-align:right; "/>
  774. <col ref="flag" style="text-align:center; "/>
  775. <col ref="sendcnt" format="#,###" style="text-align:right; "/>
  776. <col ref="sendamt" format="#,###" style="text-align:right; "/>
  777. <col ref="judgretecnt" format="#,###" style="text-align:right; "/>
  778. <col ref="judgreteamt" format="#,###" style="text-align:right; "/>
  779. <script type="javascript" ev:event="oncopy">
  780. <![CDATA[
  781. grid_oncopy();
  782. ]]>
  783. </script>
  784. </datagrid>
  785. <button id="button5" class="btn2_letter2" visibility="visible" style="left:1142px; top:2px; width:42px; height:19px; ">
  786. <caption>출력</caption>
  787. <script type="javascript" ev:event="onclick">
  788. <![CDATA[
  789. exeReportPreview("RPPIF30900", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  790. ]]>
  791. </script>
  792. </button>
  793. <line id="line2" class="line_1" style="x1:0px; y1:22px; x2:1184px; y2:22px; "/>
  794. </case>
  795. <case id="case4">
  796. <datagrid id="grd_depospecbyauto" nodeset="/root/main/list01/griddepospecautobydept" class="datagrid2" caption="미수월^청구월^내원&#xA;유형^청구&#xA;분야^청구과^청구구분^청구&#xA;차수^청구&#xA;건수^청구액^삭감&#xA;건수^자보실삭감액&#xA;(최종)^실&#xA;삭감률^분심결정&#xA;삭감액^심결액^입금/환수일자^통장입금액&#xA;(환수액)^입금구분^손보사^수진자^반송&#xA;건수^반송액" colsep="^" colwidth="60, 60, 40, 40, 70, 60, 40, 50, 80, 50, 80, 50, 80, 100, 85, 80, 80, 136, 60, 50, 100" dataheight="25" defaultrows="1" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:4px; top:8px; width:1184px; height:623px; ">
  797. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  798. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  799. <col ref="ioflag" style="text-align:center; "/>
  800. <col ref="ordfildcd" style="text-align:center; "/>
  801. <col ref="clamdeptcd" style="text-align:center; "/>
  802. <col ref="clamflag" style="text-align:center; "/>
  803. <col ref="clamdg" style="text-align:center; "/>
  804. <col ref="clamcnt" format="#,###" style="text-align:right; "/>
  805. <col ref="clclamamt" format="#,###" style="text-align:right; "/>
  806. <col ref="cutcnt" format="#,###" style="text-align:right; "/>
  807. <col ref="realcutamt" format="(-)#,###" style="text-align:right; "/>
  808. <col ref="realcutrate" style="text-align:right; "/>
  809. <col ref="tddecicutamt" format="#,###" style="text-align:right; "/>
  810. <col ref="jrjudgdeciamt" format="#,###" style="text-align:right; "/>
  811. <col ref="deportndd" format="yyyy-mm-dd" style="text-align:center; "/>
  812. <col ref="depoamt" format="#,###" style="text-align:right; "/>
  813. <col ref="flag" style="text-align:center; "/>
  814. <col ref="insucompnm"/>
  815. <col ref="patnm" style="text-align:center; "/>
  816. <col ref="sendcnt" format="#,###" style="text-align:right; "/>
  817. <col ref="sendamt" format="#,###" style="text-align:right; "/>
  818. <script type="javascript" ev:event="oncopy">
  819. <![CDATA[
  820. grid_oncopy();
  821. ]]>
  822. </script>
  823. </datagrid>
  824. </case>
  825. </switch>
  826. <button id="btn_depospecbyinsu" class="btn_sw" group="tab" selected="true" style="left:0px; top:79px; width:170px; height:22px; ">
  827. <caption>과별 진료비 입금내역 (보험)</caption>
  828. <toggle case="case1" ev:event="onclick"/>
  829. </button>
  830. <button id="btn_depospecbyproc" class="btn_sw" group="tab" style="left:170px; top:79px; width:170px; height:22px; ">
  831. <caption>과별 진료비 입금내역 (보호)</caption>
  832. <toggle case="case2" ev:event="onclick"/>
  833. </button>
  834. <button id="btn_depospecbyiacc" class="btn_sw" group="tab" style="left:340px; top:79px; width:170px; height:22px; ">
  835. <caption>과별 진료비 입금내역 (산재)</caption>
  836. <toggle case="case3" ev:event="onclick"/>
  837. </button>
  838. <button id="btn_depospecbyauto" class="btn_sw" group="tab" style="left:510px; top:79px; width:170px; height:22px; ">
  839. <caption>과별 진료비 입금내역 (자보)</caption>
  840. <toggle case="case4" ev:event="onclick"/>
  841. </button>
  842. <button id="button13" class="btn2_letter3" style="left:960px; top:80px; width:53px; height:19px; ">
  843. <caption>셀카피</caption>
  844. <script type="javascript" ev:event="onclick">
  845. <![CDATA[
  846. grd_depospecbydept.attribute("selectionmode") = "free";
  847. datagrid1.attribute("selectionmode") = "free";
  848. grd_depospecbyiacc.attribute("selectionmode") = "free";
  849. grd_depospecbyauto.attribute("selectionmode") = "free";
  850. ]]>
  851. </script>
  852. </button>
  853. <button id="button2" class="btn2_letter3" style="left:1015px; top:80px; width:53px; height:19px; ">
  854. <caption>열카피</caption>
  855. <script type="javascript" ev:event="onclick">
  856. <![CDATA[
  857. grd_depospecbydept.attribute("selectionmode") = "bycol";
  858. datagrid1.attribute("selectionmode") = "bycol";
  859. grd_depospecbyiacc.attribute("selectionmode") = "bycol";
  860. grd_depospecbyauto.attribute("selectionmode") = "bycol";
  861. ]]>
  862. </script>
  863. </button>
  864. <button id="button3" class="btn2_letter3" style="left:1070px; top:80px; width:53px; height:19px; ">
  865. <caption>행카피</caption>
  866. <script type="javascript" ev:event="onclick">
  867. <![CDATA[
  868. grd_depospecbydept.attribute("selectionmode") = "byrow";
  869. datagrid1.attribute("selectionmode") = "byrow";
  870. grd_depospecbyiacc.attribute("selectionmode") = "byrow";
  871. grd_depospecbyauto.attribute("selectionmode") = "byrow";
  872. ]]>
  873. </script>
  874. </button>
  875. <button id="button4" class="btn2_letter4" style="left:1125px; top:80px; width:64px; height:19px; ">
  876. <caption>엑셀저장</caption>
  877. <script type="javascript" ev:event="onclick">
  878. <![CDATA[
  879. var today = new Date();
  880. var yy = today.getYear()+"";
  881. var mm = today.getMonth()+1;
  882. var dd = today.getDate();
  883. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  884. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  885. var tmp = yy+mm+dd;
  886. var fileName = "";
  887. // 선택된 탭에 따라서 엑셀저장될 그리드를 지정한다.
  888. if ( btn_depospecbyinsu.selected == true ) {
  889. fileName = window.fileDialog("save", "|", true, "과별 진료비 입금내역(보험)_"+tmp, "", "Excel Files(*.xls)|*.xls");
  890. if (fileName != "") {
  891. grd_depospecbydept.saveExcel(fileName, "SheetName", true, true, "", "", "");
  892. }
  893. } else if ( btn_depospecbyproc.selected == true ) {
  894. fileName = window.fileDialog("save", "|", true, "과별 진료비 입금내역(보호)_"+tmp, "", "Excel Files(*.xls)|*.xls");
  895. if (fileName != "") {
  896. datagrid1.saveExcel(fileName, "SheetName", true, true, "", "", "");
  897. }
  898. } else if ( btn_depospecbyiacc.selected == true ) {
  899. fileName = window.fileDialog("save", "|", true, "과별 진료비 입금내역(산재)_"+tmp, "", "Excel Files(*.xls)|*.xls");
  900. if (fileName != "") {
  901. grd_depospecbyiacc.saveExcel(fileName, "SheetName", true, true, "", "", "");
  902. }
  903. } else if ( btn_depospecbyauto.selected == true ) {
  904. fileName = window.fileDialog("save", "|", true, "과별 진료비 입금내역(자보)_"+tmp, "", "Excel Files(*.xls)|*.xls");
  905. if (fileName != "") {
  906. grd_depospecbyauto.saveExcel(fileName, "SheetName", true, true, "", "", "");
  907. }
  908. }
  909. ]]>
  910. </script>
  911. </button>
  912. </group>
  913. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  914. </xhtml:body>
  915. </xhtml:html>