SMPIF70800_입금내역관리(자보).xrw 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900
  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>입금내역관리(자보)(SMPIF70800)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send01>
  11. <ioflag>O</ioflag>
  12. <termflag>1</termflag>
  13. <fromdd/>
  14. <todd/>
  15. <insucmpymark/>
  16. <patunitsrch1/>
  17. <patunitsrch2/>
  18. <endyn>N</endyn>
  19. </send01>
  20. <send02>
  21. <clamno/>
  22. <docuseqno/>
  23. <instcd/>
  24. <docuflag/>
  25. <insucmpymark/>
  26. <acptdd/>
  27. <acptno/>
  28. <acdacptno/>
  29. <clamamt/>
  30. </send02>
  31. </send>
  32. <main>
  33. <list01>
  34. <gridclamstat>
  35. <ioflag/>
  36. <acptdd/>
  37. <ordym/>
  38. <insucmpycd/>
  39. <docuseqno/>
  40. <patnm/>
  41. <patrrgstno/>
  42. <clamamt/>
  43. <acdacptno/>
  44. <clamno/>
  45. <acptno/>
  46. <instcd/>
  47. <docuflag/>
  48. </gridclamstat>
  49. </list01>
  50. <list02>
  51. <gridchkdocustat>
  52. <docuflag/>
  53. <tddeciyn/>
  54. <rtnyn/>
  55. <payclamacptdd/>
  56. <adjtamt/>
  57. <chkdocuacptdd/>
  58. <realcutamt/>
  59. <tddecicutamt/>
  60. <tdcomsamt/>
  61. <tdrestpayamt/>
  62. <tdrestrtnamt/>
  63. <clamno/>
  64. <docuseqno/>
  65. <instcd/>
  66. </gridchkdocustat>
  67. <griddepodetl>
  68. <depodd/>
  69. <depoflag/>
  70. <bankcd/>
  71. <acntcd/>
  72. <depocnt/>
  73. <depoamt/>
  74. <rtnscheamt/>
  75. <orgcutamt/>
  76. <tddecicutamt/>
  77. <notiym/>
  78. <rem/>
  79. <clamno/>
  80. <docuseqno/>
  81. <instcd/>
  82. <acptdd/>
  83. <acdacptno/>
  84. <acptno/>
  85. <insucmpymark/>
  86. <cutrate/>
  87. <seqno/>
  88. </griddepodetl>
  89. <gridrtndetl>
  90. <rtndd/>
  91. <rtnflag/>
  92. <stfrtnpatordym/>
  93. <stfrtnpatnm/>
  94. <rtncnt/>
  95. <rtnamt/>
  96. <notiym/>
  97. <rem/>
  98. <clamno/>
  99. <docuseqno/>
  100. <instcd/>
  101. <acptdd/>
  102. <acdacptno/>
  103. <acptno/>
  104. <insucmpymark/>
  105. <seqno/>
  106. </gridrtndetl>
  107. <rtnuncoamt>
  108. <balance/>
  109. <uncoamt/>
  110. </rtnuncoamt>
  111. </list02>
  112. <list03>
  113. <griddepodetl/>
  114. <gridrtndetl/>
  115. </list03>
  116. <patinfo>
  117. <patinfolist/>
  118. </patinfo>
  119. </main>
  120. <source>
  121. <judgdg/>
  122. <clamno/>
  123. <acptno/>
  124. <instcd/>
  125. <docuseqno/>
  126. <insucmpymark/>
  127. <rtndetlrow/>
  128. <rtnflag/>
  129. </source>
  130. <init>
  131. <P0028list>
  132. <P0028>
  133. <cdid/>
  134. <cdnm/>
  135. </P0028>
  136. </P0028list>
  137. <P0304list>
  138. <P0304>
  139. <cdid/>
  140. <cdnm/>
  141. </P0304>
  142. </P0304list>
  143. <P0268list>
  144. <P0268>
  145. <cdid/>
  146. <cdnm/>
  147. </P0268>
  148. </P0268list>
  149. <R0001list>
  150. <R0001>
  151. <cdid/>
  152. <cdnm/>
  153. </R0001>
  154. </R0001list>
  155. <U0001list>
  156. <U0001>
  157. <cd/>
  158. <nm/>
  159. </U0001>
  160. </U0001list>
  161. <P0251list>
  162. <P0251>
  163. <cdid/>
  164. <cdnm/>
  165. </P0251>
  166. </P0251list>
  167. <P0009list>
  168. <P0009>
  169. <cdid/>
  170. <cdnm/>
  171. </P0009>
  172. </P0009list>
  173. </init>
  174. <hidden>
  175. <sppmc02500>
  176. <cond>
  177. <srchcond/>
  178. <pid/>
  179. <hngnm/>
  180. <rrgstno1/>
  181. <rrgstno2/>
  182. <insukind/>
  183. </cond>
  184. </sppmc02500>
  185. </hidden>
  186. </root>
  187. </instance>
  188. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  189. <submission id="TRPIF70801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
  190. <submission id="TRPIF70802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send02" resultref="/root/main/list02"/>
  191. <submission id="TXPIF70801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list03" resultref="/root/main/result"/>
  192. <submission id="TXPIF70802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list03" resultref="/root/main/result2"/>
  193. <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
  194. <submission id="TXPIF70803" mediatype="application/x-www-form-urlencoded" method="post"/>
  195. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  196. </model>
  197. <script type="javascript" ev:event="xforms-ready">
  198. <![CDATA[
  199. // zbcfGetCodeList(new Array("P0028","P0302"), new Array( "/root/init/P0028list","/root/init/P0302list"));
  200. zbcfGetCodeList(new Array("P0268","P0304","R0001","P0251" ), new Array("/root/init/P0268list", "/root/init/P0304list","/root/init/R0001list", "/root/init/P0251list"));
  201. // 원무공통코드 - 금융기관, 계좌번호
  202. pamfGetCodeList(new Array("P0009"), new Array("/root/init/P0009list"));
  203. // 공통코드 Load작업
  204. CommCode_Load();
  205. if (checkOpener()) {
  206. var SMPIF70800_PARM = opener.javascript.getParameter("SMPIF70800_PARM");
  207. if ( SMPIF70800_PARM.length > 0 ) {
  208. var array_parm = SMPIF70800_PARM.split("▦");
  209. model.setValue("/root/send/send01/insucmpymark" , array_parm[0]); //손보사
  210. model.setValue("/root/send/send01/patunitsrch1" , array_parm[1]); //등록번호
  211. model.setValue("/root/send/send01/endyn" , array_parm[2]); //종결여부
  212. model.setValue("/root/send/send01/termflag" , array_parm[3]); //기간여부
  213. model.setValue("/root/send/send01/fromdd" , array_parm[4]); //시작년월
  214. model.setValue("/root/send/send01/todd" , array_parm[5]); //종료년월
  215. model.setValue("/root/send/send01/ioflag" , array_parm[6]); //내원유형
  216. if ( submit("TRPIF70801") ) {
  217. grd_clamstat.row = 1;
  218. var row = grd_clamstat.row;
  219. model.resetInstanceNode("/root/send/send02");
  220. if(grd_clamstat.valueMatrix(row,10) != "") {
  221. model.setValue("/root/send/send02/clamno" ,grd_clamstat.valueMatrix(row,10));
  222. model.setValue("/root/send/send02/docuseqno" ,grd_clamstat.valueMatrix(row,5));
  223. model.setValue("/root/send/send02/acptdd" ,grd_clamstat.valueMatrix(row,2));
  224. model.setValue("/root/send/send02/acptno" ,grd_clamstat.valueMatrix(row,11));
  225. model.setValue("/root/send/send02/acdacptno" ,grd_clamstat.valueMatrix(row,9));
  226. model.setValue("/root/send/send02/insucmpymark" ,grd_clamstat.valueMatrix(row,4));
  227. model.setValue("/root/send/send02/clamamt" ,grd_clamstat.valueMatrix(row,8));
  228. model.removenode("/root/main/list02");
  229. submit("TRPIF70802");
  230. }
  231. }
  232. }
  233. } else {
  234. model.setValue("/root/send/send01/todd" , getCurrentDate().substr(0, 6));
  235. model.setValue("/root/send/send01/fromdd" , getCurrentDate().toDate().getAddDate(-90).getDateFormat("YYYYMM"));
  236. }
  237. model.refresh();
  238. ]]>
  239. </script>
  240. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  241. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  242. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  243. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  244. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  245. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  246. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  247. <script type="javascript">
  248. <![CDATA[
  249. function Node_Init() {
  250. }
  251. // 공통코드 Load작업
  252. function CommCode_Load() {
  253. submit("TRPIF70305");
  254. }
  255. function fGetInAftJudgTrgtManList(){
  256. // 환자단위조회를 하는 경우
  257. var patunitsrch1 = model.getValue("/root/send/send01/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
  258. model.setValue("/root/send/send01/patunitsrch1", patunitsrch1);
  259. if (patunitsrch1 == "") {
  260. model.setValue("/root/send/send01/patunitsrch2", "");
  261. }
  262. else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
  263. /** [2007.03.23 jumi]
  264. Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
  265. */
  266. // if (patunitsrch1.length < 8) {
  267. // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
  268. // }
  269. model.setValue("/root/send/send01/patunitsrch2", "pidSrch");
  270. } else { // 문자가 입력된 경우 환자이름으로 조회한다.
  271. if (patunitsrch1.length > 1) {
  272. model.setValue("/root/send/send01/patunitsrch2", "nmSrch");
  273. } else {
  274. model.setValue("/root/send/send01/patunitsrch2", "");
  275. model.refresh();
  276. messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
  277. return;
  278. }
  279. }
  280. }
  281. // 청구서 선택시 하위 그리드 조회
  282. function fGetDetlList(){
  283. var row = grd_clamstat.row;
  284. model.resetInstanceNode("/root/send/send02");
  285. if(grd_clamstat.valueMatrix(row,10) != "") {
  286. model.setValue("/root/send/send02/clamno" ,grd_clamstat.valueMatrix(row,10));
  287. model.setValue("/root/send/send02/docuseqno" ,grd_clamstat.valueMatrix(row,5));
  288. model.setValue("/root/send/send02/acptdd" ,grd_clamstat.valueMatrix(row,2));
  289. model.setValue("/root/send/send02/acptno" ,grd_clamstat.valueMatrix(row,11));
  290. model.setValue("/root/send/send02/acdacptno" ,grd_clamstat.valueMatrix(row,9));
  291. model.setValue("/root/send/send02/insucmpymark" ,grd_clamstat.valueMatrix(row,4));
  292. model.setValue("/root/send/send02/clamamt" ,grd_clamstat.valueMatrix(row,8));
  293. model.setValue("/root/send/send02/docuflag" ,grd_clamstat.valueMatrix(row,13));
  294. model.removenode("/root/main/list02");
  295. submit("TRPIF70802");
  296. }
  297. }
  298. // round 함수 ( val = 값, precision= 소숫점 자릿수)
  299. function fRound(val, precision) {
  300. val = val * Math.pow(10,precision);
  301. val = Math.round(val);
  302. return val/Math.pow(10,precision);
  303. }
  304. ]]>
  305. </script>
  306. </xhtml:head>
  307. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  308. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  309. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:164px; height:14px; ">입금내역관리(자보)</caption>
  310. </group>
  311. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  312. <line id="line5" class="line_1" style="x1:0px; y1:435px; x2:1194px; y2:435px; "/>
  313. <caption id="caption8" class="tit_2" style="left:6px; top:420px; width:229px; height:14px; ">입금내역(piehatdp)</caption>
  314. <caption id="caption16" class="tit_2" style="left:6px; top:595px; width:126px; height:14px; ">환수내역(pifhrtat)</caption>
  315. <line id="line9" class="line_1" style="x1:0px; y1:610px; x2:1194px; y2:610px; "/>
  316. <button id="button4" class="btn2_letter3" style="left:1039px; top:414px; width:53px; height:19px; ">
  317. <caption>행추가</caption>
  318. <script type="javascript" ev:event="onclick">
  319. <![CDATA[
  320. if ( grd_clamstat.row < 1 ) {
  321. messageBox("추가할 대상을 선택하세요..!","E999");
  322. return;
  323. }
  324. grd_depodetl.addRow();
  325. var row_cnt = grd_depodetl.row;
  326. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/clamno" ,model.getValue("/root/send/send02/clamno")); //청구번호
  327. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/docuseqno" ,model.getValue("/root/send/send02/docuseqno")); //명세서일련번호
  328. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/acptno" ,model.getValue("/root/send/send02/acptno")); //접수번호
  329. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/insucmpymark" ,model.getValue("/root/send/send02/insucmpymark")); //보험사기호
  330. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/acptdd" ,model.getValue("/root/send/send02/acptdd")); //청구일자(접수일자)
  331. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/acdacptno" ,model.getValue("/root/send/send02/acdacptno")); //사고접수번호
  332. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/depoflag" ,"01"); //입금구분(1차 지급 01로 Default Setting)
  333. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/depodd" ,getCurrentDate()); //입금일자
  334. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/bankcd" ,model.getValue("/root/init/P0009list/P0009[2]/cdid")); //금융기관코드
  335. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/acntcd" ,model.getValue("/root/init/P0009list/P0009[3]/cdnm")); //계좌번호
  336. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/depocnt" ,1); //입금건수
  337. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/depoamt" ,0); //입금액
  338. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/rtnscheamt" ,0); //환수예정액
  339. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/tddecicutamt" ,0); //분심결정삭감액
  340. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/orgcutamt" ,0); //실삭감액(최종)
  341. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/cutrate" ,0); //삭감율
  342. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/notiym" ,getCurrentDate().substring(0,6)); //재무통보월
  343. model.setValue("/root/main/list02/griddepodetl[" + row_cnt + "]/rem" ,"-"); //참고사항
  344. ]]>
  345. </script>
  346. </button>
  347. <button id="button5" class="btn5_letter2" style="left:1151px; top:414px; width:42px; height:19px; ">
  348. <caption>저장</caption>
  349. <script type="javascript" ev:event="onclick">
  350. <![CDATA[
  351. var clamstat_row = grd_clamstat.row;
  352. var rows = grd_depodetl.rows;
  353. // for(var i=1;i<rows;i++) {
  354. // grd_depodetl.valueMatrix(i,13) = model.getValue("/root/send/send02/clamno");
  355. // grd_depodetl.valueMatrix(i,14) = model.getValue("/root/send/send02/docuseqno");
  356. // grd_depodetl.valueMatrix(i,15) = model.getValue("/root/send/send02/instcd");
  357. // grd_depodetl.valueMatrix(i,16) = grd_clamstat.valueMatrix(clamstat_row,2);
  358. // grd_depodetl.valueMatrix(i,17) = grd_clamstat.valueMatrix(clamstat_row,9);
  359. // }
  360. model.setValue("/root/main/list03/griddepodetl", grd_depodetl.getUpdateData());
  361. submit("TXPIF70801");
  362. submit("TRPIF70802");
  363. ]]>
  364. </script>
  365. </button>
  366. <button id="button6" class="btn2_letter3" style="left:1095px; top:414px; width:53px; height:19px; ">
  367. <caption>행삭제</caption>
  368. <script type="javascript" ev:event="onclick">
  369. <![CDATA[
  370. grd_depodetl.rowStatus(grd_depodetl.row) = "4";
  371. model.setValue("/root/main/list03/griddepodetl", grd_depodetl.getUpdateData());
  372. if(messageBox("선택하신 데이터를","Q001") == "6") {
  373. submit("TXPIF70801");
  374. grd_depodetl.deleteRow(grd_depodetl.row);
  375. } else {
  376. return false;
  377. }
  378. ]]>
  379. </script>
  380. </button>
  381. <button id="button7" class="btn2_letter3" style="left:1039px; top:589px; width:53px; height:19px; ">
  382. <caption>행추가</caption>
  383. <script type="javascript" ev:event="onclick">
  384. <![CDATA[
  385. if ( grd_clamstat.row < 1 ) {
  386. messageBox("추가할 대상을 선택하세요..!","E999");
  387. return;
  388. }
  389. grd_rtndetl.addRow();
  390. var row_cnt = grd_rtndetl.row;
  391. // 청구내역 클릭시 /root/send/send02 에 해당 row의 정보를 담아 두었다.
  392. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/clamno" ,model.getValue("/root/send/send02/clamno")); //청구번호
  393. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/docuseqno" ,model.getValue("/root/send/send02/docuseqno")); //명세서일련번호
  394. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/acptno" ,model.getValue("/root/send/send02/acptno")); //접수번호
  395. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/insucmpymark" ,model.getValue("/root/send/send02/insucmpymark")); //보험사기호
  396. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/acptdd" ,model.getValue("/root/send/send02/acptdd")); //청구일자(접수일자)
  397. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/acdacptno" ,model.getValue("/root/send/send02/acdacptno")); //사고접수번호
  398. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/rtnflag" ,"01"); //환수구분(01:과지급환수)
  399. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/rtndd" ,getCurrentDate()); //환수일자
  400. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/rtnamt" ,0); //환수액
  401. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/rtncnt" ,1); //환수건수
  402. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/stfrtnpatordym" ,"000000"); //상계환수수진자진료년월
  403. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/stfrtnpatnm" ,"-"); //상계환수수진자명
  404. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/notiym" ,getCurrentDate().substring(0,6)); //재무통보월
  405. model.setValue("/root/main/list02/gridrtndetl[" + row_cnt + "]/rem" ,"-"); //참고사항
  406. ]]>
  407. </script>
  408. </button>
  409. <button id="button8" class="btn5_letter2" style="left:1151px; top:589px; width:42px; height:19px; ">
  410. <caption>저장</caption>
  411. <script type="javascript" ev:event="onclick">
  412. <![CDATA[
  413. var row = grd_rtndetl.row;
  414. if (grd_rtndetl.valueMatrix(row, grd_rtndetl.colRef("rtnflag")) != "") {
  415. model.setValue("/root/main/list03/gridrtndetl", grd_rtndetl.getUpdateData());
  416. submit("TXPIF70802");
  417. submit("TRPIF70802");
  418. } else {
  419. messageBox("환수구분을","C002");
  420. }
  421. ]]>
  422. </script>
  423. </button>
  424. <button id="button9" class="btn2_letter3" style="left:1095px; top:589px; width:53px; height:19px; ">
  425. <caption>행삭제</caption>
  426. <script type="javascript" ev:event="onclick">
  427. <![CDATA[
  428. grd_rtndetl.rowStatus(grd_rtndetl.row) = "4";
  429. model.setValue("/root/main/list03/gridrtndetl", grd_rtndetl.getUpdateData());
  430. if(messageBox("선택하신 데이터를","Q001") == "6") {
  431. submit("TXPIF70802");
  432. grd_rtndetl.deleteRow(grd_rtndetl.row);
  433. } else {
  434. return false;
  435. }
  436. ]]>
  437. </script>
  438. </button>
  439. <group id="group2" style="left:0px; top:5px; width:1194px; height:47px; vertical-align:top; ">
  440. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:43px; background-color:#fffbf2; border-color:#ffd799; "/>
  441. <button id="button36" class="btn1_letter2" style="left:1126px; top:12px; width:56px; height:22px; ">
  442. <caption>조회</caption>
  443. <script type="javascript" ev:event="onclick">
  444. <![CDATA[
  445. if(cmb_insucmpymark.value == "") {
  446. messageBox("손보사명을","C002");
  447. model.setFocus("cmb_insucmpymark");
  448. return false;
  449. }
  450. // if(ipt_patunitsrch.value == "") {
  451. // messageBox("환자단위조회를","C001");
  452. // model.setFocus("ipt_patunitsrch");
  453. // return false;
  454. // }
  455. if(ipt_patunitsrch.value == "") {
  456. model.setValue("/root/send/send01/patunitsrch2","");
  457. } else {
  458. fGetInAftJudgTrgtManList();
  459. }
  460. model.removeNode("/root/main/list01");
  461. model.removeNode("/root/main/list02");
  462. // model.removeNode("/root/main/list03");
  463. model.reset("/root/main/list03"); // 2010.02.08 리셋노드로 변경. remove하면 저장시 오류
  464. if ( submit("TRPIF70801") ) {
  465. grd_clamstat.row = 1;
  466. fGetDetlList(); // 하위 그리드 자동 조회
  467. // grd_clamstat.dispatch("onclick");
  468. }
  469. ]]>
  470. </script>
  471. </button>
  472. <line id="line11" style="x1:1115px; y1:12px; x2:1115px; y2:34px; border-color:#ffe4bb; border-left-style:solid; "/>
  473. <caption id="caption2" class="search_name" style="left:970px; top:14px; width:86px; height:17px; ">내원유형 :</caption>
  474. <select1 id="radio3" ref="/root/send/send01/ioflag" appearance="full" cellspacing="5" cols="1" rows="2" vcellspacing="-2" overflow="visible" style="left:1060px; top:9px; width:45px; height:28px; border-style:none; ">
  475. <choices>
  476. <item>
  477. <label>입원</label>
  478. <value>I</value>
  479. </item>
  480. <item>
  481. <label>외래</label>
  482. <value>O</value>
  483. </item>
  484. </choices>
  485. </select1>
  486. <caption id="caption1" class="search_name" style="left:10px; top:14px; width:86px; height:17px; ">손보사명 :</caption>
  487. <select1 id="cmb_insucmpymark" ref="/root/send/send01/insucmpymark" class="combo_s_essential" appearance="minimal" style="left:98px; top:13px; width:120px; height:19px; ">
  488. <choices>
  489. <itemset nodeset="/root/init/U0001list/U0001">
  490. <label ref="nm"/>
  491. <value ref="cd"/>
  492. </itemset>
  493. </choices>
  494. </select1>
  495. <select1 id="rdo_termflag" ref="/root/send/send01/termflag" appearance="full" cellspacing="5" cols="1" rows="2" vcellspacing="-2" overflow="visible" style="left:734px; top:7px; width:73px; height:31px; border-style:none; ">
  496. <choices>
  497. <item>
  498. <label>청구년월</label>
  499. <value>1</value>
  500. </item>
  501. <item>
  502. <label>진료년월</label>
  503. <value>2</value>
  504. </item>
  505. </choices>
  506. </select1>
  507. <input id="ipt_fromdd" ref="/root/send/send01/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:811px; top:12px; width:70px; height:19px; "/>
  508. <input id="ipt_todd" ref="/root/send/send01/todd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:896px; top:12px; width:70px; height:19px; "/>
  509. <caption id="caption4" class="search_no_b" style="left:882px; top:12px; width:12px; height:17px; ">~</caption>
  510. <input id="ipt_patunitsrch" ref="/root/send/send01/patunitsrch1" class="input_s_essential" inputtype="button" style="left:340px; top:12px; width:80px; height:19px; ">
  511. <hint>
  512. <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
  513. </hint>
  514. <script type="javascript" ev:event="onkeypress">
  515. <![CDATA[
  516. if (event.keyCode == "13") { // Enter 입력 시에
  517. if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
  518. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  519. fGetInAftJudgTrgtManList();
  520. }
  521. }
  522. ]]>
  523. </script>
  524. <script type="javascript" ev:event="onbuttonclick">
  525. <![CDATA[
  526. var ipt_pid = model.getValue("/root/send/send01/patunitsrch1");
  527. if (ipt_pid) {
  528. if(ipt_pid.isNumber()) {
  529. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  530. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
  531. } else {
  532. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "2"); // 검색조건 : 환자명으로 설정
  533. model.setValue("/root/hidden/sppmc02500/cond/hngnm", ipt_pid);
  534. }
  535. } else {
  536. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  537. }
  538. model.setValue("/root/hidden/sppmc02500/cond/insukind", "31");
  539. modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
  540. // 환자단위조회 InputBox에 값을 입력후 팝업조회했을 때
  541. if (ipt_pid != "") {
  542. if(ipt_pid.isNumber()) {
  543. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  544. model.setValue("/root/send/send01/patunitsrch1", srch_pid);
  545. } else {
  546. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  547. model.setValue("/root/send/send01/patunitsrch1", srch_pid);
  548. }
  549. } else {
  550. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  551. model.setValue("/root/send/send01/patunitsrch1", srch_pid);
  552. }
  553. model.refresh();
  554. fGetInAftJudgTrgtManList();
  555. ]]>
  556. </script>
  557. </input>
  558. <caption id="caption18" class="search_name" style="left:225px; top:13px; width:112px; height:17px; ">환자단위조회 :</caption>
  559. <caption id="caption5" class="search_name" style="left:430px; top:13px; width:90px; height:17px; ">종결여부 :</caption>
  560. <select1 id="radio1" ref="/root/send/send01/endyn" appearance="full" cellspacing="1" cols="3" vcellspacing="-2" overflow="visible" style="left:516px; top:15px; width:149px; height:20px; border-style:none; ">
  561. <choices>
  562. <item>
  563. <label>전체</label>
  564. <value>A</value>
  565. </item>
  566. <item>
  567. <label>완료</label>
  568. <value>Y</value>
  569. </item>
  570. <item>
  571. <label>미완료</label>
  572. <value>N</value>
  573. </item>
  574. </choices>
  575. </select1>
  576. <caption id="caption9" class="search_name" style="left:670px; top:14px; width:65px; height:17px; ">기간 :</caption>
  577. </group>
  578. <caption id="caption3" class="tit_2" style="left:6px; top:56px; width:289px; height:14px; ">청구현황(pifmintd)</caption>
  579. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  580. <caption id="caption7" class="tit_2" style="left:6px; top:200px; width:366px; height:14px; ">검토현황(pifhrstd AND piehc301 + piehc401 + pifmtrds)</caption>
  581. <line id="line2" class="line_1" style="x1:0px; y1:215px; x2:1194px; y2:215px; "/>
  582. <datagrid id="datagrid3" nodeset="/root/main/list02/gridchkdocustat" caption="서식구분^분심여부^반송여부^지급청구접수일자^조정액^동의서발송일자^자보실삭감액^분심결정삭감액^분심수수료^분심이자지급액^분심이자환수액" colsep="^" colwidth="71, 70, 70, 120, 120, 100, 120, 120, 120, 120, 120, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:220px; width:1194px; height:119px; ">
  583. <col disabled="true" ref="docuflag" type="combo" style="text-align:center; ">
  584. <choices>
  585. <itemset nodeset="/root/init/P0251list/P0251">
  586. <label ref="cdnm"/>
  587. <value ref="cdid"/>
  588. </itemset>
  589. </choices>
  590. </col>
  591. <col disabled="true" ref="tddeciyn" type="combo" style="text-align:center; ">
  592. <choices>
  593. <item>
  594. <label>Y</label>
  595. <value>Y</value>
  596. </item>
  597. <item>
  598. <label>N</label>
  599. <value>N</value>
  600. </item>
  601. </choices>
  602. </col>
  603. <col disabled="true" ref="rtnyn" type="combo" style="text-align:center; ">
  604. <choices>
  605. <item>
  606. <label>Y</label>
  607. <value>Y</value>
  608. </item>
  609. <item>
  610. <label>N</label>
  611. <value>N</value>
  612. </item>
  613. </choices>
  614. </col>
  615. <col ref="payclamacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  616. <col ref="adjtamt" format="(-)#,###" style="text-align:right; "/>
  617. <col ref="chkdocuacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  618. <col ref="realcutamt" format="(-)#,###" style="text-align:right; "/>
  619. <col ref="tddecicutamt" format="(-)#,###" style="text-align:right; "/>
  620. <col ref="tdcomsamt" format="(-)#,###" style="text-align:right; "/>
  621. <col ref="tdrestpayamt" format="(-)#,###" style="text-align:right; "/>
  622. <col ref="tdrestrtnamt" format="(-)#,###" style="text-align:right; "/>
  623. <col ref="clamno" visibility="hidden"/>
  624. <col ref="docuseqno" visibility="hidden"/>
  625. <col ref="instcd" visibility="hidden"/>
  626. </datagrid>
  627. <line id="line3" class="line_1" style="x1:0px; y1:367px; x2:1194px; y2:367px; "/>
  628. <input id="input34" ref="/root/main/list02/rtnuncoamt/uncoamt" class="input_default" format="(-)#,###" style="left:1073px; top:376px; width:121px; height:19px; text-align:right; "/>
  629. <line id="line14" class="line_3" style="x1:0px; y1:400px; x2:1194px; y2:400px; "/>
  630. <caption id="caption45" class="cell_1" style="left:757px; top:371px; width:93px; height:28px; text-align:center; vertical-align:middle; ">환수잔액</caption>
  631. <caption id="caption46" class="cell_1" style="left:977px; top:371px; width:93px; height:28px; text-align:center; vertical-align:middle; ">미수금</caption>
  632. <input id="input36" ref="/root/main/list02/rtnuncoamt/balance" class="input_default" format="(-)#,###" style="left:853px; top:376px; width:121px; height:19px; text-align:right; "/>
  633. <datagrid id="grd_clamstat" nodeset="/root/main/list01/gridclamstat" caption="내원유형^청구일자^진료월^손보사명^명일련^수진자^주민번호^청구액^사고접수번호" colsep="^" colwidth="125, 125, 125, 160, 125, 125, 128, 128, 130, 130, 130, 130" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:76px; width:1194px; height:111px; ">
  634. <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
  635. <choices>
  636. <item>
  637. <label>입원</label>
  638. <value>I</value>
  639. </item>
  640. <item>
  641. <label>외래</label>
  642. <value>O</value>
  643. </item>
  644. </choices>
  645. </col>
  646. <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  647. <col ref="ordym" format="yyyy-mm" style="text-align:center; "/>
  648. <col disabled="true" ref="insucmpymark" type="combo" style="text-align:center; ">
  649. <choices>
  650. <itemset nodeset="/root/init/U0001list/U0001">
  651. <label ref="nm"/>
  652. <value ref="cd"/>
  653. </itemset>
  654. </choices>
  655. </col>
  656. <col ref="docuseqno" style="text-align:center; "/>
  657. <col ref="patnm" style="text-align:center; "/>
  658. <col ref="patrrgstno" style="text-align:center; "/>
  659. <col ref="clamamt" format="(-)#,###" style="text-align:center; "/>
  660. <col ref="acdacptno" style="text-align:center; "/>
  661. <col ref="clamno" visibility="hidden"/>
  662. <col ref="acptno" visibility="hidden"/>
  663. <col ref="instcd" visibility="hidden"/>
  664. <col ref="docuflag" visibility="hidden"/>
  665. <script type="javascript" ev:event="onclick">
  666. <![CDATA[
  667. if( grd_clamstat.isCell(event.target) && grd_clamstat.row >= grd_clamstat.fixedRows ){
  668. fGetDetlList();
  669. }
  670. ]]>
  671. </script>
  672. </datagrid>
  673. <datagrid id="grd_depodetl" nodeset="/root/main/list02/griddepodetl" caption="입금일자^입금구분^금융기관^계좌번호^건수^입금액^환수예정액^자보실삭감액(최종)^분심결정삭감액^재무통보월^비고" colsep="^" colwidth="90, 90, 94, 120, 57, 90, 90, 115, 90, 90, 232, 151, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:440px; width:1194px; height:145px; ">
  674. <col ref="depodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  675. <script type="javascript" ev:event="xforms-value-changed">
  676. <![CDATA[
  677. if ( grd_depodetl.col == grd_depodetl.colRef("depodd")) {
  678. var row = grd_depodetl.row;
  679. var notimm = grd_depodetl.valueMatrix(row,1);
  680. grd_depodetl.valueMatrix(row,10) = notimm.substring(0,6);
  681. }
  682. ]]>
  683. </script>
  684. <col ref="depoflag" type="combo" style="text-align:center; ">
  685. <choices>
  686. <itemset nodeset="/root/init/P0268list/P0268">
  687. <label ref="cdnm"/>
  688. <value ref="cdid"/>
  689. </itemset>
  690. </choices>
  691. </col>
  692. <col disabled="true" ref="bankcd" type="combo" style="text-align:center; ">
  693. <choices>
  694. <itemset nodeset="/root/init/P0009list/P0009">
  695. <label ref="cdnm"/>
  696. <value ref="cdid"/>
  697. </itemset>
  698. </choices>
  699. </col>
  700. <script type="javascript" ev:event="xforms-value-changed">
  701. <![CDATA[
  702. // 금융기관 선택시 계좌번호 자동셋팅, 원무공통코드의 상세설명을 계좌번호로 사용함.
  703. if(grd_depodetl.col == grd_depodetl.colRef("bankcd")) {
  704. if ( grd_depodetl.valueMatrix(grd_depodetl.row, grd_depodetl.colRef("bankcd")) != "" ) {
  705. grd_depodetl.valueMatrix(grd_depodetl.row, grd_depodetl.colRef("acntcd")) = model.getValue("/root/init/P0009list/P0009[cdid="
  706. + grd_depodetl.valueMatrix(grd_depodetl.row, grd_depodetl.colRef("bankcd")) + "]/detl");
  707. } else {
  708. grd_depodetl.valueMatrix(grd_depodetl.row, grd_depodetl.colRef("acntcd")) = "";
  709. }
  710. }
  711. ]]>
  712. </script>
  713. <col ref="acntcd" type="output" style="text-align:center; "/>
  714. <col ref="depocnt" type="input" style="text-align:center; "/>
  715. <col ref="depoamt" type="input" format="(-)#,###" style="text-align:right; "/>
  716. <col ref="rtnscheamt" type="input" format="(-)#,###" style="text-align:right; "/>
  717. <col ref="orgcutamt" type="input" format="(-)#,###" style="text-align:right; "/>
  718. <script type="javascript" ev:event="xforms-value-changed">
  719. <![CDATA[
  720. // 삭감률 구하기
  721. var row = grd_depodetl.row;
  722. var orgcutamt = grd_depodetl.valueMatrix(row,8); //실삭감액
  723. var clamamt = model.getValue("/root/send/send02/clamamt"); //청구액
  724. grd_depodetl.valueMatrix(row,19) = fRound((orgcutamt / clamamt) * 100, 2); //삭감률
  725. ]]>
  726. </script>
  727. <col ref="tddecicutamt" type="input" format="(-)#,###" style="text-align:right; "/>
  728. <col ref="notiym" type="inputdate" format="yyyy-mm" maxlength="6" style="text-align:center; "/>
  729. <col ref="rem" type="input"/>
  730. <col ref="clamno" visibility="hidden"/>
  731. <col ref="docuseqno" visibility="hidden"/>
  732. <col ref="instcd" visibility="hidden"/>
  733. <col ref="acptdd" visibility="hidden"/>
  734. <col ref="acdacptno" visibility="hidden"/>
  735. <col ref="acptno" visibility="hidden"/>
  736. <col ref="insucmpymark" visibility="hidden" style="left:1845px; top:23px; width:100px; height:23px; "/>
  737. <col ref="cutrate" visibility="hidden" style="left:1945px; top:23px; width:100px; height:23px; "/>
  738. <col ref="seqno" visibility="hidden"/>
  739. </datagrid>
  740. <datagrid id="grd_rtndetl" nodeset="/root/main/list02/gridrtndetl" caption="환수일자^환수구분^상계수진자미수월^상계수진자^환수건수^환수금액^재무통보월^비고" colsep="^" colwidth="106, 110, 120, 100, 90, 110, 100, 387, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:615px; width:1194px; height:105px; ">
  741. <col ref="rtndd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  742. <script type="javascript" ev:event="xforms-value-changed">
  743. <![CDATA[
  744. var row = grd_rtndetl.row;
  745. var notimm = grd_rtndetl.valueMatrix(row,1);
  746. grd_rtndetl.valueMatrix(row,7) = notimm.substring(0,6);
  747. ]]>
  748. </script>
  749. <col ref="rtnflag" type="combo" style="text-align:center; ">
  750. <choices>
  751. <itemset nodeset="/root/init/P0304list/P0304">
  752. <label ref="cdnm"/>
  753. <value ref="cdid"/>
  754. </itemset>
  755. </choices>
  756. </col>
  757. <script type="javascript" ev:event="xforms-select">
  758. <![CDATA[
  759. // 환수잔액조회 팝업 호출
  760. if(grd_rtndetl.col == grd_rtndetl.colRef("rtnflag")) {
  761. var row = grd_rtndetl.row;
  762. var rtnflag = grd_rtndetl.valueMatrix(row, grd_rtndetl.colRef("rtnflag"));
  763. // 환수저장시 사용될 청구번호,명일련번호
  764. model.setValue("/root/source/clamno", model.getValue("/root/main/list01/gridclamstat/clamno"));
  765. model.setValue("/root/source/docuseqno", model.getValue("/root/main/list01/gridclamstat/docuseqno"));
  766. // model.setValue("/root/source/acptno", model.getValue("/root/main/list01/gridclamstat/acptno"));
  767. model.setValue("/root/source/instcd", model.getValue("/root/main/list01/gridclamstat/instcd"));
  768. model.setValue("/root/source/insucmpymark", grd_clamstat.valueMatrix(grd_clamstat.row, grd_clamstat.colRef("insucmpymark"))); //선택된 보험사 기호
  769. model.makeNode("/root/source/openerflag");
  770. model.setValue("/root/source/openerflag","자보");
  771. model.makeValue("/root/source/rtnflag", rtnflag);
  772. model.makeNode("/root/source/rtnflaggrcd");
  773. model.makeNode("/root/source/allsrchyn");
  774. model.setValue("/root/source/rtndetlrow",""); // 2010.02.17 환수내역에서 팝업 띄울 경우
  775. // 환수잔액조회(자보) 팝업화면
  776. modal("SPPIF30311", 1, "", "", "SPPIF30311", "/root/source", "/root/send");
  777. }
  778. ]]>
  779. </script>
  780. <col ref="stfrtnpatordym" type="inputdate" format="yyyy-mm" maxlength="6" style="text-align:center; "/>
  781. <script type="javascript" ev:event="xforms-value-changed">
  782. <![CDATA[
  783. // 상계환수수진자진료월이 6자리가 넘을 경우 앞에서 6자리까지만 취함. 나머진 버림
  784. var row = grd_rtndetl.row;
  785. var patordmm = grd_rtndetl.valueMatrix(row,3);
  786. if(patordmm.length > 6) {
  787. model.setValue("/root/main/list02/gridrtndetl["+row+"]/stfrtnpatordmm", patordmm.substring(0,6));
  788. }
  789. ]]>
  790. </script>
  791. <col ref="stfrtnpatnm" type="input" style="text-align:center; "/>
  792. <col ref="rtncnt" type="input" style="text-align:center; "/>
  793. <col ref="rtnamt" type="input" format="(-)#,###" style="text-align:right; "/>
  794. <col ref="notiym" type="inputdate" format="yyyy-mm" maxlength="6" style="text-align:center; "/>
  795. <script type="javascript" ev:event="xforms-value-changed">
  796. <![CDATA[
  797. // 재무통보월이 6자리가 넘을 경우 앞에서 6자리까지만 취함. 나머진 버림
  798. var row = grd_rtndetl.row;
  799. var notimm = grd_rtndetl.valueMatrix(row,7);
  800. if(notimm.length > 6) {
  801. model.setValue("/root/main/list02/gridrtndetl["+row+"]/notimm", notimm.substring(0,6));
  802. }
  803. ]]>
  804. </script>
  805. <col ref="rem" type="input"/>
  806. <col ref="clamno" visibility="hidden"/>
  807. <col ref="docuseqno" visibility="hidden"/>
  808. <col ref="instcd" visibility="hidden"/>
  809. <col ref="acptdd" visibility="hidden"/>
  810. <col ref="acdacptno" visibility="hidden"/>
  811. <col ref="acptno" visibility="hidden"/>
  812. <col ref="dg" visibility="hidden"/>
  813. <col ref="insucmpymark" visibility="hidden"/>
  814. <col ref="seqno" visibility="hidden"/>
  815. <col ref="rtnclamno" visibility="hidden"/>
  816. <col ref="rtndocuseqno" visibility="hidden"/>
  817. <col ref="rtnseqno" visibility="hidden"/>
  818. </datagrid>
  819. <caption id="caption11" style="left:570px; top:195px; width:587px; height:20px; ">* 자보실삭감액 : 동의액(C401.aprvamt) + 분심결정삭감액(trds.tddecicutamt) + 분심수수료(trds.tdcomsamt)</caption>
  820. <caption id="caption10" style="left:5px; top:375px; width:403px; height:20px; ">* 환수잔액 = 환수예정액(atdp.rtnscheamt - 환수액(rtat.rtnamt)</caption>
  821. <caption id="caption12" style="left:5px; top:345px; width:862px; height:20px; ">* 미수액 = 청구액-통장입금액(과지급,이자지급제외)+환수예정액(과지급,이자지급제외 )-환수액(rtat.rtnamt)-자보실삭감액(최종)-분심결정삭감액</caption>
  822. <button id="button10" class="btn2_letter6" style="left:1105px; top:346px; width:86px; height:19px; ">
  823. <caption>환수잔액조회</caption>
  824. <script type="javascript" ev:event="onclick">
  825. <![CDATA[
  826. model.setValue("/root/source/clamno", model.getValue("/root/main/list01/gridclamstat/clamno"));
  827. model.setValue("/root/source/docuseqno", model.getValue("/root/main/list01/gridclamstat/docuseqno"));
  828. model.setValue("/root/source/acptno", model.getValue("/root/main/list01/gridclamstat/acptno"));
  829. model.setValue("/root/source/instcd", model.getValue("/root/main/list01/gridclamstat/instcd"));
  830. model.setValue("/root/source/insucmpymark", grd_clamstat.valueMatrix(grd_clamstat.row, grd_clamstat.colRef("insucmpymark"))); //선택된 보험사 기호
  831. model.makeNode("/root/source/openerflag");
  832. model.setValue("/root/source/openerflag","자보");
  833. model.setValue("/root/source/rtnflag","");
  834. model.makeNode("/root/source/rtnflaggrcd");
  835. model.makeNode("/root/source/allsrchyn");
  836. model.setValue("/root/source/rtndetlrow","A"); // 2010.02.17 잔액조회팝업일 경우
  837. // 메모입력창 팝업화면
  838. modal("SPPIF30311", 1, "", "", "SPPIF30311", "/root/source", "/root/send");
  839. //window.load("SPPIF30310.xrw", "modal", "SPPIF30310", "", "/root/source", "/root/send");
  840. ]]>
  841. </script>
  842. </button>
  843. </group>
  844. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
  845. </xhtml:body>
  846. </xhtml:html>