SMPIF30300_입금내역관리(보험산재).xrw 84 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>입금내역관리(보험산재)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send01>
  11. <insukind>11</insukind>
  12. <acptno/>
  13. <judgdg/>
  14. <clamno/>
  15. <datefilter/>
  16. <clamtypecd/>
  17. <insuflag/>
  18. </send01>
  19. <send02>
  20. </send02>
  21. <uncoendprcs>
  22. <insukindflag>1</insukindflag>
  23. </uncoendprcs>
  24. </send>
  25. <main>
  26. <list001>
  27. <U0001>
  28. <clamno/>
  29. </U0001>
  30. <acptnocnt>
  31. <cnt/>
  32. </acptnocnt>
  33. </list001>
  34. <list002>
  35. <U0002>
  36. <judgdg/>
  37. <setno/>
  38. </U0002>
  39. </list002>
  40. <list003>
  41. <U0003>
  42. <judgdg/>
  43. </U0003>
  44. </list003>
  45. <list01>
  46. <gridpidmclam>
  47. <clamym/>
  48. <uncoym/>
  49. <acptdd/>
  50. <clamflag/>
  51. <judgdg/>
  52. <ioflag/>
  53. <ordfildcd/>
  54. <clamno/>
  55. </gridpidmclam>
  56. <gridpifmiunc>
  57. <cnt_clam/>
  58. <clmcstotamt/>
  59. <clownbamt/>
  60. <clclamamt/>
  61. <clownbmaxexamt/>
  62. <clsuppamt/>
  63. <clhsuppamt/>
  64. <cllsuppamt/>
  65. <cnt_judgdeci/>
  66. <jrtotordamt01/>
  67. <jrownbamt01/>
  68. <jrjudgdeciamt01/>
  69. <jrownbmaxexamt01/>
  70. <jrsuppamt01/>
  71. <jrhsuppamt01/>
  72. <jrlsuppamt01/>
  73. <cnt_rtn/>
  74. <jrtotordamt02/>
  75. <jrownbamt02/>
  76. <jrjudgdeciamt02/>
  77. <jrownbmaxexamt02/>
  78. <jrsuppamt02/>
  79. <jrhsuppamt02/>
  80. <jrlsuppamt02/>
  81. <cnt_judgrete/>
  82. <jrtotordamt03/>
  83. <jrownbamt03/>
  84. <jrjudgdeciamt03/>
  85. <jrownbmaxexamt03/>
  86. <jrsuppamt03/>
  87. <jrhsuppamt03/>
  88. <jrlsuppamt03/>
  89. <cnt_jumin/>
  90. <jrtotordamt04/>
  91. <jrownbamt04/>
  92. <jrjudgdeciamt04/>
  93. <jrownbmaxexamt04/>
  94. <jrsuppamt04/>
  95. <jrhsuppamt04/>
  96. <jrlsuppamt04/>
  97. <rucntsum/>
  98. <ruadjtamtsum/>
  99. <realcutamt/>
  100. <jrownaddbamtsum/>
  101. <acptno/>
  102. <judgdg/>
  103. <clamno/>
  104. <instcd/>
  105. <rtnrestamt/>
  106. <totuncoamt/>
  107. <uncoamt/>
  108. <cnt_calcdepo/>
  109. <cnt_hosoutcalc/>
  110. <clhandicaprfund/>
  111. <jrhandicaprfund01/>
  112. <jrhandicaprfund02/>
  113. <jrhandicaprfund03/>
  114. <jrhandicaprfund04/>
  115. <clamseqno/>
  116. <cldruglimitdiffamtsum/>
  117. <jrdruglimitdiffamtsum/>
  118. <jrdruglimitdiffamtadjtsum/>
  119. <cldruglimitdiffamtsum02/>
  120. <jrdruglimitdiffamtsum02/>
  121. <cldruglimitdiffamtsum03/>
  122. <jrdruglimitdiffamtsum03/>
  123. </gridpifmiunc>
  124. <gridpifhbsdp>
  125. <depodd/>
  126. <depoflag/>
  127. <bankcd/>
  128. <acntcd/>
  129. <depocnt/>
  130. <depoamt/>
  131. <rtnscheamt/>
  132. <notimm/>
  133. <rem/>
  134. <acptno/>
  135. <judgdg/>
  136. <clamno/>
  137. <seqno/>
  138. <instcd/>
  139. <depooutamt/>
  140. <depoinamt/>
  141. </gridpifhbsdp>
  142. <gridpifhrtns>
  143. <rtndd/>
  144. <rtnflag/>
  145. <rtnacptno/>
  146. <rtnjudgdg/>
  147. <ofidocno/>
  148. <ofidocarvdd/>
  149. <rtnamt/>
  150. <notimm/>
  151. <rem/>
  152. <acptno/>
  153. <judgdg/>
  154. <clamno/>
  155. <seqno/>
  156. <instcd/>
  157. <rtnflaggrcd/>
  158. <rtnseqno/>
  159. <rtnclamno/>
  160. <brtnamt/>
  161. </gridpifhrtns>
  162. <calcamtsumdetl>
  163. <calcamtsum/>
  164. </calcamtsumdetl>
  165. </list01>
  166. <list02>
  167. <gridpifhbsdp/>
  168. </list02>
  169. <list03>
  170. <gridpifhrtns/>
  171. </list03>
  172. <result/>
  173. <result2/>
  174. </main>
  175. <init>
  176. <P0101list>
  177. <P0101>
  178. <cdid/>
  179. <cdnm/>
  180. </P0101>
  181. </P0101list>
  182. <P0266list>
  183. <P0266>
  184. <cdid/>
  185. <cdnm/>
  186. </P0266>
  187. </P0266list>
  188. <R0001list>
  189. <R0001>
  190. <cdid/>
  191. <cdnm/>
  192. </R0001>
  193. </R0001list>
  194. <P0302list>
  195. <P0302>
  196. <cdid/>
  197. <cdnm/>
  198. </P0302>
  199. </P0302list>
  200. <P0059list>
  201. <P0059>
  202. <cdid/>
  203. <cdnm/>
  204. </P0059>
  205. </P0059list>
  206. <P0384list>
  207. <P0384>
  208. <cdid/>
  209. <cdnm/>
  210. </P0384>
  211. </P0384list>
  212. <temp>
  213. <judgretecnt>
  214. <cnt/>
  215. </judgretecnt>
  216. </temp>
  217. <bankinfo>
  218. <bankinfolist>
  219. <cdid/>
  220. <cdnm/>
  221. </bankinfolist>
  222. </bankinfo>
  223. <PAM>
  224. <PK069list/>
  225. </PAM>
  226. </init>
  227. <source>
  228. <judgdg/>
  229. <acptno/>
  230. <clamno/>
  231. <seqno/>
  232. <instcd/>
  233. <rtnflag/>
  234. <rtnflaggrcd/>
  235. <rtndetlrow/>
  236. <openerrtnflag/>
  237. <allsrchyn/>
  238. </source>
  239. <hidden>
  240. <session/>
  241. </hidden>
  242. <temp>
  243. <fstjudgdg/>
  244. </temp>
  245. </root>
  246. </instance>
  247. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  248. <submission id="TXPIF30301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/result"/>
  249. <submission id="TXPIF30302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list03" resultref="/root/main/result2"/>
  250. <submission id="TRPIF30301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list001"/>
  251. <submission id="TRPIF30302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list002"/>
  252. <submission id="TRPIF30303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
  253. <submission id="TRPIF30307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/temp"/>
  254. <submission id="TRPIF30309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/bankinfo"/>
  255. <submission id="TRPIF31303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/uncoendprcs" resultref="/root/main/chek"/>
  256. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  257. </model>
  258. <script type="javascript" ev:event="xforms-ready">
  259. <![CDATA[
  260. fGetUserInfosSampling(); //세션/root/hidden/session
  261. INSTCD = model.getValue("/root/hidden/session/sess_dutplceinstcd");
  262. submit("TRPIF31303"); // 최종마감월을 가져와서 입금/환수 등록시 체크한다.
  263. //기관별 은행및 은행계좌조회
  264. fBankSearch();
  265. var cnt = getNodesetCount("/root/init/bankinfo/bankinfolist");
  266. var bankcd;
  267. var bankacount;
  268. for( var i = 1; i <= cnt; i++){
  269. if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "10"){
  270. bankcd = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
  271. }
  272. if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "20"){
  273. bankacount = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
  274. }
  275. }
  276. BANKCD = bankcd;
  277. BANKACOUNT = bankacount;
  278. // 공통코드 Load작업
  279. CommCode_Load();
  280. //화면버튼 권한설정 : 기본 (숨김)
  281. if (model.getXPathValue("/root/init/PAM/PK069list/PK069[cdid='"+getUserId()+"']/cdid") != '') {
  282. setSpclScrnAuth("x", true);
  283. } else {
  284. setSpclScrnAuth("r", true);
  285. }
  286. fSetKeyUpGridEvent();
  287. ]]>
  288. </script>
  289. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  290. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  291. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  292. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  293. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  294. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  295. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  296. <script type="javascript" src="../../../pam/clamuncoweb/js/min.js"/>
  297. <script type="javascript">
  298. <![CDATA[
  299. function Node_Init() {
  300. // NodeSet 초기화
  301. model.resetInstanceNode("/root/main/list01");
  302. }
  303. // 공통코드 Load작업
  304. function CommCode_Load() {
  305. // 관련 Control 초기화
  306. zbcfGetCodeList(new Array("P0059","P0101","P0266","R0001","P0302","P0384"), new Array( "/root/init/P0059list","/root/init/P0101list","/root/init/P0266list","/root/init/R0001list","/root/init/P0302list","/root/init/P0384list"));
  307. pamfGetCodeList(new Array("PK069"),
  308. new Array("/root/init/PAM/PK069list"
  309. ));
  310. }
  311. // 청구번호 조회
  312. function searchClamno() {
  313. model.removenode("/root/main/list01");
  314. // inputEnterKey("button108", "DOMActivate");
  315. model.removenode("/root/main/list001/U0001");
  316. model.removenode("/root/main/list002/U0002");
  317. model.resetInstanceNode("/root/main/list001/U0001");
  318. model.resetInstanceNode("/root/main/list002/U0002");
  319. model.setValue("/root/send/send01/clamno","");
  320. model.setValue("/root/send/send01/judgdg","");
  321. // 청구유형을 넘긴다. 청구유형으로 청구번호(보험/산재)를 가져온다. clamtypecd 1:보험, 6:산재 2010.01.25
  322. model.setValue("/root/send/send01/clamtypecd", (rdo_insukind.value == '11' ? '1' : '6')); // 코드값 변환 10 -> 1, 40 -> 6
  323. model.refresh();
  324. submit("TRPIF30301");
  325. if( ipt_acptnocnt.value > 1) {
  326. //opt_comment.visible = true;
  327. //opt_comment.value = "[ 같은접수번호가 ("+ipt_acptnocnt.value+"건) 있습니다. ]";
  328. messageBox("같은접수번호가 있습니다.", "I007");
  329. } //else {
  330. //opt_comment.visible = false;
  331. //}
  332. if(cmb_clamno.length == 1) {
  333. cmb_clamno.value = model.getValue("/root/main/list001/U0001/clamno");
  334. submit("TRPIF30302");
  335. if(cmb_judgdg.length == 1) {
  336. cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
  337. search();
  338. // model.setFocus("btn_srch");
  339. } else {
  340. model.setFocus("cmb_judgdg");
  341. }
  342. } else {
  343. model.setFocus("cmb_clamno");
  344. }
  345. cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
  346. //model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
  347. model.setValue("/root/temp/fstjudgdg", model.getValue("/root/main/list002/U0002[" + getNodesetCount("/root/main/list002/U0002/judgdg") + "]/judgdg"));
  348. }
  349. function search() {
  350. if(ipt_acptno.value == null || ipt_acptno.value == "") {
  351. messageBox("접수번호를","C001");
  352. return false;
  353. } else if(cmb_judgdg.value== "" || cmb_judgdg.value== null) {
  354. messageBox("심사차수를","C002");
  355. return false;
  356. } else if(cmb_clamno.value== "" || cmb_clamno.value== null) {
  357. messageBox("청구번호를","C002");
  358. return false;
  359. } else {
  360. model.resetInstanceNode("/root/main/list01");
  361. model.resetInstanceNode("/root/main/list02");
  362. model.refresh();
  363. if(model.getValue("/root/send/send01/acptno").length ==15)
  364. {
  365. model.setValue("root/send/send01/insuflag","070");
  366. }
  367. else
  368. {
  369. model.setValue("root/send/send01/insuflag","065");
  370. }
  371. submit("TRPIF30303");
  372. chkRtndetl();
  373. }
  374. model.makeNode("/root/main/list01/calcamtsumdetl/calcamtsum");
  375. chkGridPifhbsdp();
  376. if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
  377. for(var i=1;i<grd_pifhbsdp.rows;i++) {
  378. grd_pifhbsdp.isReadOnly(i,1) = true;
  379. grd_pifhbsdp.isReadOnly(i,2) = true;
  380. grd_pifhbsdp.isReadOnly(i,3) = true;
  381. grd_pifhbsdp.isReadOnly(i,4) = true;
  382. grd_pifhbsdp.isReadOnly(i,5) = true;
  383. grd_pifhbsdp.isReadOnly(i,6) = true;
  384. grd_pifhbsdp.isReadOnly(i,7) = true;
  385. grd_pifhbsdp.isReadOnly(i,8) = true;
  386. grd_pifhbsdp.isReadOnly(i,9) = false;
  387. }
  388. }
  389. }
  390. function rtnGridCheck() {
  391. // NodeSet 초기화
  392. var row_cnt = grd_pifhrtns.row;
  393. if(grd_pifhrtns.valueMatrix(row_cnt,2) == "01" || grd_pifhrtns.valueMatrix(row_cnt,2) == "02" || grd_pifhrtns.valueMatrix(row_cnt,2) == "07" ) {
  394. grd_pifhrtns.valueMatrix(row_cnt,3).disabled = false;
  395. grd_pifhrtns.valueMatrix(row_cnt,4).disabled = false;
  396. } else {
  397. grd_pifhrtns.valueMatrix(row_cnt,3).disabled = true;
  398. grd_pifhrtns.valueMatrix(row_cnt,4).disabled = true;
  399. }
  400. }
  401. // 저장된 환수내역에 대해서는 수정 불가 조치 함수
  402. function chkRtndetl() {
  403. // NodeSet 초기화
  404. var rows = grd_pifhrtns.rows;
  405. for(var i=1;i<rows;i++) {
  406. if(grd_pifhrtns.rowStatus(i) == "0") {
  407. // grd_pifhrtns.isReadOnly(i,1) = true;
  408. grd_pifhrtns.isReadOnly(i,2) = true;
  409. // grd_pifhrtns.isReadOnly(i,7) = true;
  410. // grd_pifhrtns.isReadOnly(i,8) = true;
  411. // grd_pifhrtns.isReadOnly(i,9) = true;
  412. }
  413. }
  414. }
  415. function chkGridPifhbsdp() {
  416. var rows = grd_pifhbsdp.rows;
  417. // 입금내역 그리드의 행갯수가 0보다 클때 2009.03.05 심사보류도 환수예정액 수정 가능하게 변경
  418. if(rows > 0) {
  419. for(var i=1;i<rows;i++) {
  420. if(grd_pifhbsdp.valueMatrix(i,2) == "01" || grd_pifhbsdp.valueMatrix(i,2) == "03" || grd_pifhbsdp.valueMatrix(i,2) == "06") {
  421. grd_pifhbsdp.valueMatrix(i,7) = "0";
  422. grd_pifhbsdp.isReadOnly(i,7) = true;
  423. } else {
  424. grd_pifhbsdp.isReadOnly(i,7) = false;
  425. }
  426. }
  427. }
  428. }
  429. // 입금내역의 입금구분 선택시 다음 셀로 포커스 이동
  430. function setGridPifhbsdpFocus(code) {
  431. if(code == "popup") {
  432. model.setFocus("body");
  433. model.setFocus("grd_pifhbsdp");
  434. grd_pifhbsdp.col = 6;
  435. grd_pifhbsdp.dispatch("onentercell");
  436. grd_pifhbsdp.editCell();
  437. } else {
  438. model.setFocus("body");
  439. model.setFocus("grd_pifhbsdp");
  440. grd_pifhbsdp.col = 6;
  441. grd_pifhbsdp.dispatch("onentercell");
  442. grd_pifhbsdp.editCell();
  443. }
  444. }
  445. // 환수내역의 환수구분 선택시 다음 셀로 포커스 이동
  446. function setGridPifhrtnsFocus() {
  447. model.setFocus("body");
  448. model.setFocus("grd_pifhrtns");
  449. grd_pifhrtns.col = 7;
  450. grd_pifhrtns.dispatch("onentercell");
  451. grd_pifhrtns.editCell();
  452. }
  453. function fBankSearch(){
  454. submit("TRPIF30309");
  455. }
  456. ]]>
  457. </script>
  458. </xhtml:head>
  459. <xhtml:body style="color:#000000; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  460. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  461. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:164px; height:14px; ">입금내역관리(보험/산재)</caption>
  462. </group>
  463. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  464. <line id="line5" class="line_1" style="x1:0px; y1:351px; x2:1194px; y2:351px; "/>
  465. <caption id="caption8" class="tit_2" style="left:6px; top:314px; width:111px; height:13px; ">입금내역</caption>
  466. <caption id="caption16" class="tit_2" style="left:6px; top:515px; width:111px; height:13px; ">환수내역</caption>
  467. <line id="line9" class="line_1" style="x1:0px; y1:552px; x2:1194px; y2:552px; "/>
  468. <button id="button4" class="btn2_letter3" _auth="X" style="left:1084px; top:330px; width:53px; height:19px; ">
  469. <caption>행추가</caption>
  470. <script type="javascript" ev:event="onclick">
  471. <![CDATA[
  472. //model.alert(INSTCD);
  473. /*
  474. if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
  475. messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
  476. return false;
  477. }
  478. */
  479. grd_pifhbsdp.addRow();
  480. var row_cnt = grd_pifhbsdp.row;
  481. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acptno",ipt_acptno.value);
  482. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/judgdg",cmb_judgdg.value);
  483. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/clamno",cmb_clamno.value);
  484. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/instcd", INSTCD);
  485. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/bankcd", BANKCD);
  486. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acntcd", BANKACOUNT);
  487. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depooutamt", 0);
  488. model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoinamt", 0);
  489. // if(ipt_acptno.value == "8888888") {
  490. // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "10");
  491. // }
  492. // if(ipt_acptno.value == "9999999") {
  493. // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "09");
  494. // }
  495. grd_pifhbsdp.valueMatrix(row_cnt, 6) = 0;
  496. grd_pifhbsdp.valueMatrix(row_cnt, 7) = 0;
  497. // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/rowstatus","i");
  498. if(ipt_calcamtsum.value != "") {
  499. var row = grd_pifhbsdp.row;
  500. var calcamtsum = Number(ipt_calcamtsum.value);
  501. if(calcamtsum >= 0) {
  502. grd_pifhbsdp.valueMatrix(row,6) = calcamtsum;
  503. grd_pifhbsdp.valueMatrix(row,7) = 0;
  504. } else {
  505. grd_pifhbsdp.valueMatrix(row,6) = 0;
  506. grd_pifhbsdp.valueMatrix(row,7) = calcamtsum;
  507. }
  508. }
  509. grd_pifhbsdp.topRow = grd_pifhbsdp.rows-1;
  510. ]]>
  511. </script>
  512. </button>
  513. <button id="button5" class="btn2_letter3" _auth="X" style="left:1140px; top:330px; width:53px; height:19px; ">
  514. <caption>행삭제</caption>
  515. <script type="javascript" ev:event="onclick">
  516. <![CDATA[
  517. var row_cnt = grd_pifhbsdp.row;
  518. if(row_cnt == '-1' || row_cnt == '0') {
  519. return false;
  520. }
  521. if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
  522. return false;
  523. }
  524. if(grd_pifhbsdp.rowStatus(row_cnt) == "1" || grd_pifhbsdp.rowStatus(row_cnt) == "3") {
  525. grd_pifhbsdp.deleteItem(row_cnt);
  526. return false;
  527. } else {
  528. if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  529. messageBox("마감된 데이터는 삭제 하실 수","I004"); // 없습니다.
  530. return;
  531. }
  532. if(messageBox("정말","Q001") == "6") {
  533. var rows = grd_pifhrtns.rows; // 환수내역 그리드의 데이터 총 갯수
  534. if(rows > 1) {
  535. for(var i=1;i<rows;i++) {
  536. var rtnacptno = grd_pifhrtns.valueMatrix(i,3);
  537. var rtnjudgdg = grd_pifhrtns.valueMatrix(i,4);
  538. var rtnseqno = grd_pifhrtns.valueMatrix(i,16);
  539. var seqno = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,13);
  540. if(ipt_acptno.value == rtnacptno & cmb_judgdg.value == rtnjudgdg & seqno == rtnseqno) {
  541. //if(messageBox("환수내역에 있는 데이터도 같이 삭제됩니다. 데이터를","Q001") == 7) {
  542. // return false;
  543. //}
  544. messageBox("환수내역이 존재하기 때문에 입금내역을 삭제할 수","I004");
  545. return false;
  546. }
  547. }
  548. }
  549. grd_pifhbsdp.deleteItem(row_cnt);
  550. model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
  551. //submit("TXPIF30301");
  552. if (submit("TXPIF30301")) {
  553. model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
  554. submit("TRPIF30303");
  555. chkRtndetl();
  556. }
  557. }
  558. }
  559. ]]>
  560. </script>
  561. </button>
  562. <button id="button7" class="btn2_letter3" _auth="X" style="left:1084px; top:531px; width:53px; height:19px; ">
  563. <caption>행추가</caption>
  564. <script type="javascript" ev:event="onclick">
  565. <![CDATA[
  566. /*if(ipt_rtnremainamt.value == "0") {
  567. messageBox("환수할 잔액이","I004");
  568. return false;
  569. }*/
  570. var depo_rows = grd_pifhbsdp.rows;
  571. var max_depodd = "00000000";
  572. var max_notimm = "";
  573. for(var i=1;i<depo_rows;i++) {
  574. if(grd_pifhbsdp.valueMatrix(i,1) > max_depodd) {
  575. max_depodd = grd_pifhbsdp.valueMatrix(i,1);
  576. max_notimm = grd_pifhbsdp.valueMatrix(i,8);
  577. }
  578. }
  579. grd_pifhrtns.addRow();
  580. var row_cnt = grd_pifhrtns.row;
  581. grd_pifhrtns.valueMatrix(row_cnt, 7) = 0;
  582. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/rtndd",max_depodd);
  583. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/notimm",max_notimm);
  584. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/acptno",ipt_acptno.value);
  585. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/judgdg",cmb_judgdg.value);
  586. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/clamno",cmb_clamno.value);
  587. model.setValue("/root/main/list01/gridpifhrtns["+row_cnt+"]/instcd",'012');
  588. grd_pifhrtns.topRow = grd_pifhrtns.rows-1;
  589. ]]>
  590. </script>
  591. </button>
  592. <button id="button8" class="btn2_letter3" _auth="X" style="left:1140px; top:531px; width:53px; height:19px; ">
  593. <caption>행삭제</caption>
  594. <script type="javascript" ev:event="onclick">
  595. <![CDATA[
  596. var row_cnt = grd_pifhrtns.row;
  597. if(row_cnt == '-1' || row_cnt == '0') {
  598. return false;
  599. }
  600. if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
  601. return false;
  602. }
  603. if(grd_pifhrtns.rowStatus(row_cnt) == "1" || grd_pifhrtns.rowStatus(row_cnt) == "3") {
  604. grd_pifhrtns.deleteItem(row_cnt);
  605. return false;
  606. } else {
  607. if ( grd_pifhrtns.valueMatrix(grd_pifhrtns.row,grd_pifhrtns.colRef("notimm"))<= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  608. messageBox("마감된 데이터는 삭제하실 수 ","I004"); // 없습니다.
  609. return;
  610. }
  611. if(messageBox("정말","Q001") == "6") {
  612. grd_pifhrtns.rowStatus(row_cnt) = "4";
  613. model.setValue("/root/main/list03/gridpifhrtns", grd_pifhrtns.getUpdateData());
  614. grd_pifhrtns.deleteItem(row_cnt);
  615. if (submit("TXPIF30302")) {
  616. // model.resetInstanceNode("/root/main/list01/gridpifhrtns");
  617. submit("TRPIF30303");
  618. chkRtndetl();
  619. }
  620. }
  621. }
  622. /*
  623. model.setValue("/root/main/list03/gridpifhrtns", grd_pifhrtns.getUpdateData());
  624. if (submit("TXPIF30302")) {
  625. model.resetInstanceNode("/root/main/list01/gridpifhrtns");
  626. submit("TRPIF30301");
  627. }*/
  628. ]]>
  629. </script>
  630. </button>
  631. <caption id="caption3" class="tit_2" style="left:6px; top:83px; width:78px; height:13px; ">청구내역</caption>
  632. <line id="line2" class="line_1" style="x1:0px; y1:97px; x2:232px; y2:97px; "/>
  633. <caption id="caption21" class="cell_1" style="left:0px; top:102px; width:100px; height:23px; vertical-align:middle; ">건수</caption>
  634. <caption id="caption12" class="cell_1" style="left:0px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구년월</caption>
  635. <caption id="caption26" class="cell_1" style="left:0px; top:126px; width:100px; height:23px; vertical-align:middle; ">총진료비</caption>
  636. <caption id="caption27" class="cell_1" style="left:458px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구구분</caption>
  637. <input id="input9" ref="/root/main/list01/gridpifmiunc/cnt_clam" class="input_default" format="#,###" style="left:103px; top:103px; width:129px; height:19px; text-align:right; "/>
  638. <input id="input11" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt01" class="input_default" format="(-)#,###" style="left:340px; top:178px; width:133px; height:19px; text-align:right; "/>
  639. <caption id="caption9" class="cell_1" style="left:237px; top:176px; width:100px; height:23px; vertical-align:middle; ">심결액</caption>
  640. <caption id="caption13" class="cell_1" style="left:237px; top:102px; width:100px; height:23px; vertical-align:middle; ">건수</caption>
  641. <caption id="caption17" class="cell_1" style="left:237px; top:126px; width:100px; height:23px; vertical-align:middle; ">총진료비</caption>
  642. <input id="input17" ref="/root/main/list01/gridpifmiunc/jrtotordamt01" class="input_default" format="#,###" style="left:340px; top:128px; width:133px; height:19px; text-align:right; "/>
  643. <caption id="caption15" class="cell_1" style="left:237px; top:201px; width:100px; height:23px; vertical-align:middle; ">상한금</caption>
  644. <caption id="caption19" class="cell_1" style="left:0px; top:201px; width:100px; height:23px; vertical-align:middle; ">상한금</caption>
  645. <input id="input14" ref="/root/main/list01/gridpifmiunc/jrownbamt01" class="input_default" format="#,###" style="left:340px; top:153px; width:133px; height:19px; text-align:right; "/>
  646. <caption id="caption25" class="cell_1" style="left:237px; top:151px; width:100px; height:23px; vertical-align:middle; ">본인부담</caption>
  647. <input id="input1" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt02" class="input_default" format="#,###" style="left:581px; top:178px; width:132px; height:19px; text-align:right; "/>
  648. <input id="input5" ref="/root/main/list01/gridpifmiunc/jrownbamt02" class="input_default" format="#,###" style="left:581px; top:153px; width:132px; height:19px; text-align:right; "/>
  649. <caption id="caption4" class="cell_1" style="left:478px; top:102px; width:100px; height:23px; vertical-align:middle; ">건수</caption>
  650. <caption id="caption5" class="cell_1" style="left:478px; top:151px; width:100px; height:23px; vertical-align:middle; ">본인부담</caption>
  651. <input id="input6" ref="/root/main/list01/gridpifmiunc/cnt_rtn" class="input_default" format="#,###" style="left:581px; top:103px; width:132px; height:19px; text-align:right; "/>
  652. <caption id="caption10" class="cell_1" style="left:478px; top:201px; width:100px; height:23px; vertical-align:middle; ">상한금</caption>
  653. <input id="input7" ref="/root/main/list01/gridpifmiunc/jrtotordamt02" class="input_default" format="#,###" style="left:581px; top:128px; width:132px; height:19px; text-align:right; "/>
  654. <caption id="caption14" class="cell_1" style="left:604px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
  655. <caption id="caption18" class="cell_1" style="left:478px; top:126px; width:100px; height:23px; vertical-align:middle; ">총진료비</caption>
  656. <caption id="caption20" class="cell_1" style="left:478px; top:176px; width:100px; height:23px; vertical-align:middle; ">반송액</caption>
  657. <input id="input8" ref="/root/main/list01/gridpifmiunc/jrtotordamt03" class="input_default" format="#,###" style="left:821px; top:128px; width:132px; height:19px; text-align:right; "/>
  658. <caption id="caption23" class="cell_1" style="left:718px; top:176px; width:100px; height:23px; vertical-align:middle; ">보류액</caption>
  659. <caption id="caption24" class="cell_1" style="left:718px; top:201px; width:100px; height:23px; vertical-align:middle; ">상한금</caption>
  660. <caption id="caption28" class="cell_1" style="left:718px; top:102px; width:100px; height:23px; vertical-align:middle; ">건수</caption>
  661. <caption id="caption29" class="cell_1" style="left:905px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진료분야</caption>
  662. <caption id="caption30" class="cell_1" style="left:718px; top:151px; width:100px; height:23px; vertical-align:middle; ">본인부담</caption>
  663. <input id="input10" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt03" class="input_default" format="#,###" style="left:821px; top:178px; width:132px; height:19px; text-align:right; "/>
  664. <caption id="caption31" class="cell_1" style="left:718px; top:126px; width:100px; height:23px; vertical-align:middle; ">총진료비</caption>
  665. <input id="input12" ref="/root/main/list01/gridpifmiunc/jrownbamt03" class="input_default" format="#,###" style="left:821px; top:153px; width:132px; height:19px; text-align:right; "/>
  666. <input id="input13" ref="/root/main/list01/gridpifmiunc/cnt_judgrete" class="input_default" format="#,###" style="left:821px; top:103px; width:132px; height:19px; text-align:right; "/>
  667. <input id="input18" ref="/root/main/list01/gridpifmiunc/jrtotordamt04" class="input_default" format="#,###" style="left:1076px; top:128px; width:118px; height:19px; text-align:right; "/>
  668. <caption id="caption32" class="cell_1" style="left:958px; top:151px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
  669. <caption id="caption34" class="cell_1" style="left:958px; top:126px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
  670. <input id="input19" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt04" class="input_default" format="#,###" style="left:1076px; top:178px; width:118px; height:19px; text-align:right; "/>
  671. <input id="input20" ref="/root/main/list01/gridpifmiunc/jrownbamt04" class="input_default" format="#,###" style="left:1076px; top:153px; width:118px; height:19px; text-align:right; "/>
  672. <caption id="caption35" class="cell_1" style="left:958px; top:176px; width:115px; height:23px; vertical-align:middle; ">보류액</caption>
  673. <caption id="caption36" class="cell_1" style="left:958px; top:201px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
  674. <caption id="caption37" class="cell_1" style="left:958px; top:102px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
  675. <line id="line1" class="line_1" style="x1:237px; y1:97px; x2:473px; y2:97px; "/>
  676. <line id="line4" class="line_1" style="x1:478px; y1:97px; x2:713px; y2:97px; "/>
  677. <line id="line6" class="line_1" style="x1:718px; y1:97px; x2:953px; y2:97px; "/>
  678. <line id="line7" class="line_1" style="x1:958px; y1:97px; x2:1194px; y2:97px; "/>
  679. <caption id="caption39" class="tit_2" style="left:246px; top:82px; width:114px; height:13px; ">심결내역(F204)</caption>
  680. <caption id="caption40" class="tit_2" style="left:486px; top:82px; width:78px; height:13px; ">반송내역</caption>
  681. <caption id="caption41" class="tit_2" style="left:726px; top:82px; width:96px; height:13px; ">심사보류내역</caption>
  682. <caption id="caption42" class="tit_2" style="left:966px; top:82px; width:128px; height:13px; ">주민보류내역</caption>
  683. <line id="line8" class="line_1" style="x1:0px; y1:50px; x2:1194px; y2:50px; "/>
  684. <line id="line10" class="line_3" style="x1:0px; y1:78px; x2:1195px; y2:78px; "/>
  685. <output id="input22" ref="/root/main/list01/gridpidmclam/clamym" class="input_default" format="yyyy-mm" appearance="output" style="left:63px; top:56px; width:80px; height:19px; text-align:center; "/>
  686. <output id="input24" ref="/root/main/list01/gridpidmclam/judgdg" class="input_default" appearance="output" style="left:667px; top:56px; width:80px; height:19px; text-align:center; "/>
  687. <output id="input25" ref="/root/main/list01/gridpidmclam/ordfildcd" class="input_default" appearance="output" style="left:967px; top:56px; width:80px; height:19px; text-align:center; "/>
  688. <input id="input3" ref="/root/main/list01/gridpifmiunc/clclamamt" class="input_default" format="#,###" style="left:103px; top:178px; width:129px; height:19px; text-align:right; "/>
  689. <input id="input4" ref="/root/main/list01/gridpifmiunc/clmcstotamt" class="input_default" format="#,###" style="left:103px; top:127px; width:129px; height:19px; text-align:right; "/>
  690. <input id="input16" ref="/root/main/list01/gridpifmiunc/clownbamt" class="input_default" format="#,###" style="left:103px; top:152px; width:129px; height:19px; text-align:right; "/>
  691. <input id="input26" ref="/root/main/list01/gridpifmiunc/clownbmaxexamt" class="input_default" format="#,###" style="left:103px; top:203px; width:129px; height:19px; text-align:right; "/>
  692. <input id="input27" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt01" class="input_default" format="#,###" style="left:340px; top:203px; width:133px; height:19px; text-align:right; "/>
  693. <input id="input28" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt02" class="input_default" format="#,###" style="left:581px; top:203px; width:132px; height:19px; text-align:right; "/>
  694. <input id="input29" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt03" class="input_default" format="#,###" style="left:821px; top:203px; width:132px; height:19px; text-align:right; "/>
  695. <input id="input30" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt04" class="input_default" format="#,###" style="left:1076px; top:203px; width:118px; height:19px; text-align:right; "/>
  696. <line id="line11" class="line_1" style="x1:0px; y1:298px; x2:1194px; y2:298px; "/>
  697. <line id="line14" class="line_3" style="x1:0px; y1:326px; x2:1194px; y2:326px; "/>
  698. <input id="input31" ref="/root/main/list01/gridpifmiunc/rucntsum" class="input_default" style="left:98px; top:304px; width:91px; height:19px; text-align:center; "/>
  699. <caption id="caption33" class="cell_1" style="left:0px; top:303px; width:95px; height:23px; text-align:center; vertical-align:middle; ">삭감건수</caption>
  700. <caption id="caption38" class="cell_1" style="left:392px; top:303px; width:93px; height:23px; text-align:center; vertical-align:middle; ">실삭감액</caption>
  701. <caption id="caption43" class="cell_1" style="left:197px; top:303px; width:93px; height:23px; text-align:center; vertical-align:middle; ">조정삭감액</caption>
  702. <caption id="caption44" class="cell_1" style="left:587px; top:303px; width:93px; height:23px; text-align:center; vertical-align:middle; ">본인추가부담</caption>
  703. <input id="input35" ref="/root/main/list01/gridpifmiunc/ruadjtamtsum" class="input_default" format="#,###" style="left:293px; top:304px; width:91px; height:19px; text-align:right; "/>
  704. <input id="input32" ref="/root/main/list01/gridpifmiunc/realcutamt" class="input_default" format="(-)#,###" style="left:488px; top:304px; width:96px; height:19px; text-align:right; "/>
  705. <input id="input33" ref="/root/main/list01/gridpifmiunc/jrownaddbamtsum" class="input_default" format="#,###" style="left:683px; top:304px; width:91px; height:19px; text-align:right; "/>
  706. <caption id="caption45" class="cell_1" style="left:782px; top:303px; width:93px; height:23px; text-align:center; vertical-align:middle; ">환수잔액</caption>
  707. <caption id="caption46" class="cell_1" style="left:975px; top:303px; width:98px; height:23px; text-align:center; vertical-align:middle; ">미수금</caption>
  708. <input id="input34" ref="/root/main/list01/gridpifmiunc/uncoamt" class="input_default" format="(-)#,###" style="left:1076px; top:304px; width:118px; height:19px; text-align:right; "/>
  709. <!--input id="ipt_acptno_hid" ref="/root/main/list01/gridpifmiunc/acptno" class="input_default"/>
  710. <input id="ipt_judgdg_hid" ref="/root/main/list01/gridpifmiunc/judgdg" class="input_default"/>
  711. <input id="ipt_clamno_hid" ref="/root/main/list01/gridpifmiunc/clamno" class="input_default"/>
  712. <input id="ipt_instcd_hid" ref="/root/main/list01/gridpifmiunc/instcd" class="input_default"/-->
  713. <button id="button3" class="btn2_letter6" disabled="false" style="left:880px; top:330px; width:86px; height:19px; ">
  714. <caption>환수잔액조회</caption>
  715. <script type="javascript" ev:event="onclick">
  716. <![CDATA[
  717. model.resetInstanceNode("/root/source");
  718. model.setValue("/root/source/judgdg", model.getValue("/root/send/send01/judgdg"));
  719. model.setValue("/root/source/clamno", model.getValue("/root/send/send01/clamno"));
  720. model.setValue("/root/source/acptno", model.getValue("/root/send/send01/acptno"));
  721. // model.setValue("/root/source/instcd", model.getValue("/root/main/list01/gridpifmiunc/instcd"));
  722. model.setValue("/root/source/rtnflag", "");
  723. model.makeNode("/root/source/openerflag");
  724. model.setValue("/root/source/openerflag","보험산재");
  725. // 환수잔액조회 팝업화면
  726. modal("SPPIF30310", 1, "", "", "SPPIF30310", "/root/source", "/root/send");
  727. //window.load("SPPIF30310.xrw", "modal", "SPPIF30310", "", "/root/source", "/root/send");
  728. ]]>
  729. </script>
  730. </button>
  731. <caption id="caption11" class="cell_1" style="left:0px; top:151px; width:100px; height:23px; vertical-align:middle; ">본인부담</caption>
  732. <caption id="caption22" class="cell_1" style="left:0px; top:176px; width:100px; height:23px; vertical-align:middle; ">청구액</caption>
  733. <line id="line17" class="line_2" style="x1:1px; y1:199px; x2:232px; y2:199px; "/>
  734. <caption id="caption49" class="cell_1" style="left:146px; top:54px; width:60px; height:23px; text-align:center; vertical-align:middle; ">미수월</caption>
  735. <caption id="caption50" class="cell_1" style="left:750px; top:54px; width:60px; height:23px; text-align:center; vertical-align:middle; ">내원유형</caption>
  736. <output id="input39" ref="/root/main/list01/gridpidmclam/clamno" class="input_default" appearance="output" style="left:1111px; top:56px; width:80px; height:19px; text-align:center; "/>
  737. <caption id="caption51" class="cell_1" style="left:1049px; top:55px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구번호</caption>
  738. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  739. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  740. <line id="line18" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  741. <caption id="caption52" class="search_name" style="left:115px; top:9px; width:86px; height:17px; ">접수번호 :</caption>
  742. <caption id="cp_judgdg" class="search_name" style="left:547px; top:9px; width:86px; height:17px; ">심사차수 :</caption>
  743. <caption id="caption1" class="search_name" style="left:347px; top:9px; width:86px; height:17px; ">청구번호 :</caption>
  744. <select1 id="cmb_clamno" ref="/root/send/send01/clamno" class="combo_s_essential" navindex="4" appearance="minimal" style="left:437px; top:8px; width:100px; height:19px; text-align:center; ">
  745. <choices>
  746. <itemset nodeset="/root/main/list001/U0001">
  747. <label ref="clamno"/>
  748. <value ref="clamno"/>
  749. </itemset>
  750. </choices>
  751. <script type="javascript" ev:event="xforms-select">
  752. <![CDATA[
  753. // 심사차수를 초기화한다.
  754. model.removenode("/root/main/list002/U0002");
  755. model.setValue("/root/send/send01/judgdg","");
  756. model.refresh();
  757. submit("TRPIF30302");
  758. if(cmb_judgdg.length == 1) {
  759. cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
  760. search();
  761. //model.setFocus("btn_srch");
  762. } else if(cmb_judgdg.length > 1) {
  763. model.setFocus("cmb_judgdg");
  764. } else {
  765. messageBox("해당하는 심사차수가","I004");
  766. return false;
  767. }
  768. cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
  769. //model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
  770. model.setValue("/root/temp/fstjudgdg", model.getValue("/root/main/list002/U0002[" + getNodesetCount("/root/main/list002/U0002/judgdg") + "]/judgdg"));
  771. ]]>
  772. </script>
  773. </select1>
  774. <select1 id="cmb_judgdg" ref="/root/send/send01/judgdg" class="combo_s_essential" navindex="3" appearance="minimal" showvalue="true" style="left:640px; top:8px; width:150px; height:19px; text-align:left; ">
  775. <choices>
  776. <itemset nodeset="/root/main/list002/U0002">
  777. <label ref="setno"/>
  778. <value ref="judgdg"/>
  779. </itemset>
  780. </choices>
  781. <script type="javascript" ev:event="xforms-select">
  782. <![CDATA[
  783. model.removenode("/root/main/list01");
  784. search();
  785. ]]>
  786. </script>
  787. </select1>
  788. <input id="ipt_acptno" ref="/root/send/send01/acptno" class="input_s_essential" navindex="2" autonext="false" inputtype="button" maxlength="8" style="left:203px; top:8px; width:132px; height:19px; text-align:center; ">
  789. <script type="javascript" ev:event="onkeyup">
  790. <![CDATA[
  791. /*
  792. if(event.keyCode == "13") {
  793. setInputNodeCurText();
  794. var acptno = ipt_acptno.value;
  795. if(acptno.length == 0) {
  796. return false;
  797. }
  798. if (model.getValue("/root/send/send01/insukind") == "11") {
  799. if(acptno.length < 7) {
  800. messageBox("접수번호는 7자리","I009");
  801. return false;
  802. }
  803. }
  804. searchClamno();
  805. model.setFocus("cmb_judgdg");
  806. }
  807. */
  808. /*model.resetInstanceNode("/root/main/list01");
  809. model.resetInstanceNode("/root/main/list02");
  810. model.resetInstanceNode("/root/main/list03");
  811. model.removenode("/root/main/list001");
  812. model.removenode("/root/main/list002");
  813. model.removenode("/root/main/list003");
  814. model.refreshpart();*/
  815. ]]>
  816. </script>
  817. <script type="javascript" ev:event="onbuttonclick">
  818. <![CDATA[
  819. model.makeNode("/root/send/send01/termflag");
  820. model.makeNode("/root/send/send01/fromdd");
  821. model.makeNode("/root/send/send01/todd");
  822. // model.makeNode("/root/send/send01/insukind");
  823. // model.setValue("/root/send/send01/insukind","11");
  824. modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
  825. cmb_judgdg.value = model.getValue("/root/main/list001/U0001/judgdg");
  826. cmb_clamno.value = model.getValue("/root/main/list002/U0002/clamno");
  827. if(ipt_acptno.value != "" & cmb_judgdg.value != "") {
  828. search();
  829. }
  830. ]]>
  831. </script>
  832. <script type="javascript" ev:event="onkeypress">
  833. <![CDATA[
  834. if (event.keyCode != '13') {
  835. return false;
  836. }
  837. setInputNodeCurText();
  838. if(ipt_acptno.value == "") {
  839. return false;
  840. } else {
  841. //model.setValue("/root/send/send01/acptno", ipt_acptno.value) ;
  842. // 9999999 , 88888888 일 경우 심사차수 필터링 추가
  843. if ( ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999" ) {
  844. cp_judgym.attribute("visibility") = "visible";
  845. ipt_judgym.attribute("visibility") = "visible";
  846. //cp_judgdg.attribute("left") = "808px";
  847. //cmb_judgdg.attribute("left") = "898px";
  848. sDate = new Date();
  849. ipt_judgym.value = sDate.getYear();
  850. grd_pifhbsdp.colHidden( grd_pifhbsdp.colRef("depooutamt") ) = false;
  851. grd_pifhbsdp.colHidden( grd_pifhbsdp.colRef("depoinamt") ) = false;
  852. //grd_pifhbsdp.rebuild();
  853. } else {
  854. cp_judgym.attribute("visibility") = "hidden";
  855. ipt_judgym.attribute("visibility") = "hidden";
  856. //cp_judgdg.attribute("left") = "542px";
  857. //cmb_judgdg.attribute("left") = "632px";
  858. grd_pifhbsdp.colHidden( grd_pifhbsdp.colRef("depooutamt") ) = true;
  859. grd_pifhbsdp.colHidden( grd_pifhbsdp.colRef("depoinamt") ) = true;
  860. //grd_pifhbsdp.rebuild();
  861. }
  862. searchClamno();
  863. }
  864. ]]>
  865. </script>
  866. </input>
  867. <button id="btn_srch" class="btn1_letter2" style="left:1121px; top:7px; width:56px; height:22px; ">
  868. <caption>조회</caption>
  869. <script type="javascript" ev:event="DOMActivate">
  870. <![CDATA[
  871. search();
  872. // model.setValue("/root/main/list01/calcamtsumdetl/calcamtsum","-1234567");
  873. // btn_acptno.selected = true;
  874. ]]>
  875. </script>
  876. </button>
  877. <caption id="cp_judgym" class="search_name" visibility="hidden" style="left:793px; top:10px; width:138px; height:17px; ">정산심사차수년도 :</caption>
  878. <input id="ipt_judgym" ref="/root/send/send01/datefilter" class="input_search" navindex="3" visibility="hidden" inputtype="date" format="yyyy" style="left:943px; top:9px; width:100px; height:19px; text-align:center; ">
  879. <script type="javascript" ev:event="xforms-value-changed">
  880. <![CDATA[
  881. submit("TRPIF30302");
  882. cmb_judgdg.select(0);
  883. ]]>
  884. </script>
  885. </input>
  886. <select1 id="rdo_insukind" ref="/root/send/send01/insukind" class="radio_search" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:20px; top:10px; width:95px; height:16px; border-style:none; ">
  887. <choices>
  888. <item>
  889. <label>보험</label>
  890. <value>11</value>
  891. </item>
  892. <item>
  893. <label>산재</label>
  894. <value>41</value>
  895. </item>
  896. </choices>
  897. <script type="javascript" ev:event="xforms-select">
  898. <![CDATA[
  899. if (rdo_insukind.value == "11") {
  900. ipt_acptno.attribute("maxlength") = 7;
  901. model.setValue("/root/send/uncoendprcs/insukindflag","1"); // 보험
  902. } else if (rdo_insukind.value == "41") {
  903. ipt_acptno.attribute("maxlength") = 15;
  904. model.setValue("/root/send/uncoendprcs/insukindflag","6"); // 산재
  905. }
  906. // 최종 마감월
  907. model.removeNodeset("/root/main/check");
  908. submit("TRPIF31303");
  909. // 라디오 선택 변경시 초기화
  910. model.removenode("/root/main/list01");
  911. model.removenode("/root/main/list001/U0001");
  912. model.removenode("/root/main/list002/U0002");
  913. model.resetInstanceNode("/root/main/list001/U0001");
  914. model.resetInstanceNode("/root/main/list002/U0002");
  915. model.setValue("/root/send/send01/clamno","");
  916. model.setValue("/root/send/send01/judgdg","");
  917. model.setValue("/root/send/send01/acptno","");
  918. model.refresh();
  919. model.setFocus("ipt_acptno");
  920. ]]>
  921. </script>
  922. </select1>
  923. </group>
  924. <button id="button1" class="btn5_letter2" _auth="X" style="left:1039px; top:531px; width:42px; height:19px; ">
  925. <caption>저장</caption>
  926. <script type="javascript" ev:event="onclick">
  927. <![CDATA[
  928. // grd_pifhrtns.refresh();
  929. var row_cnt = grd_pifhrtns.rows;
  930. var row = grd_pifhrtns.row;
  931. //var status = grd_pifhrtns.rowStatus(row);
  932. var errorcnt = 0;
  933. var succcnt = 0;
  934. for (var i=0; i <grd_pifhbsdp.rows; i++){
  935. var rowstat = grd_pifhbsdp.rowStatus(i);
  936. var rowval = grd_pifhbsdp.valueMatrix(i,grd_pifhbsdp.colRef("depodd"));
  937. if (rowval.length > 0 && (grd_pifhbsdp.fixedRows + 1) <= grd_pifhbsdp.rows && rowstat == 0 ) {
  938. } else {
  939. errorcnt++;
  940. }
  941. }
  942. for (var i=0; i <grd_pifhrtns.rows; i++){
  943. var rowstat = grd_pifhrtns.rowStatus(i);
  944. var rtnsrowval = grd_pifhrtns.valueMatrix(i,grd_pifhbsdp.colRef("depodd"));
  945. for (var j=0; j <grd_pifhbsdp.rows; j++){
  946. var bsdprowval = grd_pifhbsdp.valueMatrix(j,grd_pifhbsdp.colRef("depodd"));
  947. if (rtnsrowval == bsdprowval ) {
  948. succcnt++;
  949. }
  950. }
  951. }
  952. if (errorcnt > 0) {
  953. messageBox("입금내역 저장 후 시도 하거나 입금 내역을 먼저 ","C001");
  954. }
  955. if (succcnt == 0) {
  956. messageBox("환수일자와 입금일자가 동일일자가 없습니다 ","C001");
  957. return false;
  958. }
  959. if(row_cnt < 2) {
  960. messageBox("환수내역을 먼저 ","C001");
  961. return false;
  962. } else {
  963. for(var i = 1 ; i < row_cnt ; i++) {
  964. if(ipt_acptno.value== "") {
  965. messageBox("접수번호를","C001");
  966. return false;
  967. }
  968. if(cmb_judgdg.value == "") {
  969. messageBox("심사차수를","C001");
  970. return false;
  971. }
  972. if(grd_pifhrtns.valueMatrix(i,1) == "00000000") {
  973. messageBox("환수일자를","C001");
  974. return false;
  975. }
  976. if(grd_pifhrtns.valueMatrix(i,7) == "") {
  977. messageBox("환수금액을","C001");
  978. return false;
  979. }
  980. if(grd_pifhrtns.valueMatrix(i,9) == "") {
  981. messageBox("재무통보월을","C001");
  982. return false;
  983. }
  984. if ( (grd_pifhrtns.rowStatus(i) == "1" || grd_pifhrtns.rowStatus(i) == "3" )&& grd_pifhrtns.valueMatrix(i,9) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  985. messageBox("마감된 이전월의 재무통보월은 저장 하실 수","I004"); // 없습니다.
  986. return false;
  987. }
  988. /*
  989. if(grd_pifhrtns.valueMatrix(row_cnt,8) == "") {
  990. messageBox("재무통보월을","C001");
  991. return false;
  992. }*/
  993. model.setValue("/root/main/list01/gridpifhrtns["+i+"]/acptno", ipt_acptno.value);
  994. model.setValue("/root/main/list01/gridpifhrtns["+i+"]/judgdg", cmb_judgdg.value);
  995. model.setValue("/root/main/list01/gridpifhrtns["+i+"]/clamno", cmb_clamno.value);
  996. model.setValue("/root/main/list01/gridpifhrtns["+i+"]/instcd", '012');
  997. // 재무통보월을 6자리로 만들기
  998. var notimm = grd_pifhrtns.valueMatrix(i,8);
  999. notimm = notimm.substr(0,6);
  1000. grd_pifhrtns.valueMatrix(i,8) = notimm;
  1001. var bsdpuse = "N";
  1002. /*
  1003. for (var j==1;j<=grd_pifhbsdp.rows;j++)
  1004. {
  1005. if (notimm == model.getValue("/root/main/list01/gridpifhbsdp["+ j +"]/notimm"))
  1006. {
  1007. bsdpuse = "Y";
  1008. }
  1009. }
  1010. if (bsdpuse == "N")
  1011. {
  1012. messageBox("해당 환수건의 통보월에 대한 입금 통보월이 ","I004");
  1013. }
  1014. */
  1015. }
  1016. model.setValue("/root/main/list03/gridpifhrtns", grd_pifhrtns.getUpdateData());
  1017. if (submit("TXPIF30302")) {
  1018. model.resetInstanceNode("/root/main/list01/gridpifhrtns");
  1019. submit("TRPIF30303");
  1020. chkRtndetl();
  1021. }
  1022. }
  1023. ]]>
  1024. </script>
  1025. </button>
  1026. <button id="button2" class="btn5_letter2" _auth="X" style="left:1039px; top:330px; width:42px; height:19px; ">
  1027. <caption>저장</caption>
  1028. <script type="javascript" ev:event="onclick">
  1029. <![CDATA[
  1030. var row_cnt = grd_pifhbsdp.row;
  1031. var rows = grd_pifhbsdp.rows;
  1032. var ins_cnt = 0;
  1033. if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
  1034. for(var i = 1;i<rows;i++) {
  1035. if(grd_pifhbsdp.rowStatus(i) == 1) {
  1036. messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
  1037. ++ins_cnt;
  1038. return false;
  1039. }
  1040. }
  1041. }
  1042. if(ipt_acptno.value== "") {
  1043. messageBox("접수번호를","C001");
  1044. model.setFocus("ipt_acptno");
  1045. return false;
  1046. }
  1047. if(cmb_judgdg.value == "") {
  1048. messageBox("심사차수를","C001");
  1049. model.setFocus("cmb_judgdg");
  1050. return false;
  1051. }
  1052. /*저장할 행을 선택하지 않았을 시*/
  1053. if(row_cnt == "-1") {
  1054. return false;
  1055. }
  1056. /*
  1057. if(grd_pifhbsdp.valueMatrix(row_cnt,6) == "") {
  1058. messageBox("통장입금액을","C001");
  1059. return false;
  1060. }*/
  1061. if(grd_pifhbsdp.valueMatrix(row_cnt,2) == "" || grd_pifhbsdp.valueMatrix(row_cnt,2) == null) {
  1062. messageBox(grd_pifhbsdp.valueMatrix(0,2),"C001");
  1063. return false;
  1064. }
  1065. var notimm = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,8);
  1066. notimm = notimm.substr(0,6);
  1067. model.setValue("/root/main/list01/gridpifhbsdp/notimm",notimm);
  1068. model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
  1069. if (model.getValue("/root/main/list02/gridpifmidep").length == 0) {
  1070. model.removenode("/root/main/list02/gridpifmidep");
  1071. }
  1072. if (submit("TXPIF30301")) {
  1073. model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
  1074. submit("TRPIF30303");
  1075. chkRtndetl();
  1076. }
  1077. ]]>
  1078. </script>
  1079. </button>
  1080. <line id="line3" class="line_2" style="x1:1px; y1:174px; x2:232px; y2:174px; "/>
  1081. <line id="line15" class="line_2" style="x1:1px; y1:149px; x2:232px; y2:149px; "/>
  1082. <line id="line16" class="line_2" style="x1:0px; y1:124px; x2:231px; y2:124px; "/>
  1083. <line id="line22" class="line_2" style="x1:238px; y1:124px; x2:473px; y2:124px; "/>
  1084. <line id="line23" class="line_2" style="x1:238px; y1:149px; x2:473px; y2:149px; "/>
  1085. <line id="line24" class="line_2" style="x1:238px; y1:174px; x2:473px; y2:174px; "/>
  1086. <line id="line25" class="line_2" style="x1:238px; y1:199px; x2:473px; y2:199px; "/>
  1087. <line id="line26" class="line_2" style="x1:478px; y1:199px; x2:713px; y2:199px; "/>
  1088. <line id="line27" class="line_2" style="x1:478px; y1:174px; x2:713px; y2:174px; "/>
  1089. <line id="line28" class="line_2" style="x1:478px; y1:149px; x2:713px; y2:149px; "/>
  1090. <line id="line29" class="line_2" style="x1:478px; y1:124px; x2:713px; y2:124px; "/>
  1091. <line id="line30" class="line_2" style="x1:718px; y1:124px; x2:953px; y2:124px; "/>
  1092. <line id="line31" class="line_2" style="x1:718px; y1:149px; x2:953px; y2:149px; "/>
  1093. <line id="line32" class="line_2" style="x1:718px; y1:174px; x2:953px; y2:174px; "/>
  1094. <line id="line33" class="line_2" style="x1:718px; y1:199px; x2:953px; y2:199px; "/>
  1095. <line id="line34" class="line_2" style="x1:959px; y1:199px; x2:1194px; y2:199px; "/>
  1096. <line id="line35" class="line_2" style="x1:959px; y1:174px; x2:1194px; y2:174px; "/>
  1097. <line id="line36" class="line_2" style="x1:959px; y1:149px; x2:1194px; y2:149px; "/>
  1098. <line id="line37" class="line_2" style="x1:959px; y1:124px; x2:1194px; y2:124px; "/>
  1099. <datagrid id="grd_pifhbsdp" nodeset="/root/main/list01/gridpifhbsdp" caption="입금일자^입금구분^금융기관^계좌번호^건수^통장입금액^환수예정액^재무통보월^정산외래입금^정산입원입금^비고^접수번호^심사차수^청구번호^일련번호^기관코드" colsep="^" colwidth="100, 90, 100, 120, 70, 90, 90, 86, 100, 100, 322, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:356px; width:1194px; height:171px; ">
  1100. <col autonext="true" ref="depodd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
  1101. <col autonext="true" ref="depoflag" type="combo">
  1102. <choices>
  1103. <itemset nodeset="/root/init/P0266list/P0266">
  1104. <label ref="cdnm"/>
  1105. <value ref="cdid"/>
  1106. </itemset>
  1107. </choices>
  1108. </col>
  1109. <col autonext="true" ref="bankcd" type="combo" style="text-align:center; ">
  1110. <choices>
  1111. <itemset nodeset="/root/init/R0001list/R0001">
  1112. <label ref="cdnm"/>
  1113. <value ref="cdid"/>
  1114. </itemset>
  1115. </choices>
  1116. </col>
  1117. <col ref="acntcd" type="input" style="text-align:center; "/>
  1118. <col ref="depocnt" type="input" format="#,###" style="text-align:right; "/>
  1119. <col ref="depoamt" type="input" format="#,###" style="text-align:right; "/>
  1120. <col ref="rtnscheamt" type="input" format="#,###" style="text-align:right; "/>
  1121. <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
  1122. <col ref="depooutamt" type="input" visibility="visible" format="#,###"/>
  1123. <col ref="depoinamt" type="input" visibility="visible" format="#,###"/>
  1124. <col ref="rem" type="input"/>
  1125. <col ref="acptno" visibility="hidden" style="text-align:center; "/>
  1126. <col ref="judgdg" visibility="hidden" style="text-align:center; "/>
  1127. <col ref="clamno" visibility="hidden" style="text-align:center; "/>
  1128. <col ref="seqno" visibility="hidden" style="text-align:center; "/>
  1129. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  1130. <script type="javascript" ev:event="xforms-select">
  1131. <![CDATA[
  1132. var insukind = model.getValue("/root/send/send01/insukind");
  1133. if(grd_pifhbsdp.col == grd_pifhbsdp.colRef("depoflag")){
  1134. var row = grd_pifhbsdp.row;
  1135. // 입금내역 그리드의 통장입금액을 받을 행번호를 send 노드에 create 한후 개인별 상한금 조회화면으로 넘겨준다.
  1136. model.makeNode("/root/send/send01/opn_row");
  1137. model.setValue("/root/send/send01/opn_row", row);
  1138. var depoflag = grd_pifhbsdp.valueMatrix(row,2); // 입금구분
  1139. var clamseqno = model.getValue("/root/main/list01/gridpifmiunc/clamseqno"); // 청구서일련번호(심결내역이 도착한 순서대로)
  1140. // 입금구분이 가지급,주민보류,무차수가지급,환입금,결손액 선택시 건수는 0 입력
  1141. if(depoflag == "01" || depoflag == "03" || depoflag == "05" || depoflag == "06" || depoflag == "07" || depoflag == "08" || depoflag == "11") {
  1142. grd_pifhbsdp.valueMatrix(row,5) = 0;
  1143. }
  1144. // 20100721 입금구분이 가지급, 상한금, 지원금인 경우는 심사차수가 1차인 경우만 입력가능
  1145. if(depoflag == "01" || depoflag == "06" || depoflag == "11") {
  1146. //model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
  1147. //model.alert(model.getValue("/root/temp/fstjudgdg"));
  1148. //model.alert(model.getValue("/root/send/send01/judgdg"));
  1149. // if(model.getValue("/root/temp/fstjudgdg") != model.getValue("/root/send/send01/judgdg")){
  1150. // messageBox("가지급, 상한금, 지원금은 심사차수가 1차만 가능합니다","");
  1151. // return;
  1152. // }
  1153. }
  1154. // 20100721 END
  1155. //1차 가지급일 경우
  1156. if(depoflag == "02") {
  1157. if(clamseqno != "1"){
  1158. if(insukind == "11"){
  1159. grd_pifhbsdp.valueMatrix(row,2) = "04";
  1160. }else{
  1161. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1162. }
  1163. /*
  1164. submit("TRPIF30307"); // 심사보류건수를 구해온다.
  1165. // grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/init/temp/judgretecnt/cnt");
  1166. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value)
  1167. setGridPifhbsdpFocus("popup")
  1168. */
  1169. }else{
  1170. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1171. }
  1172. }
  1173. // 입금구분이 주민보류일 경우
  1174. if(depoflag == "03") {
  1175. // grd_pifhbsdp.isReadOnly(row,7) = true;
  1176. model.makeNode("/root/send/send01/openerflag");
  1177. model.setValue("/root/send/send01/openerflag", "2");
  1178. model.makeNode("/root/send/send01/clamym");
  1179. model.setValue("/root/send/send01/clamym", ipt_clamdd.value.substr(0,6));
  1180. model.makeNode("/root/send/send01/instcd");
  1181. //model.setValue("/root/send/send01/instcd", ipt_instcd_hid.value);
  1182. // 입금일자를 팝업에 던져 준다.
  1183. model.makeNode("/root/send/send01/rtndd");
  1184. model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
  1185. modal("SPPIF30303", 1,"", "", "SPPIF30303", "/root/send/send01", "/root/send");
  1186. setGridPifhbsdpFocus("popup");
  1187. //window.load("SPPIF30303_주민보류내역.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
  1188. }
  1189. // 입금구분이 심사보류일 경우 심사보류건수는 심사차수가 2차이상일 경우만 0이 아닐수 있다.
  1190. // 1차에서의 심사보류건수 중 2차 심결로 온 건수 - 2차 주민보류건수 = 심사보류 건수이다.
  1191. if(depoflag == "04") {
  1192. if(clamseqno == "1"){
  1193. grd_pifhbsdp.valueMatrix(row,2) = "02";
  1194. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1195. }else{
  1196. submit("TRPIF30307"); // 심사보류건수를 구해온다.
  1197. // grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/init/temp/judgretecnt/cnt");
  1198. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value)
  1199. setGridPifhbsdpFocus("popup")
  1200. };
  1201. }
  1202. // 입금구분이 상한액일 경우
  1203. if(depoflag == "06") {
  1204. // grd_pifhbsdp.valueMatrix(row,7) = "0";
  1205. // grd_pifhbsdp.isReadOnly(row,7) = true;
  1206. model.makeNode("/root/send/send01/openerflag");
  1207. model.setValue("/root/send/send01/openerflag", "2");
  1208. // 입금일자를 팝업에 던져 준다.
  1209. model.makeNode("/root/send/send01/rtndd");
  1210. model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
  1211. // 2009.04.06 입금구분을 넘겨준다.
  1212. model.makeNode("/root/send/send01/inddepoflag");
  1213. model.setValue("/root/send/send01/inddepoflag", "06");
  1214. // model.setFocus("body");
  1215. modal("SPPIF30301", 1,"", "", "SPPIF30301", "/root/send/send01", "/root/send");
  1216. setGridPifhbsdpFocus("popup");
  1217. //window.load("SPPIF30301_개인별상한금관리.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
  1218. }
  1219. // 입금구분이 정산일 경우 정산건수는 piehf403 테이블의 정산 결정차액이 0이 아닌 건수
  1220. if(depoflag == "09") {
  1221. grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/main/list01/gridpifmiunc/cnt_calcdepo");
  1222. }
  1223. // 입금구분이 원외정산일 경우 원외정산건수는 piehf703 테이블의 정산 결정차액이 0이 아닌 건수
  1224. if(depoflag == "10") {
  1225. grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/main/list01/gridpifmiunc/cnt_hosoutcalc");
  1226. }
  1227. // 입금구분이 지원금일 경우
  1228. if(depoflag == "11") {
  1229. // grd_pifhbsdp.valueMatrix(row,7) = "0";
  1230. // grd_pifhbsdp.isReadOnly(row,7) = true;
  1231. model.makeNode("/root/send/send01/openerflag");
  1232. model.setValue("/root/send/send01/openerflag", "2");
  1233. // 입금일자를 팝업에 던져 준다.
  1234. model.makeNode("/root/send/send01/rtndd");
  1235. model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
  1236. // 2009.04.06 입금구분을 넘겨준다.
  1237. model.makeNode("/root/send/send01/inddepoflag");
  1238. model.setValue("/root/send/send01/inddepoflag", "11");
  1239. // model.setFocus("body");
  1240. modal("SPPIF30304", 1,"", "", "SPPIF30304", "/root/send/send01", "/root/send");
  1241. setGridPifhbsdpFocus("popup");
  1242. //window.load("SPPIF30301_개인별상한금관리.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
  1243. }
  1244. // 입금구분이 장애인일 경우
  1245. if(depoflag == "12") {
  1246. modal("SPPIF30421", 1,"", "", "SPPIF30421", "/root/send/send01", "/root/send");
  1247. }
  1248. // if(depoflag == "01") {
  1249. // // grd_pifhbsdp.valueMatrix(row,7) = "0";
  1250. // // grd_pifhbsdp.isReadOnly(row,7) = true;
  1251. //
  1252. // // 다음 포커스로 이동(가지급의 경우엔 통장입금액만 입력함. 환수예정액은 없음)
  1253. // setGridPifhbsdpFocus("nopopup");
  1254. // }
  1255. /*if(depoflag == "02" || depoflag == "05" || depoflag == "07" || depoflag == "08" || depoflag == "09" || depoflag == "10") {
  1256. grd_pifhbsdp.valueMatrix(row,7) = "0";
  1257. // grd_pifhbsdp.isReadOnly(row,7) = false;
  1258. }*/
  1259. if(depoflag != "02") {
  1260. // grd_pifhbsdp.valueMatrix(row,6) = "0"; // 2009.04.13 통장입금액 초기화 주석처리
  1261. grd_pifhbsdp.valueMatrix(row,7) = "0";
  1262. }
  1263. // 입금구분 선택시 다음 포커스 Setting
  1264. if(depoflag == "01" || depoflag == "02" || depoflag == "05" || depoflag == "07" || depoflag == "08" || depoflag == "09" || depoflag == "10") {
  1265. setGridPifhbsdpFocus("nopopup");
  1266. }
  1267. // 입금구분 선택시 다음 포커스 Setting 끝
  1268. chkGridPifhbsdp();
  1269. }
  1270. ]]>
  1271. </script>
  1272. <script type="javascript" ev:event="onkeyup">
  1273. <![CDATA[
  1274. if(event.keyCode == "13") {
  1275. var col = grd_pifhbsdp.col;
  1276. if(col == 6) {
  1277. model.setFocus("body");
  1278. model.setFocus("grd_pifhbsdp");
  1279. // 1차 지급일 경우 환수예정액으로 포커스 이동
  1280. if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,2) == "02" ) {
  1281. grd_pifhbsdp.col = 7;
  1282. } else {
  1283. grd_pifhbsdp.col = 8;
  1284. }
  1285. grd_pifhbsdp.dispatch("onentercell");
  1286. grd_pifhbsdp.editCell();
  1287. }
  1288. if(col == 7) {
  1289. model.setFocus("body");
  1290. model.setFocus("grd_pifhbsdp");
  1291. grd_pifhbsdp.col = 8;
  1292. grd_pifhbsdp.dispatch("onentercell");
  1293. grd_pifhbsdp.editCell();
  1294. }
  1295. }
  1296. ]]>
  1297. </script>
  1298. <script type="javascript" ev:event="xforms-value-changed">
  1299. <![CDATA[
  1300. var col = grd_pifhbsdp.col;
  1301. var row = grd_pifhbsdp.row;
  1302. var clamseqno = model.getValue("/root/main/list01/gridpifmiunc/clamseqno");
  1303. var insukind = model.getValue("/root/send/send01/insukind");
  1304. if(insukind == "11"){
  1305. if( col == grd_pifhbsdp.colRef("depodd")) {
  1306. if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row, grd_pifhbsdp.colRef("depodd")) != '') {
  1307. //model.setFocus("body");
  1308. //model.setFocus("grd_pifhbsdp");
  1309. if(clamseqno == "1"){
  1310. grd_pifhbsdp.valueMatrix(row,2) = "02";
  1311. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1312. }else{
  1313. grd_pifhbsdp.valueMatrix(row,2) = "04";
  1314. submit("TRPIF30307"); // 심사보류건수를 구해온다.
  1315. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value);
  1316. }
  1317. //입금일자 선택시 입금월로 재무통보월 자동 세팅-20100706 정숙희 선생님 요청사항
  1318. var depodd = model.getValue("/root/main/list01/gridpifhbsdp["+ row +"]/depodd").substring(0,6);
  1319. model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/notimm", depodd);
  1320. //통장입금액을 심결액으로 세팅-20100706 정숙희 선생님 요청사항
  1321. model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/depoamt", model.getValue("/root/main/list01/gridpifmiunc/jrjudgdeciamt01"));
  1322. // setGridPifhbsdpFocus("nopopup");
  1323. model.setFocus("body");
  1324. model.setFocus("grd_pifhbsdp");
  1325. grd_pifhbsdp.col = 6;
  1326. grd_pifhbsdp.dispatch("onentercell");
  1327. // grd_pifhbsdp.editCell();
  1328. }
  1329. }
  1330. }else if(insukind == "41"){
  1331. if( col == grd_pifhbsdp.colRef("depodd")) {
  1332. if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row, grd_pifhbsdp.colRef("depodd")) != '') {
  1333. //model.setFocus("body");
  1334. //model.setFocus("grd_pifhbsdp");
  1335. if(clamseqno == "1" || clamseqno == "0"){
  1336. grd_pifhbsdp.valueMatrix(row,2) = "02";
  1337. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
  1338. }else{
  1339. grd_pifhbsdp.valueMatrix(row,2) = "04";
  1340. submit("TRPIF30307"); // 심사보류건수를 구해온다.
  1341. grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value);
  1342. }
  1343. //입금일자 선택시 입금월로 재무통보월 자동 세팅-20100706 정숙희 선생님 요청사항
  1344. var depodd = model.getValue("/root/main/list01/gridpifhbsdp["+ row +"]/depodd").substring(0,6);
  1345. model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/notimm", depodd);
  1346. //통장입금액을 심결액으로 세팅-20100706 정숙희 선생님 요청사항
  1347. model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/depoamt", model.getValue("/root/main/list01/gridpifmiunc/jrjudgdeciamt01"));
  1348. // setGridPifhbsdpFocus("nopopup");
  1349. model.setFocus("body");
  1350. model.setFocus("grd_pifhbsdp");
  1351. grd_pifhbsdp.col = 6;
  1352. grd_pifhbsdp.dispatch("onentercell");
  1353. // grd_pifhbsdp.editCell();
  1354. }
  1355. }
  1356. }
  1357. if( col == grd_pifhbsdp.colRef("notimm")) {
  1358. if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) != '') {
  1359. model.setFocus("body");
  1360. model.setFocus("grd_pifhbsdp");
  1361. if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  1362. messageBox("마감된 이전월의 재무통보월은 입력하실 수","I004");
  1363. grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) = "";
  1364. return;
  1365. }
  1366. // grd_pifhbsdp.col = 9;
  1367. // grd_pifhbsdp.dispatch("onentercell");
  1368. // grd_pifhbsdp.editCell();
  1369. }
  1370. }
  1371. //2011-04-22 추가 정산입금에 외래/입원 구분 추가
  1372. if( col == grd_pifhbsdp.colRef("depooutamt")) {
  1373. var amt = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depoamt"));
  1374. var outamt = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depooutamt"));
  1375. grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depoinamt")) = parseInt(amt) - parseInt(outamt);
  1376. }
  1377. if( col == grd_pifhbsdp.colRef("depoinamt")) {
  1378. var amt = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depoamt"));
  1379. var inamt = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depoinamt"));
  1380. grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("depooutamt")) = parseInt(amt) - parseInt(inamt);
  1381. }
  1382. ]]>
  1383. </script>
  1384. </datagrid>
  1385. <datagrid id="grd_pifhrtns" nodeset="/root/main/list01/gridpifhrtns" caption="환수일자^환수구분^상계접수번호^상계심사차수^공문번호^공문도착일^환수금액^Before환수금액^재무통보월^비고^접수번호^심사차수^청구번호^순번^기관코드^환수구분그룹코드" colsep="^" colwidth="100, 94, 110, 110, 117, 100, 94, 100, 98, 325, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:557px; width:1194px; height:170px; ">
  1386. <col autonext="true" ref="rtndd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; ">
  1387. <script type="javascript" ev:event="xforms-value-changed">
  1388. <![CDATA[
  1389. var col = grd_pifhrtns.col;
  1390. if( col == grd_pifhrtns.colRef("rtndd")) {
  1391. if(grd_pifhrtns.valueMatrix(grd_pifhrtns.row, 1) != '') {
  1392. model.setFocus("body");
  1393. model.setFocus("grd_pifhrtns");
  1394. // grd_pifhrtns.col = 2;
  1395. // grd_pifhrtns.dispatch("onentercell");
  1396. // grd_pifhrtns.editCell();
  1397. }
  1398. }
  1399. ]]>
  1400. </script>
  1401. </col>
  1402. <col ref="rtnflag" type="combo">
  1403. <choices>
  1404. <itemset nodeset="/root/init/P0302list/P0302">
  1405. <label ref="cdnm"/>
  1406. <value ref="cdid"/>
  1407. </itemset>
  1408. </choices>
  1409. </col>
  1410. <script type="javascript" ev:event="xforms-select">
  1411. <![CDATA[
  1412. var row = grd_pifhrtns.row;
  1413. if(grd_pifhrtns.col == "2") {
  1414. var rtnflag = grd_pifhrtns.valueMatrix(row,2);
  1415. /*
  1416. if(grd_pifhrtns.valueMatrix(row,2) == "01" || grd_pifhrtns.valueMatrix(row,2) == "02" || grd_pifhrtns.valueMatrix(row,2) == "07" ) {
  1417. grd_pifhrtns.isReadOnly(row,3) = false;
  1418. grd_pifhrtns.isReadOnly(row,4) = false;
  1419. } else {
  1420. grd_pifhrtns.isReadOnly(row,3) = true;
  1421. grd_pifhrtns.isReadOnly(row,4) = true;
  1422. }
  1423. */
  1424. // 환수구분이 01,02,09,12 이면 환수그룹코드가 1
  1425. if(rtnflag == "01" || rtnflag == "02" || rtnflag == "09" || rtnflag == "12") {
  1426. model.setValue("/root/source/rtnflaggrcd", "1");
  1427. }
  1428. // 환수구분이 06이면 환수그룹코드가 3
  1429. if(rtnflag == "06") {
  1430. model.setValue("/root/source/rtnflaggrcd", "3");
  1431. }
  1432. // 환수구분이 03,04,05,08,11,13 이면 환수그룹코드가 2
  1433. if(rtnflag == "03" || rtnflag == "04" || rtnflag == "05" || rtnflag == "08" || rtnflag == "11" || rtnflag == "13") {
  1434. model.setValue("/root/source/rtnflaggrcd", "2");
  1435. }
  1436. // 환수구분이 07,10 이면 환수그룹코드가 4
  1437. if(rtnflag == "07" || rtnflag == "10") {
  1438. model.setValue("/root/source/rtnflaggrcd", "4");
  1439. }
  1440. model.setValue("/root/source/acptno", ipt_acptno.value); // 접수번호
  1441. model.setValue("/root/source/judgdg", cmb_judgdg.value); // 심사차수
  1442. model.setValue("/root/source/clamno", cmb_clamno.value); // 청구번호
  1443. model.setValue("/root/source/rtnflag", rtnflag); // 환수구분
  1444. model.setValue("/root/source/rtndetlrow", row);
  1445. model.makeNode("/root/source/openerflag");
  1446. model.setValue("/root/source/openerflag","보험산재");
  1447. model.setValue("/root/source/openerrtnflag",grd_pifhrtns.valueMatrix(row,2));
  1448. // 환수잔액조회 팝업화면
  1449. modal("SPPIF30310", 1, "", "", "SPPIF30310", "/root/source", "/root/send");
  1450. // 환수구분 선택시 포커스를 환수금액으로 이동시킴
  1451. setGridPifhrtnsFocus();
  1452. }
  1453. ]]>
  1454. </script>
  1455. <col ref="rtnacptno" style="text-align:center; "/>
  1456. <col ref="rtnjudgdg" style="text-align:center; "/>
  1457. <col ref="ofidocno" style="text-align:center; "/>
  1458. <col ref="ofidocarvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1459. <col ref="rtnamt" type="input" format="(-)#,###" style="text-align:right; ">
  1460. <script type="javascript" ev:event="xforms-value-changed">
  1461. <![CDATA[
  1462. var rows = grd_pifhrtns.rows;
  1463. for(var i=1;i<rows;i++) {
  1464. var rtnamt = model.getValue("/root/main/list01/gridpifhrtns["+ i +"]/rtnamt");
  1465. var brtnamt = model.getValue("/root/main/list01/gridpifhrtns["+ i +"]/brtnamt");
  1466. if(parseInt(rtnamt) > parseInt(brtnamt)){
  1467. messageBox(i+"번째 줄의 환수액이 환수잔액을 초과합니다!" ,"E999");
  1468. model.setValue("/root/main/list01/gridpifhrtns["+ i +"]/rtnamt", brtnamt);
  1469. return;
  1470. }
  1471. }
  1472. model.refresh();
  1473. ]]>
  1474. </script>
  1475. </col>
  1476. <col ref="brtnamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  1477. <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; ">
  1478. <script type="javascript" ev:event="xforms-value-changed">
  1479. <![CDATA[
  1480. var col = grd_pifhrtns.col;
  1481. if( col == grd_pifhrtns.colRef("notimm")) {
  1482. if(grd_pifhrtns.valueMatrix(grd_pifhrtns.row,grd_pifhrtns.colRef("notimm")) != '') {
  1483. model.setFocus("body");
  1484. model.setFocus("grd_pifhrtns");
  1485. if ( grd_pifhrtns.valueMatrix(grd_pifhrtns.row,grd_pifhrtns.colRef("notimm"))<= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
  1486. messageBox("마감된 이전월의 재무통보월은 입력하실 수","I004");
  1487. grd_pifhrtns.valueMatrix(grd_pifhrtns.row,grd_pifhrtns.colRef("notimm")) = "";
  1488. return;
  1489. }
  1490. // grd_pifhbsdp.col = 9;
  1491. // grd_pifhbsdp.dispatch("onentercell");
  1492. // grd_pifhbsdp.editCell();
  1493. }
  1494. }
  1495. ]]>
  1496. </script>
  1497. </col>
  1498. <col ref="rem" type="input"/>
  1499. <col ref="acptno" visibility="hidden"/>
  1500. <col ref="judgdg" visibility="hidden"/>
  1501. <col ref="clamno" visibility="hidden"/>
  1502. <col ref="seqno" visibility="hidden"/>
  1503. <col ref="instcd" visibility="hidden"/>
  1504. <col ref="rtnflaggrcd" type="combo" visibility="hidden">
  1505. <choices>
  1506. <itemset nodeset="/root/init/P0384list/P0384">
  1507. <label ref="cdnm"/>
  1508. <value ref="cdid"/>
  1509. </itemset>
  1510. </choices>
  1511. </col>
  1512. <col ref="rtnseqno" visibility="hidden"/>
  1513. <col ref="rtnclamno" visibility="hidden"/>
  1514. <script type="javascript" ev:event="xforms-value-changed">
  1515. <![CDATA[
  1516. var col = grd_pifhrtns.col;
  1517. var row = grd_pifhrtns.row;
  1518. if( col == grd_pifhrtns.colRef("rtndd")) {
  1519. if(grd_pifhrtns.valueMatrix(grd_pifhrtns.row, grd_pifhrtns.colRef("rtndd")) != '') {
  1520. //입금일자 선택시 입금월로 재무통보월 자동 세팅-20100706 정숙희 선생님 요청사항
  1521. var rtndd = model.getValue("/root/main/list01/gridpifhrtns["+ row +"]/rtndd").substring(0,6);
  1522. model.setValue("/root/main/list01/gridpifhrtns["+ row +"]/notimm", rtndd);
  1523. grd_pifhrtns.refresh();
  1524. }
  1525. }
  1526. ]]>
  1527. </script>
  1528. </datagrid>
  1529. <!--select1 id="cmb_clamtypecd" ref="/root/main/list01/gridpidmclam/clamtypecd" disabled="true" appearance="minimal" style="left:407px; top:76px; width:91px; height:19px; ">
  1530. <choices>
  1531. <itemset nodeset="/root/init/P0059list/P0059">
  1532. <label ref="cdnm"/>
  1533. <value ref="cdid"/>
  1534. </itemset>
  1535. </choices>
  1536. </select1-->
  1537. <output id="ipt_clamdd" ref="/root/main/list01/gridpidmclam/uncoym" class="input_default" format="yyyy-mm" appearance="output" style="left:209px; top:56px; width:90px; height:19px; text-align:center; "/>
  1538. <caption id="caption2" style="left:590px; top:330px; width:75px; height:20px; ">정산금액합계</caption>
  1539. <input id="ipt_calcamtsum" ref="/root/main/list01/calcamtsumdetl/calcamtsum" format="(-)#,###" style="left:674px; top:330px; width:91px; height:19px; text-align:right; "/>
  1540. <input id="ipt_rtnremainamt" ref="/root/main/list01/gridpifmiunc/rtnrestamt" class="input_default" format="(-)#,###" style="left:878px; top:304px; width:91px; height:19px; text-align:right; "/>
  1541. <output id="ipt_clamtypecd" ref="/root/main/list01/gridpidmclam/clamflag" appearance="output" style="left:521px; top:56px; width:80px; height:19px; text-align:center; "/>
  1542. <output id="input2" ref="/root/main/list01/gridpidmclam/acptdd" class="input_default" format="yyyy-mm-dd" appearance="output" style="left:365px; top:56px; width:90px; height:19px; text-align:center; "/>
  1543. <caption id="caption47" class="cell_1" style="left:302px; top:54px; width:60px; height:23px; text-align:center; vertical-align:middle; ">접수일자</caption>
  1544. <input id="ipt_judgdecicnt" ref="/root/main/list01/gridpifmiunc/cnt_judgdeci" class="input_default" format="#,###" style="left:340px; top:103px; width:133px; height:19px; text-align:right; "/>
  1545. <input id="ipt_jumincnt" ref="/root/main/list01/gridpifmiunc/cnt_jumin" class="input_default" format="#,###" style="left:1076px; top:103px; width:118px; height:19px; text-align:right; "/>
  1546. <input id="ipt_acptnocnt" ref="/root/main/list001/acptnocnt/cnt" visibility="hidden" style="left:1075px; top:15px; width:20px; height:19px; "/>
  1547. <input id="input15" ref="/root/main/list01/gridpifmiunc/jrhsuppamt04" class="input_default" format="#,###" style="left:1076px; top:228px; width:58px; height:19px; text-align:right; "/>
  1548. <line id="line38" class="line_2" style="x1:718px; y1:224px; x2:953px; y2:224px; "/>
  1549. <line id="line39" class="line_2" style="x1:959px; y1:224px; x2:1194px; y2:224px; "/>
  1550. <caption id="caption7" class="cell_1" style="left:478px; top:226px; width:100px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1551. <line id="line40" class="line_2" style="x1:238px; y1:224px; x2:473px; y2:224px; "/>
  1552. <line id="line41" class="line_2" style="x1:478px; y1:224px; x2:713px; y2:224px; "/>
  1553. <caption id="caption48" class="cell_1" style="left:718px; top:226px; width:100px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1554. <caption id="caption53" class="cell_1" style="left:958px; top:226px; width:115px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1555. <input id="input21" ref="/root/main/list01/gridpifmiunc/clhsuppamt" class="input_default" format="#,###" style="left:103px; top:228px; width:66px; height:19px; text-align:right; "/>
  1556. <line id="line42" class="line_2" style="x1:1px; y1:224px; x2:232px; y2:224px; "/>
  1557. <input id="input23" ref="/root/main/list01/gridpifmiunc/jrhsuppamt01" class="input_default" format="#,###" style="left:340px; top:228px; width:68px; height:19px; text-align:right; "/>
  1558. <caption id="caption55" class="cell_1" style="left:237px; top:226px; width:100px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1559. <input id="input36" ref="/root/main/list01/gridpifmiunc/jrhsuppamt02" class="input_default" format="#,###" style="left:581px; top:228px; width:68px; height:19px; text-align:right; "/>
  1560. <input id="input37" ref="/root/main/list01/gridpifmiunc/jrhsuppamt03" class="input_default" format="#,###" style="left:821px; top:228px; width:68px; height:19px; text-align:right; "/>
  1561. <caption id="caption56" class="cell_1" style="left:0px; top:226px; width:100px; height:23px; vertical-align:middle; ">희귀결핵지원금</caption>
  1562. <output id="input38" ref="/root/main/list01/gridpidmclam/ioflag" appearance="output" style="left:812px; top:56px; width:90px; height:19px; "/>
  1563. <input id="input40" ref="/root/main/list01/gridpifmiunc/totuncoamt" format="(-)#,###" appearance="input" style="left:1076px; top:280px; width:118px; height:19px; text-align:right; "/>
  1564. <caption id="caption57" style="left:993px; top:280px; width:65px; height:20px; ">토탈미수금</caption>
  1565. <caption id="caption54" class="cell_1" style="left:958px; top:250px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1566. <input id="input41" ref="/root/main/list01/gridpifmiunc/clhandicaprfund" class="input_default" format="#,###" style="left:103px; top:252px; width:129px; height:19px; text-align:right; "/>
  1567. <input id="input42" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund01" class="input_default" format="#,###" style="left:340px; top:252px; width:133px; height:19px; text-align:right; "/>
  1568. <caption id="caption58" class="cell_1" style="left:237px; top:250px; width:100px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1569. <caption id="caption59" class="cell_1" style="left:0px; top:250px; width:100px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1570. <input id="input43" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund02" class="input_default" format="#,###" style="left:581px; top:252px; width:132px; height:19px; text-align:right; "/>
  1571. <input id="input44" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund04" class="input_default" format="#,###" style="left:1076px; top:252px; width:118px; height:19px; text-align:right; "/>
  1572. <input id="input45" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund03" class="input_default" format="#,###" style="left:821px; top:252px; width:132px; height:19px; text-align:right; "/>
  1573. <caption id="caption60" class="cell_1" style="left:718px; top:250px; width:100px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1574. <caption id="caption61" class="cell_1" style="left:478px; top:250px; width:100px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1575. <caption id="caption62" class="cell_1" style="left:0px; top:274px; width:100px; height:23px; vertical-align:middle; ">약제상한차액</caption>
  1576. <input id="input46" ref="/root/main/list01/gridpifmiunc/cldruglimitdiffamtsum" class="input_default" format="#,###" style="left:103px; top:276px; width:129px; height:19px; text-align:right; "/>
  1577. <caption id="caption63" class="cell_1" style="left:237px; top:274px; width:100px; height:23px; vertical-align:middle; ">약제상한차액</caption>
  1578. <input id="input47" ref="/root/main/list01/gridpifmiunc/jrdruglimitdiffamtsum" class="input_default" format="#,###" style="left:340px; top:276px; width:133px; height:19px; text-align:right; "/>
  1579. <caption id="caption64" class="cell_1" style="left:478px; top:274px; width:100px; height:23px; vertical-align:middle; ">약제상한차액</caption>
  1580. <input id="input48" ref="/root/main/list01/gridpifmiunc/cldruglimitdiffamtsum02" class="input_default" format="#,###" style="left:581px; top:276px; width:133px; height:19px; text-align:right; "/>
  1581. <caption id="caption65" class="cell_1" style="left:718px; top:274px; width:100px; height:23px; vertical-align:middle; ">약제상한차액</caption>
  1582. <input id="input49" ref="/root/main/list01/gridpifmiunc/cldruglimitdiffamtsum03" class="input_default" format="#,###" style="left:821px; top:276px; width:133px; height:19px; text-align:right; "/>
  1583. <line id="line12" class="line_2" style="x1:478px; y1:248px; x2:713px; y2:248px; "/>
  1584. <line id="line13" class="line_2" style="x1:478px; y1:272px; x2:713px; y2:272px; "/>
  1585. <line id="line19" class="line_2" style="x1:718px; y1:248px; x2:953px; y2:248px; "/>
  1586. <line id="line20" class="line_2" style="x1:718px; y1:272px; x2:953px; y2:272px; "/>
  1587. <line id="line21" class="line_2" style="x1:959px; y1:248px; x2:1194px; y2:248px; "/>
  1588. <line id="line43" class="line_2" style="x1:959px; y1:272px; x2:1194px; y2:272px; "/>
  1589. <line id="line44" class="line_2" style="x1:238px; y1:248px; x2:473px; y2:248px; "/>
  1590. <line id="line45" class="line_2" style="x1:238px; y1:272px; x2:473px; y2:272px; "/>
  1591. <line id="line46" class="line_2" style="x1:1px; y1:248px; x2:232px; y2:248px; "/>
  1592. <line id="line47" class="line_2" style="x1:1px; y1:272px; x2:232px; y2:272px; "/>
  1593. <input id="input50" ref="/root/main/list01/gridpifmiunc/cllsuppamt" class="input_default" format="#,###" style="left:171px; top:228px; width:61px; height:19px; text-align:right; "/>
  1594. <input id="input51" ref="/root/main/list01/gridpifmiunc/jrlsuppamt01" class="input_default" format="#,###" style="left:410px; top:228px; width:63px; height:19px; text-align:right; "/>
  1595. <input id="input52" ref="/root/main/list01/gridpifmiunc/jrlsuppamt02" class="input_default" format="#,###" style="left:651px; top:228px; width:62px; height:19px; text-align:right; "/>
  1596. <input id="input53" ref="/root/main/list01/gridpifmiunc/jrlsuppamt04" class="input_default" format="#,###" style="left:1136px; top:228px; width:58px; height:19px; text-align:right; "/>
  1597. <input id="input54" ref="/root/main/list01/gridpifmiunc/jrlsuppamt03" class="input_default" format="#,###" style="left:891px; top:228px; width:62px; height:19px; text-align:right; "/>
  1598. </group>
  1599. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
  1600. </xhtml:body>
  1601. </xhtml:html>