SMPIF31000_정산차수별지급내역조회.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. 2007.06.21 / 최초작성 / 이종찬
  4. 보험유형별로 탭이 결정되어 그리드에 디스플레이되도록 구현한다.
  5. 현재 정산입금내역 테이블을 ER에서 삭제하고 현행 입금마스터에 입금처리시킬 예정임
  6. -->
  7. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  8. <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">
  9. <xhtml:head>
  10. <xhtml:title>SMPIF31000_정산차수별지급내역조회</xhtml:title>
  11. <model id="model1">
  12. <instance id="instance1">
  13. <root xmlns="">
  14. <send>
  15. <termflag>3</termflag>
  16. <fromdd/>
  17. <todd/>
  18. <insukind>1</insukind>
  19. <calcflag/>
  20. <cpcd/>
  21. <assocd/>
  22. <oprcpcalcyn/>
  23. </send>
  24. <main>
  25. <list01>
  26. <gridcalcdgdepospec>
  27. <uncoym/>
  28. <clamym/>
  29. <ioflag/>
  30. <clamtypecd/>
  31. <clamdg/>
  32. <acptno/>
  33. <judgdg/>
  34. <ordfildcd/>
  35. <docuseqno/>
  36. <pid/>
  37. <patnm/>
  38. <insuflag/>
  39. <calcjudgdg/>
  40. <calcnotidd/>
  41. <calcbizcd/>
  42. <calcbiznm/>
  43. <calcflag/>
  44. <cadecidifamt/>
  45. <clmcstotamt/>
  46. <clclamamt/>
  47. <clownbmaxexamt/>
  48. <clsuppamt/>
  49. <jrmcstotamt/>
  50. <jrjudgdeciamt/>
  51. <jradjtsum1/>
  52. <jradjtsum2/>
  53. <jradjtsum/>
  54. <adjtresn/>
  55. <obtappflag/>
  56. <matramt/>
  57. <actamt/>
  58. <obtappamtsum/>
  59. <obtappdocuno/>
  60. <obtappdd/>
  61. <judgrid/>
  62. <decidocuno/>
  63. <decirepldd/>
  64. <deciamt/>
  65. <f130_calcjudgdg/>
  66. <f130_calcnotidd/>
  67. <f130_decidifamtsum/>
  68. <clamdeptcd/>
  69. <orddrid/>
  70. <ordfromdd/>
  71. </gridcalcdgdepospec>
  72. </list01>
  73. <list02>
  74. <gridcalcdgdepospecmed>
  75. <clamym/>
  76. <uncoym/>
  77. <ioflag/>
  78. <clamtypecd/>
  79. <clamdg/>
  80. <acptno/>
  81. <judgdg/>
  82. <ordfildcd/>
  83. <docuseqno/>
  84. <pid/>
  85. <patnm/>
  86. <depoprocinstmark/>
  87. <cpcd/>
  88. <assocd/>
  89. <insuflag/>
  90. <calcjudgdg/>
  91. <calcnotidd/>
  92. <calcbizcd/>
  93. <calcbiznm/>
  94. <calcflag/>
  95. <cadecidifamt/>
  96. <clmcstotamt/>
  97. <clsecuinstbamt/>
  98. <clhandicaprfund/>
  99. <clsubtamt/>
  100. <jrmcstotamt/>
  101. <jrjudgdeciamt/>
  102. <jrhandicaprfund/>
  103. <jrsubtamt/>
  104. <jradjtsum1/>
  105. <jradjtsum2/>
  106. <jradjtsum/>
  107. <adjtresn/>
  108. <obtappflag/>
  109. <matramt/>
  110. <actamt/>
  111. <obtappamtsum/>
  112. <obtappdocuno/>
  113. <obtappdd/>
  114. <judgrid/>
  115. <decidocuno/>
  116. <decirepldd/>
  117. <deciamt/>
  118. <f130_calcjudgdg/>
  119. <f130_calcnotidd/>
  120. <f130_decidifamtsum/>
  121. <clamdeptcd/>
  122. <orddrid/>
  123. <ordfromdd/>
  124. </gridcalcdgdepospecmed>
  125. </list02>
  126. </main>
  127. <init>
  128. <P0459list>
  129. <P0459>
  130. <cdid/>
  131. <cdnm/>
  132. </P0459>
  133. </P0459list>
  134. <P0415list>
  135. <P0415>
  136. <cdid/>
  137. <cdnm/>
  138. </P0415>
  139. </P0415list>
  140. <Cpcd>
  141. <cpcdlist>
  142. <cdid/>
  143. <cdnm/>
  144. </cpcdlist>
  145. </Cpcd>
  146. <Assocd>
  147. <assocdlist>
  148. <assocd/>
  149. <assonm/>
  150. </assocdlist>
  151. </Assocd>
  152. </init>
  153. <hidden/>
  154. </root>
  155. </instance>
  156. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  157. <submission id="TRPIF31000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  158. <submission id="TRPIF31001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list02"/>
  159. <submission id="TRPIF31002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/Cpcd"/>
  160. <submission id="TRPIF31003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/Assocd"/>
  161. </model>
  162. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  163. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  164. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  165. <script type="javascript" ev:event="xforms-ready">
  166. <![CDATA[
  167. // 공통코드 Load작업
  168. zbcfGetCodeList(new Array("P0415","P0459"), new Array("/root/init/P0415list","/root/init/P0459list"));
  169. addComboItem("cmb_calcflag","전체(원외제외)","");
  170. ipt_fromdd.attribute("format") = "";
  171. ipt_fromdd.attribute("inputtype") = "";
  172. ipt_fromdd.attribute("maxlength") = 8;
  173. ipt_todd.attribute("format") = "";
  174. ipt_todd.attribute("inputtype") = "";
  175. ipt_todd.attribute("maxlength") = 8;
  176. model.setFocus("ipt_fromdd");
  177. model.toggle("case1") ;
  178. ]]>
  179. </script>
  180. </xhtml:head>
  181. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  182. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  183. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; ">정산차수별지급내역조회</caption>
  184. </group>
  185. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  186. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  187. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  188. <button id="button1" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
  189. <caption>조회</caption>
  190. <script type="javascript" ev:event="DOMActivate">
  191. <![CDATA[
  192. if(ipt_fromdd.value == "") {
  193. messageBox("시작일을","C001");
  194. model.setFocus("ipt_fromdd");
  195. return false;
  196. }
  197. if(rdo_insukind.value == "1") {
  198. submit("TRPIF31000");
  199. btn_insu.selected = true;
  200. model.toggle("case1");
  201. } else {
  202. submit("TRPIF31001");
  203. btn_med.selected = true;
  204. model.toggle("case2");
  205. }
  206. ]]>
  207. </script>
  208. </button>
  209. <line id="line13" class="line_4" style="x1:1117px; y1:7px; x2:1117px; y2:29px; "/>
  210. <caption id="caption4" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
  211. <caption id="caption5" class="search_name" style="left:592px; top:10px; width:86px; height:17px; ">정산구분 :</caption>
  212. <select1 id="cmb_calcflag" ref="/root/send/calcflag" class="combo_search" appearance="minimal" style="left:682px; top:9px; width:110px; height:19px; ">
  213. <choices>
  214. <itemset nodeset="/root/init/P0459list/P0459">
  215. <label ref="cdnm"/>
  216. <value ref="cdid"/>
  217. </itemset>
  218. </choices>
  219. </select1>
  220. <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" style="left:509px; top:9px; width:75px; height:19px; ">
  221. <script type="javascript" ev:event="DOMFocusOut">
  222. <![CDATA[
  223. if(rdo_insukind.value == "2") {
  224. cmb_cpcd.value = "";
  225. model.removeNodeset("/root/init/Cpcd");
  226. model.removeNodeset("/root/init/Assocd");
  227. model.refreshpart("/root/init");
  228. if(ipt_fromdd.value != "" & ipt_todd.value != "") {
  229. submit("TRPIF31002");
  230. }
  231. }
  232. ]]>
  233. </script>
  234. </input>
  235. <caption id="caption10" style="left:493px; top:13px; width:15px; height:15px; ">~</caption>
  236. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" style="left:412px; top:9px; width:75px; height:19px; ">
  237. <script type="javascript" ev:event="DOMFocusOut">
  238. <![CDATA[
  239. ipt_todd.value = ipt_fromdd.value;
  240. model.refreshpart("/root/send/todd");
  241. ]]>
  242. </script>
  243. </input>
  244. <select1 id="rdo_termflag" ref="/root/send/termflag" class="radio_search" overflow="visible" appearance="full" cols="3" rows="1" style="left:225px; top:10px; width:180px; height:17px; border-style:none; ">
  245. <choices>
  246. <item>
  247. <label>청구월</label>
  248. <value>1</value>
  249. </item>
  250. <item>
  251. <label>미수월</label>
  252. <value>2</value>
  253. </item>
  254. <item>
  255. <label>정산차수</label>
  256. <value>3</value>
  257. </item>
  258. </choices>
  259. <script type="javascript" ev:event="xforms-select">
  260. <![CDATA[
  261. model.setValue("/root/send/fromdd","");
  262. model.setValue("/root/send/todd","");
  263. if(rdo_termflag.value == "1" || rdo_termflag.value == "2") {
  264. ipt_fromdd.attribute("format") = "yyyy-mm";
  265. ipt_todd.attribute("format") = "yyyy-mm";
  266. ipt_fromdd.attribute("inputtype") = "date";
  267. ipt_todd.attribute("inputtype") = "date";
  268. ipt_fromdd.attribute("maxlength") = 6;
  269. ipt_todd.attribute("maxlength") = 6;
  270. } else if(rdo_termflag.value == "3") {
  271. ipt_fromdd.attribute("format") = "";
  272. ipt_todd.attribute("format") = "";
  273. ipt_fromdd.attribute("inputtype") = "";
  274. ipt_todd.attribute("inputtype") = "";
  275. ipt_fromdd.attribute("maxlength") = 8;
  276. ipt_todd.attribute("maxlength") = 8;
  277. }
  278. model.refreshpart("/root/send/fromdd");
  279. model.refreshpart("/root/send/todd");
  280. model.setFocus("ipt_fromdd");
  281. ]]>
  282. </script>
  283. </select1>
  284. <select1 id="rdo_insukind" ref="/root/send/insukind" overflow="visible" appearance="full" cols="2" style="left:100px; top:10px; width:110px; height:15px; border-style:none; ">
  285. <choices>
  286. <item>
  287. <label>보험</label>
  288. <value>1</value>
  289. </item>
  290. <item>
  291. <label>의료급여</label>
  292. <value>2</value>
  293. </item>
  294. </choices>
  295. <script type="javascript" ev:event="xforms-select">
  296. <![CDATA[
  297. if(rdo_insukind.value == "1") {
  298. cap_cpcd.visible = false;
  299. cmb_cpcd.visible = false;
  300. cmb_assocd.visible = false;
  301. btn_insu.selected = true ;
  302. model.toggle("case1") ;
  303. } else {
  304. cap_cpcd.visible = true;
  305. cmb_cpcd.visible = true;
  306. cmb_assocd.visible = true;
  307. btn_med.selected = true;
  308. model.toggle("case2") ;
  309. }
  310. model.setFocus("ipt_fromdd");
  311. ]]>
  312. </script>
  313. </select1>
  314. <select1 id="cmb_cpcd" ref="/root/send/cpcd" visibility="hidden" appearance="minimal" style="left:930px; top:8px; width:59px; height:19px; ">
  315. <choices>
  316. <itemset nodeset="/root/init/Cpcd/cpcdlist">
  317. <label ref="cdnm"/>
  318. <value ref="cdid"/>
  319. </itemset>
  320. </choices>
  321. <script type="javascript" ev:event="xforms-select">
  322. <![CDATA[
  323. model.setValue("/root/send/assocd","");
  324. model.removenode("/root/init/Assocd");
  325. model.refresh();
  326. submit("TRPIF31003"); // 시군구코드 조회
  327. submit("TRPIF31001"); // 시도에 해당하는 정산내역 조회
  328. btn_med.selected = true;
  329. model.toggle("case2");
  330. ]]>
  331. </script>
  332. </select1>
  333. <select1 id="cmb_assocd" ref="/root/send/assocd" visibility="hidden" appearance="minimal" style="left:991px; top:8px; width:113px; height:19px; ">
  334. <choices>
  335. <itemset nodeset="/root/init/Assocd/assocdlist">
  336. <label ref="assonm"/>
  337. <value ref="assocd"/>
  338. </itemset>
  339. </choices>
  340. <script type="javascript" ev:event="xforms-select">
  341. <![CDATA[
  342. submit("TRPIF31001"); // 시군구에 해당하는 정산내역 조회
  343. btn_med.selected = true;
  344. model.toggle("case2");
  345. ]]>
  346. </script>
  347. </select1>
  348. <caption id="cap_cpcd" class="search_name" visibility="hidden" style="left:865px; top:9px; width:61px; height:17px; ">시도 :</caption>
  349. </group>
  350. <button id="btn_insu" class="btn_sw" group="tab" selected="true" style="left:0px; top:56px; width:167px; height:22px; ">
  351. <caption>정산차수별 지급내역 (보험)</caption>
  352. <toggle case="case1" ev:event="onclick"/>
  353. </button>
  354. <button id="btn_med" class="btn_sw" group="tab" style="left:167px; top:56px; width:167px; height:22px; ">
  355. <caption>정산차수별 지급내역 (보호)</caption>
  356. <toggle case="case2" ev:event="onclick"/>
  357. </button>
  358. <switch id="switch1" class="sw_box" style="left:0px; top:77px; width:1194px; height:658px; ">
  359. <case id="case1" selected="true">
  360. <datagrid id="grd_payspec" nodeset="/root/main/list01/gridcalcdgdepospec" caption="미수월^청구&#xA;년월^내원&#xA;유형^청구형태^청구&#xA;차수^접수번호^심사차수^청구&#xA;분야^명일련^등록번호^수진자^구분^정산차수^정산&#xA;통보일자^정산&#xA;업무코드^정산업무명^정산구분^정산&#xA;결정차액^청구^청구^청구^청구^심결^심결^심결^심결^심결^심결^이신구분^이의신청액^이의신청액^이의신청액^문서번호^이신일자^심사자^결정문서번호^결정일자^서면결정액^F130^F130^F130^진료과명^진료의^요양개시일^진료과|미수월^청구&#xA;년월^내원&#xA;유형^청구형태^청구&#xA;차수^접수번호^심사차수^청구&#xA;분야^명일련^등록번호^수진자^구분^정산차수^정산&#xA;통보일자^정산&#xA;업무코드^정산업무명^정산구분^정산&#xA;결정차액^총진료비(청구)^청구액^상한액^지원금^총진료비(심결)^심사결정액^조정소계I^조정소계II^조정합계^조정사유^이신구분^1항^2항^이의신청합계^문서번호^이신일자^심사자^결정문서번호^결정일자^서면결정액^정산차수^정산통보일자^정산심사결정차액^진료과명^진료의^요양개시일^진료과" colsep="^" colwidth="50, 50, 40, 60, 40, 60, 60, 40, 50, 60, 50, 40, 60, 75, 60, 120, 70, 80, 90, 75, 75, 75, 90, 75, 75, 75, 75, 75, 70, 70, 70, 80, 75, 75, 70, 100, 95, 80, 75, 80, 105, 75, 50, 75, 70" dataheight="25" defaultrows="1" ellipsis="true" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:4px; top:27px; width:1183px; height:614px; ">
  361. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  362. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  363. <col ref="ioflag" style="text-align:center; "/>
  364. <col ref="clamtypecd" style="text-align:center; "/>
  365. <col ref="clamdg" style="text-align:center; "/>
  366. <col ref="acptno" style="text-align:center; "/>
  367. <col ref="judgdg" style="text-align:center; "/>
  368. <col ref="ordfildcd" style="text-align:center; "/>
  369. <col ref="docuseqno" style="text-align:center; "/>
  370. <col ref="pid" style="text-align:center; "/>
  371. <col ref="patnm" style="text-align:center; "/>
  372. <col ref="insuflag" style="text-align:center; "/>
  373. <col ref="calcjudgdg" style="text-align:center; "/>
  374. <col ref="calcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  375. <col ref="calcbizcd" style="text-align:center; "/>
  376. <col ref="calcbiznm"/>
  377. <col ref="calcflag" style="text-align:center; "/>
  378. <col ref="cadecidifamt" format="(-)#,###" style="text-align:right; "/>
  379. <col ref="clmcstotamt" format="#,###" style="text-align:right; "/>
  380. <col ref="clclamamt" format="#,###" style="text-align:right; "/>
  381. <col ref="clownbmaxexamt" format="#,###" style="text-align:right; "/>
  382. <col ref="clsuppamt" format="#,###" style="text-align:right; "/>
  383. <col ref="jrmcstotamt" format="#,###" style="text-align:right; "/>
  384. <col ref="jrjudgdeciamt" format="#,###" style="text-align:right; "/>
  385. <col ref="jradjtsum1" format="(-)#,###" style="text-align:right; "/>
  386. <col ref="jradjtsum2" format="(-)#,###" style="text-align:right; "/>
  387. <col ref="jradjtsum" format="(-)#,###" style="text-align:right; "/>
  388. <col ref="adjtresn" style="text-align:center; "/>
  389. <col ref="obtappflag" style="text-align:center; "/>
  390. <col ref="matramt" format="#,###" style="text-align:right; "/>
  391. <col ref="actamt" format="#,###" style="text-align:right; "/>
  392. <col ref="obtappamtsum" format="#,###" style="text-align:right; "/>
  393. <col ref="obtappdocuno" style="text-align:center; "/>
  394. <col ref="obtappdd" format="yyyy-mm-dd" style="text-align:center; "/>
  395. <col ref="judgrid" style="text-align:center; "/>
  396. <col ref="decidocuno"/>
  397. <col ref="decirepldd" format="yyyy-mm-dd" style="text-align:center; "/>
  398. <col ref="deciamt" format="#,###" style="text-align:right; "/>
  399. <col ref="f130_calcjudgdg" style="text-align:center; "/>
  400. <col ref="f130_calcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  401. <col ref="f130_decidifamtsum" format="#,###" style="text-align:right; "/>
  402. <col ref="clamdeptcd"/>
  403. <col ref="orddrid" style="text-align:center; "/>
  404. <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  405. <col ref="deptengabbr" style="text-align:center; "/>
  406. <script type="javascript" ev:event="oncopy">
  407. <![CDATA[
  408. grid_oncopy();
  409. ]]>
  410. </script>
  411. </datagrid>
  412. <button id="button2" class="btn2_letter4" style="left:1123px; top:5px; width:64px; height:19px; ">
  413. <caption>엑셀저장</caption>
  414. <script type="javascript" ev:event="onclick">
  415. <![CDATA[
  416. var today = new Date();
  417. var yy = today.getYear()+"";
  418. var mm = today.getMonth()+1;
  419. var dd = today.getDate();
  420. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  421. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  422. var tmp = yy+mm+dd;
  423. var fileName = window.fileDialog("save", ",", false, "정산차수별지급내역(보험)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  424. if (fileName != "") {
  425. grd_payspec.saveExcel(fileName, "SheetName", true, true, "", "", "");
  426. }
  427. ]]>
  428. </script>
  429. </button>
  430. <button id="button4" class="btn2_letter6" style="left:1035px; top:5px; width:86px; height:19px; ">
  431. <caption>Open Excel</caption>
  432. <script type="javascript" ev:event="DOMActivate">
  433. <![CDATA[
  434. try {
  435. window.exec("excel");
  436. } catch(e) {
  437. alert(e);
  438. }
  439. ]]>
  440. </script>
  441. </button>
  442. <button id="button5" class="btn2_letter3" style="left:925px; top:5px; width:53px; height:19px; ">
  443. <caption>열카피</caption>
  444. <script type="javascript" ev:event="onclick">
  445. <![CDATA[
  446. grd_payspec.attribute("selectionmode") = "bycol";
  447. ]]>
  448. </script>
  449. </button>
  450. <button id="button6" class="btn2_letter3" style="left:980px; top:5px; width:53px; height:19px; ">
  451. <caption>행카피</caption>
  452. <script type="javascript" ev:event="onclick">
  453. <![CDATA[
  454. grd_payspec.attribute("selectionmode") = "byrow";
  455. ]]>
  456. </script>
  457. </button>
  458. <button id="button10" class="btn2_letter3" style="left:870px; top:5px; width:53px; height:19px; ">
  459. <caption>셀카피</caption>
  460. <script type="javascript" ev:event="onclick">
  461. <![CDATA[
  462. grd_payspec.attribute("selectionmode") = "free";
  463. ]]>
  464. </script>
  465. </button>
  466. </case>
  467. <case id="case2">
  468. <button id="button3" class="btn2_letter4" style="left:1123px; top:5px; width:64px; height:19px; ">
  469. <caption>엑셀저장</caption>
  470. <script type="javascript" ev:event="onclick">
  471. <![CDATA[
  472. var today = new Date();
  473. var yy = today.getYear()+"";
  474. var mm = today.getMonth()+1;
  475. var dd = today.getDate();
  476. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  477. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  478. var tmp = yy+mm+dd;
  479. var fileName = window.fileDialog("save", ",", false, "정산차수별지급내역(보호)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  480. if (fileName != "") {
  481. grd_calcdgdepomed.saveExcel(fileName, "SheetName", true, true, "", "", "");
  482. }
  483. ]]>
  484. </script>
  485. </button>
  486. <datagrid id="grd_calcdgdepomed" nodeset="/root/main/list02/gridcalcdgdepospecmed" class="datagrid1" caption="미수월^청구&#xA;년월^내원&#xA;유형^청구형태^청구&#xA;차수^접수번호^심사차수^청구&#xA;분야^명일련^등록번호^수진자^조합기호^시도^시군구^구분^정산차수^정산&#xA;통보일자^정산&#xA;업무코드^정산업무명^정산구분^정산&#xA;결정차액^청구^청구^청구^청구^심결^심결^심결^심결^심결^심결^심결^심결^이신구분^1항(재료대)^2항(행위료)^이의신청액합계^문서번호^이신일자^심사자^결정문서번호^결정일자^서면결정액^정산차수^정산통보일자^정산심결차액^진료과^진료의^요양개시일|미수월^청구&#xA;년월^내원&#xA;유형^청구형태^청구&#xA;차수^접수번호^심사차수^청구&#xA;분야^명일련^등록번호^수진자^조합기호^시도^시군구^구분^정산차수^정산&#xA;통보일자^정산&#xA;업무코드^정산업무명^정산구분^정산&#xA;결정차액^총진료비(청구)^청구액^장애인기금^대불금^총진료비(심결)^심사결정액^심결장애인기금^심결대불금^조정소계I^조정소계II^조정합계^조정사유^이신구분^1항(재료대)^2항(행위료)^이의신청액합계^문서번호^이신일자^심사자^결정문서번호^결정일자^서면결정액^정산차수^정산통보일자^정산심결차액^진료과^진료의^요양개시일" colsep="^" colwidth="50, 50, 40, 60, 40, 60, 60, 40, 50, 60, 50, 70, 50, 120, 40, 70, 75, 60, 120, 70, 75, 90, 75, 75, 75, 90, 75, 92, 75, 75, 75, 75, 60, 70, 75, 75, 90, 75, 75, 50, 110, 75, 100, 75, 80, 80, 100, 50, 75" dataheight="25" defaultrows="1" ellipsis="true" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:4px; top:27px; width:1183px; height:614px; ">
  487. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  488. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  489. <col ref="ioflag" style="text-align:center; "/>
  490. <col ref="clamtypecd" style="text-align:center; "/>
  491. <col ref="clamdg" style="text-align:center; "/>
  492. <col ref="acptno" style="text-align:center; "/>
  493. <col ref="judgdg" style="text-align:center; "/>
  494. <col ref="ordfildcd" style="text-align:center; "/>
  495. <col ref="docuseqno" style="text-align:center; "/>
  496. <col ref="pid" style="text-align:center; "/>
  497. <col ref="patnm" style="text-align:center; "/>
  498. <col ref="depoprocinstmark" style="text-align:center; "/>
  499. <col ref="cpcd" style="text-align:center; "/>
  500. <col ref="assocd"/>
  501. <col ref="insuflag" style="text-align:center; "/>
  502. <col ref="calcjudgdg" style="text-align:center; "/>
  503. <col ref="calcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  504. <col ref="calcbizcd" style="text-align:center; "/>
  505. <col ref="calcbiznm"/>
  506. <col ref="calcflag"/>
  507. <col ref="cadecidifamt" format="(-)#,###" style="text-align:right; "/>
  508. <col ref="clmcstotamt" format="#,###" style="text-align:right; "/>
  509. <col ref="clsecuinstbamt" format="#,###" style="text-align:right; "/>
  510. <col ref="clhandicaprfund" format="#,###" style="text-align:right; "/>
  511. <col ref="clsubtamt" format="#,###" style="text-align:right; "/>
  512. <col ref="jrmcstotamt" format="#,###" style="text-align:right; "/>
  513. <col ref="jrjudgdeciamt" format="#,###" style="text-align:right; "/>
  514. <col ref="jrhandicaprfund" format="#,###" style="text-align:right; "/>
  515. <col ref="jrsubtamt" format="#,###" style="text-align:right; "/>
  516. <col ref="jradjtsum1" format="#,###" style="text-align:right; "/>
  517. <col ref="jradjtsum2" format="#,###" style="text-align:right; "/>
  518. <col ref="jradjtsum" format="#,###" style="text-align:right; "/>
  519. <col ref="adjtresn" style="text-align:center; "/>
  520. <col ref="obtappflag" style="text-align:center; "/>
  521. <col ref="matramt" format="#,###" style="text-align:right; "/>
  522. <col ref="actamt" format="#,###" style="text-align:right; "/>
  523. <col ref="obtappamtsum" format="#,###" style="text-align:right; "/>
  524. <col ref="obtappdocuno" style="text-align:center; "/>
  525. <col ref="obtappdd" format="yyyy-mm-dd" style="text-align:center; "/>
  526. <col ref="judgrid" style="text-align:center; "/>
  527. <col ref="decidocuno" style="text-align:center; "/>
  528. <col ref="decirepldd" format="yyyy-mm-dd" style="text-align:center; "/>
  529. <col ref="deciamt" format="#,###" style="text-align:right; "/>
  530. <col ref="f130_calcjudgdg" format="yyyy-mm-dd" style="text-align:center; "/>
  531. <col ref="f130_calcnotidd" format="yyyy-mm-dd" style="text-align:center; "/>
  532. <col ref="f130_decidifamtsum" format="#,###" style="text-align:right; "/>
  533. <col ref="clamdeptcd" style="text-align:left; "/>
  534. <col ref="orddrid" style="text-align:center; "/>
  535. <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  536. <script type="javascript" ev:event="oncopy">
  537. <![CDATA[
  538. grid_oncopy();
  539. ]]>
  540. </script>
  541. </datagrid>
  542. <button id="button7" class="btn2_letter6" style="left:1035px; top:5px; width:86px; height:19px; ">
  543. <caption>Open Excel</caption>
  544. <script type="javascript" ev:event="DOMActivate">
  545. <![CDATA[
  546. try {
  547. window.exec("excel");
  548. } catch(e) {
  549. alert(e);
  550. }
  551. ]]>
  552. </script>
  553. </button>
  554. <button id="button8" class="btn2_letter3" style="left:925px; top:5px; width:53px; height:19px; ">
  555. <caption>열카피</caption>
  556. <script type="javascript" ev:event="onclick">
  557. <![CDATA[
  558. grd_calcdgdepomed.attribute("selectionmode") = "bycol";
  559. ]]>
  560. </script>
  561. </button>
  562. <button id="button9" class="btn2_letter3" style="left:980px; top:5px; width:53px; height:19px; ">
  563. <caption>행카피</caption>
  564. <script type="javascript" ev:event="onclick">
  565. <![CDATA[
  566. grd_calcdgdepomed.attribute("selectionmode") = "byrow";
  567. ]]>
  568. </script>
  569. </button>
  570. <button id="button11" class="btn2_letter3" style="left:870px; top:5px; width:53px; height:19px; ">
  571. <caption>셀카피</caption>
  572. <script type="javascript" ev:event="onclick">
  573. <![CDATA[
  574. grd_payspec.attribute("selectionmode") = "free";
  575. ]]>
  576. </script>
  577. </button>
  578. </case>
  579. </switch>
  580. <select id="chk_oprcpcalcyn" ref="/root/send/oprcpcalcyn" overflow="visible" appearance="full" style="left:795px; top:21px; width:65px; height:15px; border-style:none; ">
  581. <choices>
  582. <item>
  583. <label>원외정산</label>
  584. <value>Y</value>
  585. </item>
  586. </choices>
  587. <script type="javascript" ev:event="onclick">
  588. <![CDATA[
  589. if(chk_oprcpcalcyn.value == "Y") {
  590. model.setValue("/root/init/P0459list/P0459/cdnm", "");
  591. // cmb_calcflag.value = "";
  592. } else {
  593. model.setValue("/root/init/P0459list/P0459/cdnm", "전체(원외제외)");
  594. // cmb_calcflag.value = "전체(원외제외)";
  595. }
  596. model.refresh();
  597. ]]>
  598. </script>
  599. </select>
  600. </group>
  601. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  602. </xhtml:body>
  603. </xhtml:html>