1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>입금내역관리(보험산재)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <send01>
- <insukind>11</insukind>
- <acptno/>
- <judgdg/>
- <clamno/>
- <datefilter/>
- <clamtypecd/>
- </send01>
- <send02>
- </send02>
- <uncoendprcs>
- <insukindflag>1</insukindflag>
- </uncoendprcs>
- </send>
- <main>
- <list001>
- <U0001>
- <clamno/>
- </U0001>
- <acptnocnt>
- <cnt/>
- </acptnocnt>
- </list001>
- <list002>
- <U0002>
- <judgdg/>
- <setno/>
- </U0002>
- </list002>
- <list003>
- <U0003>
- <judgdg/>
- </U0003>
- </list003>
- <list01>
- <gridpidmclam>
- <clamym/>
- <uncoym/>
- <acptdd/>
- <clamflag/>
- <judgdg/>
- <ioflag/>
- <ordfildcd/>
- <clamno/>
- </gridpidmclam>
- <gridpifmiunc>
- <clamcnt/>
- <clmcstotamt/>
- <clownbamt/>
- <clclamamt/>
- <clownbmaxexamt/>
- <clsuppamt/>
- <clhandicaprfund/>
- <cldruglimitdiffamtsum/>
- <judgdecicnt/>
- <jrtotordamt01/>
- <jrownbamt01/>
- <jrjudgdeciamt01/>
- <jrownbmaxexamt01/>
- <jrsuppamt01/>
- <jrhandicaprfund01/>
- <jrdruglimitdiffamtsum01/>
- <rtncnt/>
- <jrtotordamt02/>
- <jrownbamt02/>
- <jrjudgdeciamt02/>
- <jrownbmaxexamt02/>
- <jrsuppamt02/>
- <jrhandicaprfund02/>
- <jrdruglimitdiffamtsum02/>
- <judgretecnt/>
- <jrtotordamt03/>
- <jrownbamt03/>
- <jrjudgdeciamt03/>
- <jrownbmaxexamt03/>
- <jrsuppamt03/>
- <jrhandicaprfund03/>
- <jrdruglimitdiffamtsum03/>
- <cnt_jumin/>
- <jrtotordamt04/>
- <jrownbamt04/>
- <jrjudgdeciamt04/>
- <jrownbmaxexamt04/>
- <jrsuppamt04/>
- <rucntsum/>
- <ruadjtamtsum/>
- <realcutamt/>
- <jrownaddbamtsum/>
- <acptno/>
- <judgdg/>
- <clamno/>
- <instcd/>
- <rtnrestamt/>
- <totuncoamt/>
- <uncoamt/>
- <cnt_calcdepo/>
- <cnt_hosoutcalc/>
- <jrhandicaprfund04/>
- <clamseqno/>
- <jrdruglimitdiffamtadjtsum/>
- </gridpifmiunc>
- <gridpifhbsdp>
- <depodd/>
- <inddepoflag/>
- <bankcd/>
- <acntcd/>
- <depocnt/>
- <depoamt/>
- <depooutamt/>
- <depoinamt/>
- <notimm/>
- <remfact/>
- <acptno/>
- <judgdg/>
- <clamno/>
- <seq/>
- </gridpifhbsdp>
- <calcamtsumdetl>
- <calcamtsum/>
- </calcamtsumdetl>
- </list01>
- <list02>
- <gridpifhbsdp/>
- </list02>
- <list03>
- <gridpifhrtns/>
- </list03>
- <result/>
- <result2/>
- </main>
- <init>
- <P0101list>
- <P0101>
- <cdid/>
- <cdnm/>
- </P0101>
- </P0101list>
- <P0266list>
- <P0266>
- <cdid/>
- <cdnm/>
- </P0266>
- </P0266list>
- <R0001list>
- <R0001>
- <cdid/>
- <cdnm/>
- </R0001>
- </R0001list>
- <P0302list>
- <P0302>
- <cdid/>
- <cdnm/>
- </P0302>
- </P0302list>
- <P0059list>
- <P0059>
- <cdid/>
- <cdnm/>
- </P0059>
- </P0059list>
- <P0384list>
- <P0384>
- <cdid/>
- <cdnm/>
- </P0384>
- </P0384list>
- <temp>
- <judgretecnt>
- <cnt/>
- </judgretecnt>
- </temp>
- <bankinfo>
- <bankinfolist>
- <cdid/>
- <cdnm/>
- </bankinfolist>
- </bankinfo>
- </init>
- <source>
- <judgdg/>
- <acptno/>
- <clamno/>
- <seqno/>
- <instcd/>
- <rtnflag/>
- <rtnflaggrcd/>
- <rtndetlrow/>
- <openerrtnflag/>
- <allsrchyn/>
- </source>
- <hidden>
- <session/>
- </hidden>
- <temp>
- <fstjudgdg/>
- </temp>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXPIF30301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/result"/>
- <submission id="TXPIF30302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list03" resultref="/root/main/result2"/>
- <submission id="TRPIF30301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list001"/>
- <submission id="TRPIF30302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list002"/>
- <submission id="TRPIF30303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
- <submission id="TRPIF30307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/temp"/>
- <submission id="TRPIF30309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/bankinfo"/>
- <submission id="TRPIF31303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/uncoendprcs" resultref="/root/main/chek"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetUserInfosSampling(); //세션/root/hidden/session
-
- INSTCD = model.getValue("/root/hidden/session/sess_dutplceinstcd");
-
- submit("TRPIF31303"); // 최종마감월을 가져와서 입금/환수 등록시 체크한다.
-
- //기관별 은행및 은행계좌조회
- fBankSearch();
-
- var cnt = getNodesetCount("/root/init/bankinfo/bankinfolist");
- var bankcd;
- var bankacount;
-
- for( var i = 1; i <= cnt; i++){
- if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "10"){
- bankcd = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
- }
-
- if(model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdid") == "20"){
- bankacount = model.getValue("/root/init/bankinfo/bankinfolist["+ i +"]/cdnm");
- }
- }
-
- BANKCD = bankcd;
- BANKACOUNT = bankacount;
-
- // 공통코드 Load작업
- CommCode_Load();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
-
- function Node_Init() {
- // NodeSet 초기화
- model.resetInstanceNode("/root/main/list01");
- }
-
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0059","P0101","P0266","R0001","P0302"), new Array( "/root/init/P0059list","/root/init/P0101list","/root/init/P0266list","/root/init/R0001list","/root/init/P0302list"));
- zbcfGetCodeList(new Array("P0384"), new Array( "/root/init/P0384list"));
- }
-
-
- // 청구번호 조회
- function searchClamno() {
- model.removenode("/root/main/list01");
- // inputEnterKey("button108", "DOMActivate");
- model.removenode("/root/main/list001/U0001");
- model.removenode("/root/main/list002/U0002");
-
- model.resetInstanceNode("/root/main/list001/U0001");
- model.resetInstanceNode("/root/main/list002/U0002");
-
- model.setValue("/root/send/send01/clamno","");
- model.setValue("/root/send/send01/judgdg","");
- model.refresh();
-
- submit("TRPIF30301");
-
- if(cmb_clamno.length == 1) {
- cmb_clamno.value = model.getValue("/root/main/list001/U0001/clamno");
- submit("TRPIF30302");
- if(cmb_judgdg.length == 1) {
- cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
- search();
- // model.setFocus("btn_srch");
- } else {
- model.setFocus("cmb_judgdg");
- }
- } else {
- model.setFocus("cmb_clamno");
- }
-
- cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
- model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
-
- }
-
-
- function search() {
- if(ipt_acptno.value == null || ipt_acptno.value == "") {
- messageBox("접수번호를","C001");
- return false;
- } else if(cmb_judgdg.value== "" || cmb_judgdg.value== null) {
- messageBox("심사차수를","C002");
- return false;
- } else if(cmb_clamno.value== "" || cmb_clamno.value== null) {
- messageBox("청구번호를","C002");
- return false;
- } else {
- model.resetInstanceNode("/root/main/list01");
- model.resetInstanceNode("/root/main/list02");
-
- model.refresh();
- submit("TRPIF30303");
- chkRtndetl();
- }
-
- model.makeNode("/root/main/list01/calcamtsumdetl/calcamtsum");
-
- chkGridPifhbsdp();
-
- if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
- for(var i=1;i<grd_pifhbsdp.rows;i++) {
- grd_pifhbsdp.isReadOnly(i,1) = true;
- grd_pifhbsdp.isReadOnly(i,2) = true;
- grd_pifhbsdp.isReadOnly(i,3) = true;
- grd_pifhbsdp.isReadOnly(i,4) = true;
- grd_pifhbsdp.isReadOnly(i,5) = true;
- grd_pifhbsdp.isReadOnly(i,6) = true;
- grd_pifhbsdp.isReadOnly(i,7) = true;
- grd_pifhbsdp.isReadOnly(i,8) = true;
- grd_pifhbsdp.isReadOnly(i,9) = false;
- }
- }
- }
-
- function rtnGridCheck() {
- // NodeSet 초기화
- var row_cnt = grd_pifhrtns.row;
- if(grd_pifhrtns.valueMatrix(row_cnt,2) == "01" || grd_pifhrtns.valueMatrix(row_cnt,2) == "02" || grd_pifhrtns.valueMatrix(row_cnt,2) == "07" ) {
- grd_pifhrtns.valueMatrix(row_cnt,3).disabled = false;
- grd_pifhrtns.valueMatrix(row_cnt,4).disabled = false;
- } else {
- grd_pifhrtns.valueMatrix(row_cnt,3).disabled = true;
- grd_pifhrtns.valueMatrix(row_cnt,4).disabled = true;
- }
- }
-
-
- // 저장된 환수내역에 대해서는 수정 불가 조치 함수
- function chkRtndetl() {
- // NodeSet 초기화
- var rows = grd_pifhrtns.rows;
- for(var i=1;i<rows;i++) {
- if(grd_pifhrtns.rowStatus(i) == "0") {
- // grd_pifhrtns.isReadOnly(i,1) = true;
- grd_pifhrtns.isReadOnly(i,2) = true;
- // grd_pifhrtns.isReadOnly(i,7) = true;
- // grd_pifhrtns.isReadOnly(i,8) = true;
- // grd_pifhrtns.isReadOnly(i,9) = true;
- }
- }
- }
-
- function chkGridPifhbsdp() {
- var rows = grd_pifhbsdp.rows;
-
- // 입금내역 그리드의 행갯수가 0보다 클때 2009.03.05 심사보류도 환수예정액 수정 가능하게 변경
- if(rows > 0) {
- for(var i=1;i<rows;i++) {
- if(grd_pifhbsdp.valueMatrix(i,2) == "01" || grd_pifhbsdp.valueMatrix(i,2) == "03" || grd_pifhbsdp.valueMatrix(i,2) == "06") {
- grd_pifhbsdp.valueMatrix(i,7) = "0";
- grd_pifhbsdp.isReadOnly(i,7) = true;
- } else {
- grd_pifhbsdp.isReadOnly(i,7) = false;
- }
- }
- }
- }
-
- // 입금내역의 입금구분 선택시 다음 셀로 포커스 이동
- function setGridPifhbsdpFocus(code) {
- if(code == "popup") {
-
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- grd_pifhbsdp.col = 6;
- grd_pifhbsdp.dispatch("onentercell");
- grd_pifhbsdp.editCell();
- } else {
-
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- grd_pifhbsdp.col = 6;
- grd_pifhbsdp.dispatch("onentercell");
- grd_pifhbsdp.editCell();
- }
- }
-
- // 환수내역의 환수구분 선택시 다음 셀로 포커스 이동
- function setGridPifhrtnsFocus() {
- model.setFocus("body");
- model.setFocus("grd_pifhrtns");
- grd_pifhrtns.col = 7;
- grd_pifhrtns.dispatch("onentercell");
- grd_pifhrtns.editCell();
- }
-
- function fBankSearch(){
- submit("TRPIF30309");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body visibility="hidden" style="color:#000000; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:164px; height:14px; ">입금내역관리(보험/산재)</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <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; "/>
- <caption id="caption52" class="search_name" style="left:115px; top:9px; width:86px; height:17px; ">접수번호 :</caption>
- <input id="ipt_acptno" ref="/root/send/send01/acptno" class="input_s_essential" navindex="2" maxlength="8" style="left:203px; top:8px; width:110px; height:19px; text-align:center; "/>
- <caption id="caption1" class="search_name" style="left:332px; top:9px; width:86px; height:17px; ">청구번호 :</caption>
- <input id="ipt_clamno" ref="/root/send/send01/clamno" class="input_s_essential" navindex="4" appearance="minimal" style="left:422px; top:8px; width:100px; height:19px; text-align:center; "/>
- <caption id="cp_judgdg" class="search_name" style="left:542px; top:9px; width:86px; height:17px; ">심사차수 :</caption>
- <input id="ipt_judgdg" ref="/root/send/send01/judgdg" class="input_s_essential" navindex="3" showvalue="true" appearance="minimal" style="left:632px; top:8px; width:138px; height:19px; text-align:left; "/>
- <line id="line18" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1121px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- search();
- ]]>
- </script>
- </button>
- <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; ">
- <choices>
- <item>
- <label>보험</label>
- <value>11</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (rdo_insukind.value == "11") {
- ipt_acptno.attribute("maxlength") = 7;
- model.setValue("/root/send/uncoendprcs/insukindflag","1"); // 보험
- } else if (rdo_insukind.value == "41") {
- ipt_acptno.attribute("maxlength") = 15;
- model.setValue("/root/send/uncoendprcs/insukindflag","6"); // 산재
- }
-
- // 최종 마감월
- model.removeNodeset("/root/main/check");
- submit("TRPIF31303");
-
- // 라디오 선택 변경시 초기화
- model.removenode("/root/main/list01");
- model.removenode("/root/main/list001/U0001");
- model.removenode("/root/main/list002/U0002");
- model.resetInstanceNode("/root/main/list001/U0001");
- model.resetInstanceNode("/root/main/list002/U0002");
- model.setValue("/root/send/send01/clamno","");
- model.setValue("/root/send/send01/judgdg","");
- model.setValue("/root/send/send01/acptno","");
- model.refresh();
-
- model.setFocus("ipt_acptno");
- ]]>
- </script>
- </select1>
- <input id="ipt_acptnocnt" ref="/root/main/list001/acptnocnt/cnt" visibility="hidden" style="left:1075px; top:8px; width:20px; height:19px; "/>
- </group>
- <button id="button7" class="btn5_letter2" style="left:1040px; top:50px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhbsdp.row;
- var rows = grd_pifhbsdp.rows;
- var ins_cnt = 0;
-
- if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
- for(var i = 1;i<rows;i++) {
- if(grd_pifhbsdp.rowStatus(i) == 1) {
- messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
- ++ins_cnt;
- return false;
- }
- }
- }
- if(ipt_acptno.value== "") {
- messageBox("접수번호를","C001");
- model.setFocus("ipt_acptno");
- return false;
- }
- if(cmb_judgdg.value == "") {
- messageBox("심사차수를","C001");
- model.setFocus("cmb_judgdg");
- return false;
- }
-
- /*저장할 행을 선택하지 않았을 시*/
- if(row_cnt == "-1") {
- return false;
- }
- /*
- if(grd_pifhbsdp.valueMatrix(row_cnt,6) == "") {
- messageBox("통장입금액을","C001");
- return false;
- }*/
- if(grd_pifhbsdp.valueMatrix(row_cnt,2) == "" || grd_pifhbsdp.valueMatrix(row_cnt,2) == null) {
- messageBox(grd_pifhbsdp.valueMatrix(0,2),"C001");
- return false;
- }
-
- var notimm = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,8);
- notimm = notimm.substr(0,6);
- model.setValue("/root/main/list01/gridpifhbsdp/notimm",notimm);
- model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
- if (submit("TXPIF30301")) {
- model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
- submit("TRPIF30303");
- chkRtndetl();
- }
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" style="left:1084px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- //model.alert(INSTCD);
- /*
- if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
- messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
- return false;
- }
- */
-
- grd_pifhbsdp.addRow();
- var row_cnt = grd_pifhbsdp.row;
-
-
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acptno",ipt_acptno.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/judgdg",cmb_judgdg.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/clamno",cmb_clamno.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/instcd", INSTCD);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/bankcd", BANKCD);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acntcd", BANKACOUNT);
-
-
- // if(ipt_acptno.value == "8888888") {
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "10");
- // }
-
- // if(ipt_acptno.value == "9999999") {
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "09");
- // }
-
- grd_pifhbsdp.valueMatrix(row_cnt, 6) = 0;
- grd_pifhbsdp.valueMatrix(row_cnt, 7) = 0;
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/rowstatus","i");
- if(ipt_calcamtsum.value != "") {
- var row = grd_pifhbsdp.row;
- var calcamtsum = Number(ipt_calcamtsum.value);
- if(calcamtsum >= 0) {
- grd_pifhbsdp.valueMatrix(row,6) = calcamtsum;
- grd_pifhbsdp.valueMatrix(row,7) = 0;
- } else {
- grd_pifhbsdp.valueMatrix(row,6) = 0;
- grd_pifhbsdp.valueMatrix(row,7) = calcamtsum;
- }
- }
- grd_pifhbsdp.topRow = grd_pifhbsdp.rows-1;
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:1140px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhbsdp.row;
-
- if(row_cnt == '-1' || row_cnt == '0') {
- return false;
- }
-
- if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
- return false;
- }
-
-
- if(grd_pifhbsdp.rowStatus(row_cnt) == "1" || grd_pifhbsdp.rowStatus(row_cnt) == "3") {
- grd_pifhbsdp.deleteItem(row_cnt);
- return false;
- } else {
-
- if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
- messageBox("마감된 데이터는 삭제 하실 수","I004"); // 없습니다.
- return;
- }
-
-
- if(messageBox("정말","Q001") == "6") {
- var rows = grd_pifhrtns.rows; // 환수내역 그리드의 데이터 총 갯수
-
- if(rows > 1) {
- for(var i=1;i<rows;i++) {
- var rtnacptno = grd_pifhrtns.valueMatrix(i,3);
- var rtnjudgdg = grd_pifhrtns.valueMatrix(i,4);
- var rtnseqno = grd_pifhrtns.valueMatrix(i,16);
- var seqno = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,13);
- if(ipt_acptno.value == rtnacptno & cmb_judgdg.value == rtnjudgdg & seqno == rtnseqno) {
- //if(messageBox("환수내역에 있는 데이터도 같이 삭제됩니다. 데이터를","Q001") == 7) {
- // return false;
- //}
- messageBox("환수내역이 존재하기 때문에 입금내역을 삭제할 수","I004");
- return false;
- }
- }
- }
-
- grd_pifhbsdp.deleteItem(row_cnt);
- model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
- //submit("TXPIF30301");
- if (submit("TXPIF30301")) {
- model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
- submit("TRPIF30303");
- chkRtndetl();
- }
- }
- }
-
-
-
- ]]>
- </script>
- </button>
- <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구년월</caption>
- <caption id="caption49" class="cell_1" style="left:146px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">미수월</caption>
- <caption id="caption47" class="cell_1" style="left:302px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">접수일자</caption>
- <caption id="caption27" class="cell_1" style="left:458px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구구분</caption>
- <caption id="caption14" class="cell_1" style="left:604px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
- <caption id="caption50" class="cell_1" style="left:750px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">내원유형</caption>
- <caption id="caption29" class="cell_1" style="left:905px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진료분야</caption>
- <caption id="caption51" class="cell_1" style="left:1049px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구번호</caption>
- <input id="input22" ref="/root/main/list01/gridpidmclam/clamym" class="input_default" format="yyyy-mm" appearance="output" style="left:63px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="ipt_clamdd" ref="/root/main/list01/gridpidmclam/uncoym" class="input_default" format="yyyy-mm" appearance="output" style="left:209px; top:76px; width:90px; height:19px; text-align:center; "/>
- <input id="input2" ref="/root/main/list01/gridpidmclam/acptdd" class="input_default" format="yyyy-mm-dd" appearance="output" style="left:365px; top:76px; width:90px; height:19px; text-align:center; "/>
- <input id="ipt_clamtypecd" ref="/root/main/list01/gridpidmclam/clamflag" appearance="output" style="left:521px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="input24" ref="/root/main/list01/gridpidmclam/judgdg" class="input_default" appearance="output" style="left:667px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="input38" ref="/root/main/list01/gridpidmclam/ioflag" appearance="output" style="left:812px; top:76px; width:90px; height:19px; "/>
- <input id="input25" ref="/root/main/list01/gridpidmclam/ordfildcd" class="input_default" appearance="output" style="left:967px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="input39" ref="/root/main/list01/gridpidmclam/clamno" class="input_default" appearance="output" style="left:1111px; top:76px; width:80px; height:19px; text-align:center; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:98px; x2:1195px; y2:98px; "/>
- <caption id="caption3" class="tit_2" style="left:6px; top:113px; width:78px; height:13px; ">청구내역</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:127px; x2:232px; y2:127px; "/>
- <caption id="caption21" class="cell_1" style="left:0px; top:132px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption26" class="cell_1" style="left:0px; top:156px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:181px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:206px; width:115px; height:23px; vertical-align:middle; ">청구액</caption>
- <caption id="caption19" class="cell_1" style="left:0px; top:231px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption56" class="cell_1" style="left:0px; top:256px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption59" class="cell_1" style="left:0px; top:281px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption62" class="cell_1" style="left:0px; top:306px; width:115px; height:23px; vertical-align:middle; ">청구약제상한차액</caption>
- <input id="input9" ref="/root/main/list01/gridpifmiunc/clamcnt" class="input_default" format="#,###" style="left:118px; top:133px; width:170px; height:19px; text-align:right; "/>
- <input id="input4" ref="/root/main/list01/gridpifmiunc/clmcstotamt" class="input_default" format="#,###" style="left:118px; top:157px; width:114px; height:19px; text-align:right; "/>
- <input id="input16" ref="/root/main/list01/gridpifmiunc/clownbamt" class="input_default" format="#,###" style="left:118px; top:182px; width:114px; height:19px; text-align:right; "/>
- <input id="input3" ref="/root/main/list01/gridpifmiunc/clclamamt" class="input_default" format="#,###" style="left:118px; top:208px; width:114px; height:19px; text-align:right; "/>
- <input id="input26" ref="/root/main/list01/gridpifmiunc/clownbmaxexamt" class="input_default" format="#,###" style="left:118px; top:233px; width:114px; height:19px; text-align:right; "/>
- <input id="input21" ref="/root/main/list01/gridpifmiunc/clsuppamt" class="input_default" format="#,###" style="left:118px; top:258px; width:114px; height:19px; text-align:right; "/>
- <input id="input41" ref="/root/main/list01/gridpifmiunc/clhandicaprfund" class="input_default" format="#,###" style="left:118px; top:283px; width:114px; height:19px; text-align:right; "/>
- <input id="input46" ref="/root/main/list01/gridpifmiunc/cldruglimitdiffamtsum" class="input_default" format="#,###" style="left:118px; top:308px; width:114px; height:19px; text-align:right; "/>
- <caption id="caption39" class="tit_2" style="left:246px; top:112px; width:114px; height:13px; ">심결내역(F204)</caption>
- <line id="line1" class="line_1" style="x1:237px; y1:127px; x2:473px; y2:127px; "/>
- <caption id="caption13" class="cell_1" style="left:302px; top:132px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption17" class="cell_1" style="left:237px; top:156px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption25" class="cell_1" style="left:237px; top:181px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption9" class="cell_1" style="left:237px; top:206px; width:115px; height:23px; vertical-align:middle; ">심결액</caption>
- <caption id="caption15" class="cell_1" style="left:237px; top:231px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption55" class="cell_1" style="left:237px; top:256px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption58" class="cell_1" style="left:237px; top:281px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption63" class="cell_1" style="left:237px; top:306px; width:115px; height:23px; vertical-align:middle; ">심결약제상한차액</caption>
- <input id="ipt_judgdecicnt" ref="/root/main/list01/gridpifmiunc/judgdecicnt" class="input_default" format="#,###" style="left:420px; top:133px; width:170px; height:19px; text-align:right; "/>
- <input id="input17" ref="/root/main/list01/gridpifmiunc/jrtotordamt01" class="input_default" format="#,###" style="left:355px; top:158px; width:118px; height:19px; text-align:right; "/>
- <input id="input14" ref="/root/main/list01/gridpifmiunc/jrownbamt01" class="input_default" format="#,###" style="left:355px; top:183px; width:118px; height:19px; text-align:right; "/>
- <input id="input11" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt01" class="input_default" format="(-)#,###" style="left:355px; top:208px; width:118px; height:19px; text-align:right; "/>
- <input id="input27" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt01" class="input_default" format="#,###" style="left:355px; top:233px; width:118px; height:19px; text-align:right; "/>
- <input id="input23" ref="/root/main/list01/gridpifmiunc/jrsuppamt01" class="input_default" format="#,###" style="left:355px; top:258px; width:118px; height:19px; text-align:right; "/>
- <input id="input42" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund01" class="input_default" format="#,###" style="left:355px; top:283px; width:118px; height:19px; text-align:right; "/>
- <input id="input47" ref="/root/main/list01/gridpifmiunc/jrdruglimitdiffamtsum01" class="input_default" format="#,###" style="left:355px; top:308px; width:118px; height:19px; text-align:right; "/>
- <caption id="caption40" class="tit_2" style="left:486px; top:112px; width:78px; height:13px; ">반송내역</caption>
- <line id="line4" class="line_1" style="x1:478px; y1:127px; x2:713px; y2:127px; "/>
- <caption id="caption4" class="cell_1" style="left:603px; top:132px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption18" class="cell_1" style="left:603px; top:156px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption5" class="cell_1" style="left:603px; top:181px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption20" class="cell_1" style="left:603px; top:206px; width:115px; height:23px; vertical-align:middle; ">반송액</caption>
- <caption id="caption10" class="cell_1" style="left:603px; top:231px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption7" class="cell_1" style="left:603px; top:256px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption61" class="cell_1" style="left:603px; top:281px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption16" class="cell_1" style="left:603px; top:306px; width:115px; height:23px; vertical-align:middle; ">반송약제상한차액</caption>
- <input id="input6" ref="/root/main/list01/gridpifmiunc/rtncnt" class="input_default" format="#,###" style="left:721px; top:133px; width:170px; height:19px; text-align:right; "/>
- <input id="input7" ref="/root/main/list01/gridpifmiunc/jrtotordamt02" class="input_default" format="#,###" style="left:721px; top:158px; width:170px; height:19px; text-align:right; "/>
- <input id="input5" ref="/root/main/list01/gridpifmiunc/jrownbamt02" class="input_default" format="#,###" style="left:721px; top:183px; width:170px; height:19px; text-align:right; "/>
- <input id="input1" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt02" class="input_default" format="#,###" style="left:721px; top:208px; width:170px; height:19px; text-align:right; "/>
- <input id="input28" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt02" class="input_default" format="#,###" style="left:721px; top:233px; width:170px; height:19px; text-align:right; "/>
- <input id="input36" ref="/root/main/list01/gridpifmiunc/jrsuppamt02" class="input_default" format="#,###" style="left:721px; top:258px; width:170px; height:19px; text-align:right; "/>
- <input id="input43" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund02" class="input_default" format="#,###" style="left:721px; top:283px; width:170px; height:19px; text-align:right; "/>
- <input id="input48" ref="/root/main/list01/gridpifmiunc/jrdruglimitdiffamtsum02" class="input_default" format="#,###" style="left:721px; top:308px; width:170px; height:19px; text-align:right; "/>
- <caption id="caption41" class="tit_2" style="left:726px; top:112px; width:96px; height:13px; ">심사보류내역</caption>
- <line id="line6" class="line_1" style="x1:718px; y1:127px; x2:953px; y2:127px; "/>
- <caption id="caption28" class="cell_1" style="left:903px; top:132px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption31" class="cell_1" style="left:903px; top:156px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption30" class="cell_1" style="left:903px; top:181px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption23" class="cell_1" style="left:903px; top:206px; width:115px; height:23px; vertical-align:middle; ">보류액</caption>
- <caption id="caption24" class="cell_1" style="left:903px; top:231px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption48" class="cell_1" style="left:903px; top:256px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption60" class="cell_1" style="left:903px; top:281px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption64" class="cell_1" style="left:903px; top:306px; width:115px; height:23px; vertical-align:middle; ">반송약제상한차액</caption>
- <input id="input13" ref="/root/main/list01/gridpifmiunc/judgretecnt" class="input_default" format="#,###" style="left:1021px; top:133px; width:170px; height:19px; text-align:right; "/>
- <input id="input8" ref="/root/main/list01/gridpifmiunc/jrtotordamt03" class="input_default" format="#,###" style="left:1021px; top:158px; width:170px; height:19px; text-align:right; "/>
- <input id="input12" ref="/root/main/list01/gridpifmiunc/jrownbamt03" class="input_default" format="#,###" style="left:1021px; top:183px; width:170px; height:19px; text-align:right; "/>
- <input id="input10" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt03" class="input_default" format="#,###" style="left:1021px; top:208px; width:170px; height:19px; text-align:right; "/>
- <input id="input29" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt03" class="input_default" format="#,###" style="left:1021px; top:233px; width:170px; height:19px; text-align:right; "/>
- <input id="input37" ref="/root/main/list01/gridpifmiunc/jrsuppamt03" class="input_default" format="#,###" style="left:1021px; top:258px; width:170px; height:19px; text-align:right; "/>
- <input id="input45" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund03" class="input_default" format="#,###" style="left:1021px; top:283px; width:170px; height:19px; text-align:right; "/>
- <input id="input49" ref="/root/main/list01/gridpifmiunc/jrdruglimitdiffamtsum03" class="input_default" format="#,###" style="left:1021px; top:308px; width:170px; height:19px; text-align:right; "/>
- <line id="line13" class="line_3" style="x1:238px; y1:329px; x2:473px; y2:329px; "/>
- <line id="line19" class="line_3" style="x1:603px; y1:329px; x2:838px; y2:329px; "/>
- <line id="line20" class="line_3" style="x1:903px; y1:329px; x2:1190px; y2:329px; "/>
- <line id="line3" class="line_2" style="x1:1px; y1:204px; x2:232px; y2:204px; "/>
- <line id="line17" class="line_2" style="x1:1px; y1:229px; x2:232px; y2:229px; "/>
- <line id="line42" class="line_2" style="x1:1px; y1:254px; x2:232px; y2:254px; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:329px; x2:232px; y2:329px; "/>
- <line id="line15" class="line_2" style="x1:1px; y1:179px; x2:232px; y2:179px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:154px; x2:231px; y2:154px; "/>
- <line id="line22" class="line_2" style="x1:238px; y1:154px; x2:473px; y2:154px; "/>
- <line id="line23" class="line_2" style="x1:238px; y1:179px; x2:473px; y2:179px; "/>
- <line id="line24" class="line_2" style="x1:238px; y1:204px; x2:473px; y2:204px; "/>
- <line id="line25" class="line_2" style="x1:238px; y1:229px; x2:473px; y2:229px; "/>
- <line id="line40" class="line_2" style="x1:238px; y1:254px; x2:473px; y2:254px; "/>
- <line id="line26" class="line_2" style="x1:603px; y1:229px; x2:838px; y2:229px; "/>
- <line id="line41" class="line_2" style="x1:603px; y1:254px; x2:838px; y2:254px; "/>
- <line id="line27" class="line_2" style="x1:603px; y1:204px; x2:838px; y2:204px; "/>
- <line id="line28" class="line_2" style="x1:603px; y1:179px; x2:838px; y2:179px; "/>
- <line id="line29" class="line_2" style="x1:603px; y1:154px; x2:890px; y2:154px; "/>
- <line id="line30" class="line_2" style="x1:903px; y1:154px; x2:1190px; y2:154px; "/>
- <line id="line31" class="line_2" style="x1:903px; y1:179px; x2:1190px; y2:179px; "/>
- <line id="line32" class="line_2" style="x1:903px; y1:204px; x2:1190px; y2:204px; "/>
- <line id="line33" class="line_2" style="x1:903px; y1:229px; x2:1190px; y2:229px; "/>
- <line id="line38" class="line_2" style="x1:903px; y1:254px; x2:1190px; y2:254px; "/>
- <line id="line9" class="line_2" style="x1:239px; y1:279px; x2:474px; y2:279px; "/>
- <line id="line43" class="line_2" style="x1:604px; y1:279px; x2:839px; y2:279px; "/>
- <line id="line44" class="line_2" style="x1:2px; y1:279px; x2:233px; y2:279px; "/>
- <line id="line45" class="line_2" style="x1:903px; y1:279px; x2:1190px; y2:279px; "/>
- <line id="line47" class="line_2" style="x1:239px; y1:304px; x2:474px; y2:304px; "/>
- <line id="line48" class="line_2" style="x1:604px; y1:304px; x2:839px; y2:304px; "/>
- <line id="line49" class="line_2" style="x1:2px; y1:304px; x2:233px; y2:304px; "/>
- <line id="line50" class="line_2" style="x1:903px; y1:304px; x2:1190px; y2:304px; "/>
- <caption id="caption2" style="left:794px; top:338px; width:75px; height:20px; ">정산금액합계</caption>
- <input id="ipt_calcamtsum" ref="/root/main/list01/calcamtsumdetl/calcamtsum" format="(-)#,###" style="left:878px; top:338px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption57" style="left:993px; top:338px; width:65px; height:20px; ">토탈미수금</caption>
- <input id="input40" ref="/root/main/list01/gridpifmiunc/totuncoamt" format="(-)#,###" appearance="input" style="left:1076px; top:338px; width:118px; height:19px; text-align:right; "/>
- <line id="line11" class="line_1" style="x1:0px; y1:359px; x2:1194px; y2:359px; "/>
- <caption id="caption33" class="cell_1" style="left:0px; top:364px; width:95px; height:23px; text-align:center; vertical-align:middle; ">삭감건수</caption>
- <caption id="caption43" class="cell_1" style="left:197px; top:364px; width:93px; height:23px; text-align:center; vertical-align:middle; ">조정삭감액</caption>
- <caption id="caption38" class="cell_1" style="left:392px; top:364px; width:93px; height:23px; text-align:center; vertical-align:middle; ">실삭감액</caption>
- <caption id="caption44" class="cell_1" style="left:587px; top:364px; width:93px; height:23px; text-align:center; vertical-align:middle; ">본인추가부담</caption>
- <caption id="caption45" class="cell_1" style="left:782px; top:364px; width:93px; height:23px; text-align:center; vertical-align:middle; ">환수잔액</caption>
- <caption id="caption46" class="cell_1" style="left:975px; top:364px; width:98px; height:23px; text-align:center; vertical-align:middle; ">미수금</caption>
- <input id="input31" ref="/root/main/list01/gridpifmiunc/rucntsum" class="input_default" style="left:98px; top:365px; width:91px; height:19px; text-align:center; "/>
- <input id="input35" ref="/root/main/list01/gridpifmiunc/ruadjtamtsum" class="input_default" format="#,###" style="left:293px; top:365px; width:91px; height:19px; text-align:right; "/>
- <input id="input32" ref="/root/main/list01/gridpifmiunc/realcutamt" class="input_default" format="(-)#,###" style="left:488px; top:365px; width:96px; height:19px; text-align:right; "/>
- <input id="input33" ref="/root/main/list01/gridpifmiunc/jrownaddbamtsum" class="input_default" format="#,###" style="left:683px; top:365px; width:91px; height:19px; text-align:right; "/>
- <input id="ipt_rtnremainamt" ref="/root/main/list01/gridpifmiunc/rtnrestamt" class="input_default" format="#,###" style="left:878px; top:365px; width:91px; height:19px; text-align:right; "/>
- <input id="input34" ref="/root/main/list01/gridpifmiunc/uncoamt" class="input_default" format="(-)#,###" style="left:1076px; top:365px; width:118px; height:19px; text-align:right; "/>
- <line id="line14" class="line_3" style="x1:0px; y1:387px; x2:1194px; y2:387px; "/>
- <button id="button3" class="btn2_letter6" disabled="false" style="left:880px; top:410px; width:86px; height:19px; ">
- <caption>환수잔액조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.resetInstanceNode("/root/source");
- model.setValue("/root/source/judgdg", model.getValue("/root/send/send01/judgdg"));
- model.setValue("/root/source/clamno", model.getValue("/root/send/send01/clamno"));
- model.setValue("/root/source/acptno", model.getValue("/root/send/send01/acptno"));
- // model.setValue("/root/source/instcd", model.getValue("/root/main/list01/gridpifmiunc/instcd"));
- model.setValue("/root/source/rtnflag", "");
- model.makeNode("/root/source/openerflag");
- model.setValue("/root/source/openerflag","보험산재");
- // 환수잔액조회 팝업화면
- modal("SPPIF30310", 1, "", "", "SPPIF30310", "/root/source", "/root/send");
- //window.load("SPPIF30310.xrw", "modal", "SPPIF30310", "", "/root/source", "/root/send");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter2" style="left:1039px; top:410px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhbsdp.row;
- var rows = grd_pifhbsdp.rows;
- var ins_cnt = 0;
-
- if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
- for(var i = 1;i<rows;i++) {
- if(grd_pifhbsdp.rowStatus(i) == 1) {
- messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
- ++ins_cnt;
- return false;
- }
- }
- }
- if(ipt_acptno.value== "") {
- messageBox("접수번호를","C001");
- model.setFocus("ipt_acptno");
- return false;
- }
- if(cmb_judgdg.value == "") {
- messageBox("심사차수를","C001");
- model.setFocus("cmb_judgdg");
- return false;
- }
-
- /*저장할 행을 선택하지 않았을 시*/
- if(row_cnt == "-1") {
- return false;
- }
- /*
- if(grd_pifhbsdp.valueMatrix(row_cnt,6) == "") {
- messageBox("통장입금액을","C001");
- return false;
- }*/
- if(grd_pifhbsdp.valueMatrix(row_cnt,2) == "" || grd_pifhbsdp.valueMatrix(row_cnt,2) == null) {
- messageBox(grd_pifhbsdp.valueMatrix(0,2),"C001");
- return false;
- }
-
- var notimm = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,8);
- notimm = notimm.substr(0,6);
- model.setValue("/root/main/list01/gridpifhbsdp/notimm",notimm);
- model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
- if (submit("TXPIF30301")) {
- model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
- submit("TRPIF30303");
- chkRtndetl();
- }
-
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter3" style="left:1084px; top:410px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- //model.alert(INSTCD);
- /*
- if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
- messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
- return false;
- }
- */
-
- grd_pifhbsdp.addRow();
- var row_cnt = grd_pifhbsdp.row;
-
-
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acptno",ipt_acptno.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/judgdg",cmb_judgdg.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/clamno",cmb_clamno.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/instcd", INSTCD);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/bankcd", BANKCD);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acntcd", BANKACOUNT);
-
-
- // if(ipt_acptno.value == "8888888") {
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "10");
- // }
-
- // if(ipt_acptno.value == "9999999") {
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "09");
- // }
-
- grd_pifhbsdp.valueMatrix(row_cnt, 6) = 0;
- grd_pifhbsdp.valueMatrix(row_cnt, 7) = 0;
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/rowstatus","i");
- if(ipt_calcamtsum.value != "") {
- var row = grd_pifhbsdp.row;
- var calcamtsum = Number(ipt_calcamtsum.value);
- if(calcamtsum >= 0) {
- grd_pifhbsdp.valueMatrix(row,6) = calcamtsum;
- grd_pifhbsdp.valueMatrix(row,7) = 0;
- } else {
- grd_pifhbsdp.valueMatrix(row,6) = 0;
- grd_pifhbsdp.valueMatrix(row,7) = calcamtsum;
- }
- }
- grd_pifhbsdp.topRow = grd_pifhbsdp.rows-1;
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:1140px; top:410px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhbsdp.row;
-
- if(row_cnt == '-1' || row_cnt == '0') {
- return false;
- }
-
- if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
- return false;
- }
-
-
- if(grd_pifhbsdp.rowStatus(row_cnt) == "1" || grd_pifhbsdp.rowStatus(row_cnt) == "3") {
- grd_pifhbsdp.deleteItem(row_cnt);
- return false;
- } else {
-
- if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
- messageBox("마감된 데이터는 삭제 하실 수","I004"); // 없습니다.
- return;
- }
-
-
- if(messageBox("정말","Q001") == "6") {
- var rows = grd_pifhrtns.rows; // 환수내역 그리드의 데이터 총 갯수
-
- if(rows > 1) {
- for(var i=1;i<rows;i++) {
- var rtnacptno = grd_pifhrtns.valueMatrix(i,3);
- var rtnjudgdg = grd_pifhrtns.valueMatrix(i,4);
- var rtnseqno = grd_pifhrtns.valueMatrix(i,16);
- var seqno = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,13);
- if(ipt_acptno.value == rtnacptno & cmb_judgdg.value == rtnjudgdg & seqno == rtnseqno) {
- //if(messageBox("환수내역에 있는 데이터도 같이 삭제됩니다. 데이터를","Q001") == 7) {
- // return false;
- //}
- messageBox("환수내역이 존재하기 때문에 입금내역을 삭제할 수","I004");
- return false;
- }
- }
- }
-
- grd_pifhbsdp.deleteItem(row_cnt);
- model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
- //submit("TXPIF30301");
- if (submit("TXPIF30301")) {
- model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
- submit("TRPIF30303");
- chkRtndetl();
- }
- }
- }
-
-
-
- ]]>
- </script>
- </button>
- <line id="line5" class="line_1" style="x1:0px; y1:431px; x2:1194px; y2:431px; "/>
- <caption id="caption8" class="tit_2" style="left:6px; top:404px; width:111px; height:13px; ">입금내역</caption>
- <datagrid id="grd_pifhbsdp" nodeset="/root/main/list01/gridpifhbsdp" caption="입금일자^입금구분^금융기관^계좌번호^건수^통장입금액^외래입금액^입원입금액^재무통보월^비고^접수번호^심사차수^청구번호^일련번호^기관코드" colsep="^" colwidth="100, 90, 100, 120, 70, 90, 90, 90, 86, 322, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:436px; width:1194px; height:294px; ">
- <col autonext="true" ref="depodd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
- <col autonext="true" ref="inddepoflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0266list/P0266">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col autonext="true" ref="bankcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/R0001list/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acntcd" type="input" style="text-align:center; "/>
- <col ref="depocnt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="depoamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="depooutamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="depoinamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
- <col ref="rem" type="input"/>
- <col ref="acptno" visibility="hidden" style="text-align:center; "/>
- <col ref="judgdg" visibility="hidden" style="text-align:center; "/>
- <col ref="clamno" visibility="hidden" style="text-align:center; "/>
- <col ref="seqno" visibility="hidden" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var insukind = model.getValue("/root/send/send01/insukind");
-
- if(grd_pifhbsdp.col == grd_pifhbsdp.colRef("depoflag")){
- var row = grd_pifhbsdp.row;
-
- // 입금내역 그리드의 통장입금액을 받을 행번호를 send 노드에 create 한후 개인별 상한금 조회화면으로 넘겨준다.
- model.makeNode("/root/send/send01/opn_row");
- model.setValue("/root/send/send01/opn_row", row);
-
- var depoflag = grd_pifhbsdp.valueMatrix(row,2); // 입금구분
- var clamseqno = model.getValue("/root/main/list01/gridpifmiunc/clamseqno"); // 청구서일련번호(심결내역이 도착한 순서대로)
-
- // 입금구분이 가지급,주민보류,무차수가지급,환입금,결손액 선택시 건수는 0 입력
- if(depoflag == "01" || depoflag == "03" || depoflag == "05" || depoflag == "06" || depoflag == "07" || depoflag == "08" || depoflag == "11") {
- grd_pifhbsdp.valueMatrix(row,5) = 0;
- }
-
-
- // 20100721 입금구분이 가지급, 상한금, 지원금인 경우는 심사차수가 1차인 경우만 입력가능
- if(depoflag == "01" || depoflag == "06" || depoflag == "11") {
- //model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
- //model.alert(model.getValue("/root/temp/fstjudgdg"));
- //model.alert(model.getValue("/root/send/send01/judgdg"));
- if(model.getValue("/root/temp/fstjudgdg") != model.getValue("/root/send/send01/judgdg")){
- messageBox("가지급, 상한금, 지원금은 심사차수가 1차만 가능합니다","");
- return;
- }
- }
- // 20100721 END
-
- //1차 가지급일 경우
- if(depoflag == "02") {
- if(clamseqno != "1"){
- if(insukind == "11"){
- grd_pifhbsdp.valueMatrix(row,2) = "04";
- }else{
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
- }
- /*
- submit("TRPIF30307"); // 심사보류건수를 구해온다.
- // grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/init/temp/judgretecnt/cnt");
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value)
- setGridPifhbsdpFocus("popup")
- */
- }else{
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
- }
-
- }
-
- // 입금구분이 주민보류일 경우
- if(depoflag == "03") {
- // grd_pifhbsdp.isReadOnly(row,7) = true;
- model.makeNode("/root/send/send01/openerflag");
- model.setValue("/root/send/send01/openerflag", "2");
- model.makeNode("/root/send/send01/clamym");
- model.setValue("/root/send/send01/clamym", ipt_clamdd.value.substr(0,6));
- model.makeNode("/root/send/send01/instcd");
- //model.setValue("/root/send/send01/instcd", ipt_instcd_hid.value);
-
- // 입금일자를 팝업에 던져 준다.
- model.makeNode("/root/send/send01/rtndd");
- model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
-
- modal("SPPIF30303", 1,"", "", "SPPIF30303", "/root/send/send01", "/root/send");
-
- setGridPifhbsdpFocus("popup");
- //window.load("SPPIF30303_주민보류내역.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
- }
-
- // 입금구분이 심사보류일 경우 심사보류건수는 심사차수가 2차이상일 경우만 0이 아닐수 있다.
- // 1차에서의 심사보류건수 중 2차 심결로 온 건수 - 2차 주민보류건수 = 심사보류 건수이다.
- if(depoflag == "04") {
- if(clamseqno == "1"){
- grd_pifhbsdp.valueMatrix(row,2) = "02";
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
- }else{
- submit("TRPIF30307"); // 심사보류건수를 구해온다.
- // grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/init/temp/judgretecnt/cnt");
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value)
- setGridPifhbsdpFocus("popup")
- };
- }
-
- // 입금구분이 상한액일 경우
- if(depoflag == "06") {
- // grd_pifhbsdp.valueMatrix(row,7) = "0";
- // grd_pifhbsdp.isReadOnly(row,7) = true;
- model.makeNode("/root/send/send01/openerflag");
- model.setValue("/root/send/send01/openerflag", "2");
-
- // 입금일자를 팝업에 던져 준다.
- model.makeNode("/root/send/send01/rtndd");
- model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
-
- // 2009.04.06 입금구분을 넘겨준다.
- model.makeNode("/root/send/send01/inddepoflag");
- model.setValue("/root/send/send01/inddepoflag", "06");
-
- // model.setFocus("body");
- modal("SPPIF30301", 1,"", "", "SPPIF30301", "/root/send/send01", "/root/send");
-
- setGridPifhbsdpFocus("popup");
- //window.load("SPPIF30301_개인별상한금관리.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
- }
-
- // 입금구분이 정산일 경우 정산건수는 piehf403 테이블의 정산 결정차액이 0이 아닌 건수
- if(depoflag == "09") {
- grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/main/list01/gridpifmiunc/cnt_calcdepo");
- }
-
- // 입금구분이 원외정산일 경우 원외정산건수는 piehf703 테이블의 정산 결정차액이 0이 아닌 건수
- if(depoflag == "10") {
- grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/main/list01/gridpifmiunc/cnt_hosoutcalc");
- }
- // 입금구분이 지원금일 경우
- if(depoflag == "11") {
- // grd_pifhbsdp.valueMatrix(row,7) = "0";
- // grd_pifhbsdp.isReadOnly(row,7) = true;
- model.makeNode("/root/send/send01/openerflag");
- model.setValue("/root/send/send01/openerflag", "2");
-
- // 입금일자를 팝업에 던져 준다.
- model.makeNode("/root/send/send01/rtndd");
- model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
-
- // 2009.04.06 입금구분을 넘겨준다.
- model.makeNode("/root/send/send01/inddepoflag");
- model.setValue("/root/send/send01/inddepoflag", "11");
-
- // model.setFocus("body");
- modal("SPPIF30304", 1,"", "", "SPPIF30304", "/root/send/send01", "/root/send");
-
- setGridPifhbsdpFocus("popup");
- //window.load("SPPIF30301_개인별상한금관리.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
- }
-
- // 입금구분이 장애인일 경우
- if(depoflag == "12") {
- modal("SPPIF30421", 1,"", "", "SPPIF30421", "/root/send/send01", "/root/send");
- }
-
- // if(depoflag == "01") {
- // // grd_pifhbsdp.valueMatrix(row,7) = "0";
- // // grd_pifhbsdp.isReadOnly(row,7) = true;
- //
- // // 다음 포커스로 이동(가지급의 경우엔 통장입금액만 입력함. 환수예정액은 없음)
- // setGridPifhbsdpFocus("nopopup");
- // }
-
- /*if(depoflag == "02" || depoflag == "05" || depoflag == "07" || depoflag == "08" || depoflag == "09" || depoflag == "10") {
- grd_pifhbsdp.valueMatrix(row,7) = "0";
- // grd_pifhbsdp.isReadOnly(row,7) = false;
- }*/
-
- if(depoflag != "02") {
- // grd_pifhbsdp.valueMatrix(row,6) = "0"; // 2009.04.13 통장입금액 초기화 주석처리
- grd_pifhbsdp.valueMatrix(row,7) = "0";
- }
-
- // 입금구분 선택시 다음 포커스 Setting
- if(depoflag == "01" || depoflag == "02" || depoflag == "05" || depoflag == "07" || depoflag == "08" || depoflag == "09" || depoflag == "10") {
- setGridPifhbsdpFocus("nopopup");
- }
- // 입금구분 선택시 다음 포커스 Setting 끝
-
- chkGridPifhbsdp();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- var col = grd_pifhbsdp.col;
- if(col == 6) {
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- // 1차 지급일 경우 환수예정액으로 포커스 이동
- if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,2) == "02" ) {
- grd_pifhbsdp.col = 7;
- } else {
- grd_pifhbsdp.col = 8;
- }
- grd_pifhbsdp.dispatch("onentercell");
- grd_pifhbsdp.editCell();
- }
- if(col == 7) {
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- grd_pifhbsdp.col = 8;
- grd_pifhbsdp.dispatch("onentercell");
- grd_pifhbsdp.editCell();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var col = grd_pifhbsdp.col;
- var row = grd_pifhbsdp.row;
- var clamseqno = model.getValue("/root/main/list01/gridpifmiunc/clamseqno");
-
- var insukind = model.getValue("/root/send/send01/insukind");
-
- if(insukind == "11"){
-
- if( col == grd_pifhbsdp.colRef("depodd")) {
- if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row, grd_pifhbsdp.colRef("depodd")) != '') {
- //model.setFocus("body");
- //model.setFocus("grd_pifhbsdp");
- if(clamseqno == "1"){
- grd_pifhbsdp.valueMatrix(row,2) = "02";
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
-
- }else{
- grd_pifhbsdp.valueMatrix(row,2) = "04";
- submit("TRPIF30307"); // 심사보류건수를 구해온다.
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value);
- }
- //입금일자 선택시 입금월로 재무통보월 자동 세팅-20100706 정숙희 선생님 요청사항
- var depodd = model.getValue("/root/main/list01/gridpifhbsdp["+ row +"]/depodd").substring(0,6);
- model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/notimm", depodd);
-
- //통장입금액을 심결액으로 세팅-20100706 정숙희 선생님 요청사항
- model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/depoamt", model.getValue("/root/main/list01/gridpifmiunc/jrjudgdeciamt01"));
-
-
- // setGridPifhbsdpFocus("nopopup");
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- grd_pifhbsdp.col = 6;
- grd_pifhbsdp.dispatch("onentercell");
- // grd_pifhbsdp.editCell();
- }
-
- }
-
- }
-
- if( col == grd_pifhbsdp.colRef("notimm")) {
- if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) != '') {
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
-
- if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
- messageBox("마감된 이전월의 재무통보월은 입력하실 수","I004");
- grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) = "";
- return;
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group6" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption32" class="search_name" style="left:115px; top:9px; width:86px; height:17px; ">접수번호 :</caption>
- <input id="ipt_acptno" ref="/root/send/send01/acptno" class="input_s_essential" navindex="2" maxlength="8" style="left:203px; top:8px; width:110px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if(ipt_acptno.value == "") {
- return false;
- } else {
- searchClamno();
- model.setFocus("cmb_judgdg");
- }
- ]]>
- </script>
- </input>
- <caption id="caption34" class="search_name" style="left:332px; top:9px; width:86px; height:17px; ">청구번호 :</caption>
- <select1 id="cmb_clamno" ref="/root/send/send01/clamno" class="combo_s_essential" navindex="4" appearance="minimal" style="left:422px; top:8px; width:100px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/main/list001/U0001">
- <label ref="clamno"/>
- <value ref="clamno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 심사차수를 초기화한다.
- model.removenode("/root/main/list002/U0002");
- model.setValue("/root/send/send01/judgdg","");
- model.refresh();
-
- submit("TRPIF30302");
-
-
- if(cmb_judgdg.length == 1) {
- cmb_judgdg.value = model.getValue("/root/main/list002/U0002/judgdg");
- search();
- //model.setFocus("btn_srch");
- } else if(cmb_judgdg.length > 1) {
- model.setFocus("cmb_judgdg");
- } else {
- messageBox("해당하는 심사차수가","I004");
- return false;
- }
-
- cmb_judgdg.select(0); // 심사차수 첫번째 항목 자동 선택
- model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
-
- ]]>
- </script>
- </select1>
- <caption id="caption35" class="search_name" style="left:542px; top:9px; width:86px; height:17px; ">심사차수 :</caption>
- <select1 id="cmb_judgdg" ref="/root/send/send01/judgdg" class="combo_s_essential" navindex="3" appearance="minimal" showvalue="true" style="left:632px; top:8px; width:138px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/main/list002/U0002">
- <label ref="setno"/>
- <value ref="judgdg"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removenode("/root/main/list01");
- search();
- ]]>
- </script>
- </select1>
- <line id="line7" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="button8" class="btn1_letter2" style="left:1121px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- search();
- ]]>
- </script>
- </button>
- <select1 id="radio1" 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; ">
- <choices>
- <item>
- <label>보험</label>
- <value>11</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (rdo_insukind.value == "11") {
- ipt_acptno.attribute("maxlength") = 7;
- model.setValue("/root/send/uncoendprcs/insukindflag","1"); // 보험
- } else if (rdo_insukind.value == "41") {
- ipt_acptno.attribute("maxlength") = 15;
- model.setValue("/root/send/uncoendprcs/insukindflag","6"); // 산재
- }
-
- // 최종 마감월
- model.removeNodeset("/root/main/check");
- submit("TRPIF31303");
-
- // 라디오 선택 변경시 초기화
- model.removenode("/root/main/list01");
- model.removenode("/root/main/list001/U0001");
- model.removenode("/root/main/list002/U0002");
- model.resetInstanceNode("/root/main/list001/U0001");
- model.resetInstanceNode("/root/main/list002/U0002");
- model.setValue("/root/send/send01/clamno","");
- model.setValue("/root/send/send01/judgdg","");
- model.setValue("/root/send/send01/acptno","");
- model.refresh();
-
- model.setFocus("ipt_acptno");
- ]]>
- </script>
- </select1>
- <input id="input20" ref="/root/main/list001/acptnocnt/cnt" visibility="hidden" style="left:1075px; top:8px; width:20px; height:19px; "/>
- </group>
- <button id="button9" class="btn5_letter2" style="left:1040px; top:50px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhbsdp.row;
- var rows = grd_pifhbsdp.rows;
- var ins_cnt = 0;
-
- if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
- for(var i = 1;i<rows;i++) {
- if(grd_pifhbsdp.rowStatus(i) == 1) {
- messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
- ++ins_cnt;
- return false;
- }
- }
- }
- if(ipt_acptno.value== "") {
- messageBox("접수번호를","C001");
- model.setFocus("ipt_acptno");
- return false;
- }
- if(cmb_judgdg.value == "") {
- messageBox("심사차수를","C001");
- model.setFocus("cmb_judgdg");
- return false;
- }
-
- /*저장할 행을 선택하지 않았을 시*/
- if(row_cnt == "-1") {
- return false;
- }
- /*
- if(grd_pifhbsdp.valueMatrix(row_cnt,6) == "") {
- messageBox("통장입금액을","C001");
- return false;
- }*/
- if(grd_pifhbsdp.valueMatrix(row_cnt,2) == "" || grd_pifhbsdp.valueMatrix(row_cnt,2) == null) {
- messageBox(grd_pifhbsdp.valueMatrix(0,2),"C001");
- return false;
- }
-
- var notimm = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,8);
- notimm = notimm.substr(0,6);
- model.setValue("/root/main/list01/gridpifhbsdp/notimm",notimm);
- model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
- if (submit("TXPIF30301")) {
- model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
- submit("TRPIF30303");
- chkRtndetl();
- }
-
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" style="left:1084px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- //model.alert(INSTCD);
- /*
- if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
- messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
- return false;
- }
- */
-
- grd_pifhbsdp.addRow();
- var row_cnt = grd_pifhbsdp.row;
-
-
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acptno",ipt_acptno.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/judgdg",cmb_judgdg.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/clamno",cmb_clamno.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/instcd", INSTCD);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/bankcd", BANKCD);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acntcd", BANKACOUNT);
-
-
- // if(ipt_acptno.value == "8888888") {
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "10");
- // }
-
- // if(ipt_acptno.value == "9999999") {
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/depoflag", "09");
- // }
-
- grd_pifhbsdp.valueMatrix(row_cnt, 6) = 0;
- grd_pifhbsdp.valueMatrix(row_cnt, 7) = 0;
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/rowstatus","i");
- if(ipt_calcamtsum.value != "") {
- var row = grd_pifhbsdp.row;
- var calcamtsum = Number(ipt_calcamtsum.value);
- if(calcamtsum >= 0) {
- grd_pifhbsdp.valueMatrix(row,6) = calcamtsum;
- grd_pifhbsdp.valueMatrix(row,7) = 0;
- } else {
- grd_pifhbsdp.valueMatrix(row,6) = 0;
- grd_pifhbsdp.valueMatrix(row,7) = calcamtsum;
- }
- }
- grd_pifhbsdp.topRow = grd_pifhbsdp.rows-1;
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" style="left:1140px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhbsdp.row;
-
- if(row_cnt == '-1' || row_cnt == '0') {
- return false;
- }
-
- if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
- return false;
- }
-
-
- if(grd_pifhbsdp.rowStatus(row_cnt) == "1" || grd_pifhbsdp.rowStatus(row_cnt) == "3") {
- grd_pifhbsdp.deleteItem(row_cnt);
- return false;
- } else {
-
- if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
- messageBox("마감된 데이터는 삭제 하실 수","I004"); // 없습니다.
- return;
- }
-
-
- if(messageBox("정말","Q001") == "6") {
- var rows = grd_pifhrtns.rows; // 환수내역 그리드의 데이터 총 갯수
-
- if(rows > 1) {
- for(var i=1;i<rows;i++) {
- var rtnacptno = grd_pifhrtns.valueMatrix(i,3);
- var rtnjudgdg = grd_pifhrtns.valueMatrix(i,4);
- var rtnseqno = grd_pifhrtns.valueMatrix(i,16);
- var seqno = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,13);
- if(ipt_acptno.value == rtnacptno & cmb_judgdg.value == rtnjudgdg & seqno == rtnseqno) {
- //if(messageBox("환수내역에 있는 데이터도 같이 삭제됩니다. 데이터를","Q001") == 7) {
- // return false;
- //}
- messageBox("환수내역이 존재하기 때문에 입금내역을 삭제할 수","I004");
- return false;
- }
- }
- }
-
- grd_pifhbsdp.deleteItem(row_cnt);
- model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
- //submit("TXPIF30301");
- if (submit("TXPIF30301")) {
- model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
- submit("TRPIF30303");
- chkRtndetl();
- }
- }
- }
-
-
-
- ]]>
- </script>
- </button>
- <line id="line21" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption36" class="cell_1" style="left:0px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구년월</caption>
- <caption id="caption37" class="cell_1" style="left:146px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">미수월</caption>
- <caption id="caption42" class="cell_1" style="left:302px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">접수일자</caption>
- <caption id="caption53" class="cell_1" style="left:458px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구구분</caption>
- <caption id="caption54" class="cell_1" style="left:604px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
- <caption id="caption65" class="cell_1" style="left:750px; top:74px; width:60px; height:23px; text-align:center; vertical-align:middle; ">내원유형</caption>
- <caption id="caption66" class="cell_1" style="left:905px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진료분야</caption>
- <caption id="caption67" class="cell_1" style="left:1049px; top:75px; width:60px; height:23px; text-align:center; vertical-align:middle; ">청구번호</caption>
- <input id="input30" ref="/root/main/list01/gridpidmclam/clamym" class="input_default" format="yyyy-mm" appearance="output" style="left:63px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="input44" ref="/root/main/list01/gridpidmclam/uncoym" class="input_default" format="yyyy-mm" appearance="output" style="left:209px; top:76px; width:90px; height:19px; text-align:center; "/>
- <input id="input50" ref="/root/main/list01/gridpidmclam/acptdd" class="input_default" format="yyyy-mm-dd" appearance="output" style="left:365px; top:76px; width:90px; height:19px; text-align:center; "/>
- <input id="input51" ref="/root/main/list01/gridpidmclam/clamflag" appearance="output" style="left:521px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="input52" ref="/root/main/list01/gridpidmclam/judgdg" class="input_default" appearance="output" style="left:667px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="input53" ref="/root/main/list01/gridpidmclam/ioflag" appearance="output" style="left:812px; top:76px; width:90px; height:19px; "/>
- <input id="input54" ref="/root/main/list01/gridpidmclam/ordfildcd" class="input_default" appearance="output" style="left:967px; top:76px; width:80px; height:19px; text-align:center; "/>
- <input id="input55" ref="/root/main/list01/gridpidmclam/clamno" class="input_default" appearance="output" style="left:1111px; top:76px; width:80px; height:19px; text-align:center; "/>
- <line id="line34" class="line_3" style="x1:0px; y1:98px; x2:1195px; y2:98px; "/>
- <caption id="caption68" class="tit_2" style="left:6px; top:113px; width:78px; height:13px; ">청구내역</caption>
- <line id="line35" class="line_1" style="x1:0px; y1:127px; x2:288px; y2:127px; "/>
- <caption id="caption69" class="cell_1" style="left:0px; top:132px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption70" class="cell_1" style="left:0px; top:156px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption71" class="cell_1" style="left:0px; top:181px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption72" class="cell_1" style="left:0px; top:206px; width:115px; height:23px; vertical-align:middle; ">청구액</caption>
- <caption id="caption73" class="cell_1" style="left:0px; top:231px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption74" class="cell_1" style="left:0px; top:256px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption75" class="cell_1" style="left:0px; top:281px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption76" class="cell_1" style="left:0px; top:306px; width:115px; height:23px; vertical-align:middle; ">청구약제상한차액</caption>
- <input id="input56" ref="/root/main/list01/gridpifmiunc/clamcnt" class="input_default" format="#,###" style="left:118px; top:133px; width:170px; height:19px; text-align:right; "/>
- <input id="input57" ref="/root/main/list01/gridpifmiunc/clmcstotamt" class="input_default" format="#,###" style="left:118px; top:157px; width:170px; height:19px; text-align:right; "/>
- <input id="input58" ref="/root/main/list01/gridpifmiunc/clownbamt" class="input_default" format="#,###" style="left:118px; top:182px; width:170px; height:19px; text-align:right; "/>
- <input id="input59" ref="/root/main/list01/gridpifmiunc/clclamamt" class="input_default" format="#,###" style="left:118px; top:208px; width:170px; height:19px; text-align:right; "/>
- <input id="input60" ref="/root/main/list01/gridpifmiunc/clownbmaxexamt" class="input_default" format="#,###" style="left:118px; top:233px; width:170px; height:19px; text-align:right; "/>
- <input id="input61" ref="/root/main/list01/gridpifmiunc/clsuppamt" class="input_default" format="#,###" style="left:118px; top:258px; width:170px; height:19px; text-align:right; "/>
- <input id="input62" ref="/root/main/list01/gridpifmiunc/clhandicaprfund" class="input_default" format="#,###" style="left:118px; top:283px; width:170px; height:19px; text-align:right; "/>
- <input id="input63" ref="/root/main/list01/gridpifmiunc/cldruglimitdiffamtsum" class="input_default" format="#,###" style="left:118px; top:308px; width:170px; height:19px; text-align:right; "/>
- <caption id="caption77" class="tit_2" style="left:311px; top:112px; width:114px; height:13px; ">심결내역(F204)</caption>
- <line id="line36" class="line_1" style="x1:302px; y1:127px; x2:590px; y2:127px; "/>
- <caption id="caption78" class="cell_1" style="left:302px; top:132px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption79" class="cell_1" style="left:302px; top:156px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption80" class="cell_1" style="left:302px; top:181px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption81" class="cell_1" style="left:302px; top:206px; width:115px; height:23px; vertical-align:middle; ">심결액</caption>
- <caption id="caption82" class="cell_1" style="left:302px; top:231px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption83" class="cell_1" style="left:302px; top:256px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption84" class="cell_1" style="left:302px; top:281px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption85" class="cell_1" style="left:302px; top:306px; width:115px; height:23px; vertical-align:middle; ">심결약제상한차액</caption>
- <input id="input64" ref="/root/main/list01/gridpifmiunc/judgdecicnt" class="input_default" format="#,###" style="left:420px; top:133px; width:170px; height:19px; text-align:right; "/>
- <input id="input65" ref="/root/main/list01/gridpifmiunc/jrtotordamt01" class="input_default" format="#,###" style="left:420px; top:158px; width:170px; height:19px; text-align:right; "/>
- <input id="input66" ref="/root/main/list01/gridpifmiunc/jrownbamt01" class="input_default" format="#,###" style="left:420px; top:183px; width:170px; height:19px; text-align:right; "/>
- <input id="input67" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt01" class="input_default" format="(-)#,###" style="left:420px; top:208px; width:170px; height:19px; text-align:right; "/>
- <input id="input68" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt01" class="input_default" format="#,###" style="left:420px; top:233px; width:170px; height:19px; text-align:right; "/>
- <input id="input69" ref="/root/main/list01/gridpifmiunc/jrsuppamt01" class="input_default" format="#,###" style="left:420px; top:258px; width:170px; height:19px; text-align:right; "/>
- <input id="input70" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund01" class="input_default" format="#,###" style="left:420px; top:283px; width:170px; height:19px; text-align:right; "/>
- <input id="input71" ref="/root/main/list01/gridpifmiunc/jrdruglimitdiffamtsum01" class="input_default" format="#,###" style="left:420px; top:308px; width:170px; height:19px; text-align:right; "/>
- <caption id="caption86" class="tit_2" style="left:611px; top:112px; width:78px; height:13px; ">반송내역</caption>
- <line id="line37" class="line_1" style="x1:603px; y1:127px; x2:890px; y2:127px; "/>
- <caption id="caption87" class="cell_1" style="left:603px; top:132px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption88" class="cell_1" style="left:603px; top:156px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption89" class="cell_1" style="left:603px; top:181px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption90" class="cell_1" style="left:603px; top:206px; width:115px; height:23px; vertical-align:middle; ">반송액</caption>
- <caption id="caption91" class="cell_1" style="left:603px; top:231px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption92" class="cell_1" style="left:603px; top:256px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption93" class="cell_1" style="left:603px; top:281px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption94" class="cell_1" style="left:603px; top:306px; width:115px; height:23px; vertical-align:middle; ">반송약제상한차액</caption>
- <input id="input72" ref="/root/main/list01/gridpifmiunc/rtncnt" class="input_default" format="#,###" style="left:721px; top:133px; width:170px; height:19px; text-align:right; "/>
- <input id="input73" ref="/root/main/list01/gridpifmiunc/jrtotordamt02" class="input_default" format="#,###" style="left:721px; top:158px; width:170px; height:19px; text-align:right; "/>
- <input id="input74" ref="/root/main/list01/gridpifmiunc/jrownbamt02" class="input_default" format="#,###" style="left:721px; top:183px; width:170px; height:19px; text-align:right; "/>
- <input id="input75" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt02" class="input_default" format="#,###" style="left:721px; top:208px; width:170px; height:19px; text-align:right; "/>
- <input id="input76" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt02" class="input_default" format="#,###" style="left:721px; top:233px; width:170px; height:19px; text-align:right; "/>
- <input id="input77" ref="/root/main/list01/gridpifmiunc/jrsuppamt02" class="input_default" format="#,###" style="left:721px; top:258px; width:170px; height:19px; text-align:right; "/>
- <input id="input78" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund02" class="input_default" format="#,###" style="left:721px; top:283px; width:170px; height:19px; text-align:right; "/>
- <input id="input79" ref="/root/main/list01/gridpifmiunc/jrdruglimitdiffamtsum02" class="input_default" format="#,###" style="left:721px; top:308px; width:170px; height:19px; text-align:right; "/>
- <caption id="caption95" class="tit_2" style="left:911px; top:112px; width:96px; height:13px; ">심사보류내역</caption>
- <line id="line39" class="line_1" style="x1:903px; y1:127px; x2:1190px; y2:127px; "/>
- <caption id="caption96" class="cell_1" style="left:903px; top:132px; width:115px; height:23px; vertical-align:middle; ">건수</caption>
- <caption id="caption97" class="cell_1" style="left:903px; top:156px; width:115px; height:23px; vertical-align:middle; ">총진료비</caption>
- <caption id="caption98" class="cell_1" style="left:903px; top:181px; width:115px; height:23px; vertical-align:middle; ">본인부담</caption>
- <caption id="caption99" class="cell_1" style="left:903px; top:206px; width:115px; height:23px; vertical-align:middle; ">보류액</caption>
- <caption id="caption100" class="cell_1" style="left:903px; top:231px; width:115px; height:23px; vertical-align:middle; ">상한금</caption>
- <caption id="caption101" class="cell_1" style="left:903px; top:256px; width:115px; height:23px; vertical-align:middle; ">지원금</caption>
- <caption id="caption102" class="cell_1" style="left:903px; top:281px; width:115px; height:23px; vertical-align:middle; ">장애인기금</caption>
- <caption id="caption103" class="cell_1" style="left:903px; top:306px; width:115px; height:23px; vertical-align:middle; ">반송약제상한차액</caption>
- <input id="input80" ref="/root/main/list01/gridpifmiunc/judgretecnt" class="input_default" format="#,###" style="left:1021px; top:133px; width:170px; height:19px; text-align:right; "/>
- <input id="input81" ref="/root/main/list01/gridpifmiunc/jrtotordamt03" class="input_default" format="#,###" style="left:1021px; top:158px; width:170px; height:19px; text-align:right; "/>
- <input id="input82" ref="/root/main/list01/gridpifmiunc/jrownbamt03" class="input_default" format="#,###" style="left:1021px; top:183px; width:170px; height:19px; text-align:right; "/>
- <input id="input83" ref="/root/main/list01/gridpifmiunc/jrjudgdeciamt03" class="input_default" format="#,###" style="left:1021px; top:208px; width:170px; height:19px; text-align:right; "/>
- <input id="input84" ref="/root/main/list01/gridpifmiunc/jrownbmaxexamt03" class="input_default" format="#,###" style="left:1021px; top:233px; width:170px; height:19px; text-align:right; "/>
- <input id="input85" ref="/root/main/list01/gridpifmiunc/jrsuppamt03" class="input_default" format="#,###" style="left:1021px; top:258px; width:170px; height:19px; text-align:right; "/>
- <input id="input86" ref="/root/main/list01/gridpifmiunc/jrhandicaprfund03" class="input_default" format="#,###" style="left:1021px; top:283px; width:170px; height:19px; text-align:right; "/>
- <input id="input87" ref="/root/main/list01/gridpifmiunc/jrdruglimitdiffamtsum03" class="input_default" format="#,###" style="left:1021px; top:308px; width:170px; height:19px; text-align:right; "/>
- <line id="line46" class="line_3" style="x1:303px; y1:329px; x2:590px; y2:329px; "/>
- <line id="line51" class="line_3" style="x1:603px; y1:329px; x2:890px; y2:329px; "/>
- <line id="line52" class="line_3" style="x1:903px; y1:329px; x2:1190px; y2:329px; "/>
- <line id="line53" class="line_2" style="x1:1px; y1:204px; x2:288px; y2:204px; "/>
- <line id="line54" class="line_2" style="x1:1px; y1:229px; x2:288px; y2:229px; "/>
- <line id="line55" class="line_2" style="x1:1px; y1:254px; x2:288px; y2:254px; "/>
- <line id="line56" class="line_3" style="x1:0px; y1:329px; x2:288px; y2:329px; "/>
- <line id="line57" class="line_2" style="x1:1px; y1:179px; x2:288px; y2:179px; "/>
- <line id="line58" class="line_2" style="x1:0px; y1:154px; x2:287px; y2:154px; "/>
- <line id="line59" class="line_2" style="x1:303px; y1:154px; x2:590px; y2:154px; "/>
- <line id="line60" class="line_2" style="x1:303px; y1:179px; x2:590px; y2:179px; "/>
- <line id="line61" class="line_2" style="x1:303px; y1:204px; x2:590px; y2:204px; "/>
- <line id="line62" class="line_2" style="x1:303px; y1:229px; x2:590px; y2:229px; "/>
- <line id="line63" class="line_2" style="x1:303px; y1:254px; x2:591px; y2:254px; "/>
- <line id="line64" class="line_2" style="x1:603px; y1:229px; x2:890px; y2:229px; "/>
- <line id="line65" class="line_2" style="x1:603px; y1:254px; x2:890px; y2:254px; "/>
- <line id="line66" class="line_2" style="x1:603px; y1:204px; x2:890px; y2:204px; "/>
- <line id="line67" class="line_2" style="x1:603px; y1:179px; x2:890px; y2:179px; "/>
- <line id="line68" class="line_2" style="x1:603px; y1:154px; x2:890px; y2:154px; "/>
- <line id="line69" class="line_2" style="x1:903px; y1:154px; x2:1190px; y2:154px; "/>
- <line id="line70" class="line_2" style="x1:903px; y1:179px; x2:1190px; y2:179px; "/>
- <line id="line71" class="line_2" style="x1:903px; y1:204px; x2:1190px; y2:204px; "/>
- <line id="line72" class="line_2" style="x1:903px; y1:229px; x2:1190px; y2:229px; "/>
- <line id="line73" class="line_2" style="x1:903px; y1:254px; x2:1190px; y2:254px; "/>
- <line id="line74" class="line_2" style="x1:304px; y1:279px; x2:591px; y2:279px; "/>
- <line id="line75" class="line_2" style="x1:603px; y1:279px; x2:890px; y2:279px; "/>
- <line id="line76" class="line_2" style="x1:2px; y1:279px; x2:289px; y2:279px; "/>
- <line id="line77" class="line_2" style="x1:903px; y1:279px; x2:1190px; y2:279px; "/>
- <line id="line78" class="line_2" style="x1:304px; y1:304px; x2:591px; y2:304px; "/>
- <line id="line79" class="line_2" style="x1:603px; y1:304px; x2:890px; y2:304px; "/>
- <line id="line80" class="line_2" style="x1:2px; y1:304px; x2:289px; y2:304px; "/>
- <line id="line81" class="line_2" style="x1:903px; y1:304px; x2:1190px; y2:304px; "/>
- <caption id="caption104" style="left:794px; top:338px; width:75px; height:20px; ">정산금액합계</caption>
- <input id="input88" ref="/root/main/list01/calcamtsumdetl/calcamtsum" format="(-)#,###" style="left:878px; top:338px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption105" style="left:993px; top:338px; width:65px; height:20px; ">토탈미수금</caption>
- <input id="input89" ref="/root/main/list01/gridpifmiunc/totuncoamt" format="(-)#,###" appearance="input" style="left:1076px; top:338px; width:118px; height:19px; text-align:right; "/>
- <line id="line82" class="line_1" style="x1:0px; y1:359px; x2:1194px; y2:359px; "/>
- <caption id="caption106" class="cell_1" style="left:0px; top:364px; width:95px; height:23px; text-align:center; vertical-align:middle; ">삭감건수</caption>
- <caption id="caption107" class="cell_1" style="left:197px; top:364px; width:93px; height:23px; text-align:center; vertical-align:middle; ">조정삭감액</caption>
- <caption id="caption108" class="cell_1" style="left:392px; top:364px; width:93px; height:23px; text-align:center; vertical-align:middle; ">실삭감액</caption>
- <caption id="caption109" class="cell_1" style="left:587px; top:364px; width:93px; height:23px; text-align:center; vertical-align:middle; ">본인추가부담</caption>
- <caption id="caption110" class="cell_1" style="left:782px; top:364px; width:93px; height:23px; text-align:center; vertical-align:middle; ">환수잔액</caption>
- <caption id="caption111" class="cell_1" style="left:975px; top:364px; width:98px; height:23px; text-align:center; vertical-align:middle; ">미수금</caption>
- <input id="input90" ref="/root/main/list01/gridpifmiunc/rucntsum" class="input_default" style="left:98px; top:365px; width:91px; height:19px; text-align:center; "/>
- <input id="input91" ref="/root/main/list01/gridpifmiunc/ruadjtamtsum" class="input_default" format="#,###" style="left:293px; top:365px; width:91px; height:19px; text-align:right; "/>
- <input id="input92" ref="/root/main/list01/gridpifmiunc/realcutamt" class="input_default" format="(-)#,###" style="left:488px; top:365px; width:96px; height:19px; text-align:right; "/>
- <input id="input93" ref="/root/main/list01/gridpifmiunc/jrownaddbamtsum" class="input_default" format="#,###" style="left:683px; top:365px; width:91px; height:19px; text-align:right; "/>
- <input id="input94" ref="/root/main/list01/gridpifmiunc/rtnrestamt" class="input_default" format="#,###" style="left:878px; top:365px; width:91px; height:19px; text-align:right; "/>
- <input id="input95" ref="/root/main/list01/gridpifmiunc/uncoamt" class="input_default" format="(-)#,###" style="left:1076px; top:365px; width:118px; height:19px; text-align:right; "/>
- <line id="line83" class="line_3" style="x1:0px; y1:387px; x2:1194px; y2:387px; "/>
- <button id="button13" class="btn5_letter2" style="left:1039px; top:410px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhbsdp.row;
- var rows = grd_pifhbsdp.rows;
- var ins_cnt = 0;
-
- if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
- for(var i = 1;i<rows;i++) {
- if(grd_pifhbsdp.rowStatus(i) == 1) {
- messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
- ++ins_cnt;
- return false;
- }
- }
- }
- if(ipt_acptno.value== "") {
- messageBox("접수번호를","C001");
- model.setFocus("ipt_acptno");
- return false;
- }
- if(cmb_judgdg.value == "") {
- messageBox("심사차수를","C001");
- model.setFocus("cmb_judgdg");
- return false;
- }
-
- /*저장할 행을 선택하지 않았을 시*/
- if(row_cnt == "-1") {
- return false;
- }
- /*
- if(grd_pifhbsdp.valueMatrix(row_cnt,6) == "") {
- messageBox("통장입금액을","C001");
- return false;
- }*/
- if(grd_pifhbsdp.valueMatrix(row_cnt,2) == "" || grd_pifhbsdp.valueMatrix(row_cnt,2) == null) {
- messageBox(grd_pifhbsdp.valueMatrix(0,2),"C001");
- return false;
- }
-
- var notimm = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,8);
- notimm = notimm.substr(0,6);
- model.setValue("/root/main/list01/gridpifhbsdp/notimm",notimm);
- model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
- if (submit("TXPIF30301")) {
- model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
- submit("TRPIF30303");
- chkRtndetl();
- }
-
- ]]>
- </script>
- </button>
- <button id="button14" class="btn2_letter3" style="left:1084px; top:410px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- //model.alert(INSTCD);
- /*
- if(ipt_acptno.value == "8888888" || ipt_acptno.value == "9999999") {
- messageBox("정산이나 원외정산의 신규입금등록은 정산차수별입금등록화면에서","I008");
- return false;
- }
- */
-
- grd_pifhbsdp.addRow();
- var row_cnt = grd_pifhbsdp.row;
-
-
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acptno",ipt_acptno.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/judgdg",cmb_judgdg.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/clamno",cmb_clamno.value);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/instcd", INSTCD);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/bankcd", BANKCD);
- model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/acntcd", BANKACOUNT);
-
- grd_pifhbsdp.valueMatrix(row_cnt, 6) = 0;
- grd_pifhbsdp.valueMatrix(row_cnt, 7) = 0;
- // model.setValue("/root/main/list01/gridpifhbsdp["+row_cnt+"]/rowstatus","i");
- if(ipt_calcamtsum.value != "") {
- var row = grd_pifhbsdp.row;
- var calcamtsum = Number(ipt_calcamtsum.value);
- if(calcamtsum >= 0) {
- grd_pifhbsdp.valueMatrix(row,6) = calcamtsum;
- grd_pifhbsdp.valueMatrix(row,7) = 0;
- } else {
- grd_pifhbsdp.valueMatrix(row,6) = 0;
- grd_pifhbsdp.valueMatrix(row,7) = calcamtsum;
- }
- }
- grd_pifhbsdp.topRow = grd_pifhbsdp.rows-1;
- ]]>
- </script>
- </button>
- <button id="button15" class="btn2_letter3" style="left:1140px; top:410px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_pifhbsdp.row;
-
- if(row_cnt == '-1' || row_cnt == '0') {
- return false;
- }
-
- if(ipt_acptno.value== "" || cmb_judgdg.value== "") {
- return false;
- }
-
-
- if(grd_pifhbsdp.rowStatus(row_cnt) == "1" || grd_pifhbsdp.rowStatus(row_cnt) == "3") {
- grd_pifhbsdp.deleteItem(row_cnt);
- return false;
- } else {
-
- if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
- messageBox("마감된 데이터는 삭제 하실 수","I004"); // 없습니다.
- return;
- }
-
-
- if(messageBox("정말","Q001") == "6") {
- var rows = grd_pifhrtns.rows; // 환수내역 그리드의 데이터 총 갯수
-
- if(rows > 1) {
- for(var i=1;i<rows;i++) {
- var rtnacptno = grd_pifhrtns.valueMatrix(i,3);
- var rtnjudgdg = grd_pifhrtns.valueMatrix(i,4);
- var rtnseqno = grd_pifhrtns.valueMatrix(i,16);
- var seqno = grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,13);
- if(ipt_acptno.value == rtnacptno & cmb_judgdg.value == rtnjudgdg & seqno == rtnseqno) {
- //if(messageBox("환수내역에 있는 데이터도 같이 삭제됩니다. 데이터를","Q001") == 7) {
- // return false;
- //}
- messageBox("환수내역이 존재하기 때문에 입금내역을 삭제할 수","I004");
- return false;
- }
- }
- }
-
- grd_pifhbsdp.deleteItem(row_cnt);
- model.setValue("/root/main/list02/gridpifhbsdp", grd_pifhbsdp.getUpdateData());
- //submit("TXPIF30301");
- if (submit("TXPIF30301")) {
- model.resetInstanceNode("/root/main/list01/gridpifhbsdp");
- submit("TRPIF30303");
- chkRtndetl();
- }
- }
- }
-
-
-
- ]]>
- </script>
- </button>
- <line id="line84" class="line_1" style="x1:0px; y1:431px; x2:1194px; y2:431px; "/>
- <caption id="caption112" class="tit_2" style="left:6px; top:404px; width:111px; height:13px; ">입금내역</caption>
- <datagrid id="datagrid1" nodeset="/root/main/list01/gridpifhbsdp" caption="입금일자^입금구분^금융기관^계좌번호^건수^통장입금액^외래입금액^입원입금액^재무통보월^비고^접수번호^심사차수^청구번호^일련번호" colsep="^" colwidth="100, 90, 100, 120, 70, 90, 90, 90, 86, 322, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:436px; width:1194px; height:294px; ">
- <col autonext="true" ref="depodd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
- <col autonext="true" ref="inddepoflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0266list/P0266">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col autonext="true" ref="bankcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/R0001list/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acntcd" type="input" style="text-align:center; "/>
- <col ref="depocnt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="depoamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="depooutamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="depoinamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; "/>
- <col ref="remfact" type="input"/>
- <col ref="acptno" visibility="hidden" style="text-align:center; "/>
- <col ref="judgdg" visibility="hidden" style="text-align:center; "/>
- <col ref="clamno" visibility="hidden" style="text-align:center; "/>
- <col ref="seq" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var insukind = model.getValue("/root/send/send01/insukind");
-
- if(grd_pifhbsdp.col == grd_pifhbsdp.colRef("depoflag")){
- var row = grd_pifhbsdp.row;
-
- // 입금내역 그리드의 통장입금액을 받을 행번호를 send 노드에 create 한후 개인별 상한금 조회화면으로 넘겨준다.
- model.makeNode("/root/send/send01/opn_row");
- model.setValue("/root/send/send01/opn_row", row);
-
- var depoflag = grd_pifhbsdp.valueMatrix(row,2); // 입금구분
- var clamseqno = model.getValue("/root/main/list01/gridpifmiunc/clamseqno"); // 청구서일련번호(심결내역이 도착한 순서대로)
-
- // 입금구분이 가지급,주민보류,무차수가지급,환입금,결손액 선택시 건수는 0 입력
- if(depoflag == "01" || depoflag == "03" || depoflag == "05" || depoflag == "06" || depoflag == "07" || depoflag == "08" || depoflag == "11") {
- grd_pifhbsdp.valueMatrix(row,5) = 0;
- }
-
-
- // 20100721 입금구분이 가지급, 상한금, 지원금인 경우는 심사차수가 1차인 경우만 입력가능
- if(depoflag == "01" || depoflag == "06" || depoflag == "11") {
- //model.setValue("/root/temp/fstjudgdg", model.getValue("/root/send/send01/judgdg"));
- //model.alert(model.getValue("/root/temp/fstjudgdg"));
- //model.alert(model.getValue("/root/send/send01/judgdg"));
- if(model.getValue("/root/temp/fstjudgdg") != model.getValue("/root/send/send01/judgdg")){
- messageBox("가지급, 상한금, 지원금은 심사차수가 1차만 가능합니다","");
- return;
- }
- }
- // 20100721 END
-
- //1차 가지급일 경우
- if(depoflag == "02") {
- if(clamseqno != "1"){
- if(insukind == "11"){
- grd_pifhbsdp.valueMatrix(row,2) = "04";
- }else{
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
- }
- /*
- submit("TRPIF30307"); // 심사보류건수를 구해온다.
- // grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/init/temp/judgretecnt/cnt");
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value)
- setGridPifhbsdpFocus("popup")
- */
- }else{
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
- }
-
- }
-
- // 입금구분이 주민보류일 경우
- if(depoflag == "03") {
- // grd_pifhbsdp.isReadOnly(row,7) = true;
- model.makeNode("/root/send/send01/openerflag");
- model.setValue("/root/send/send01/openerflag", "2");
- model.makeNode("/root/send/send01/clamym");
- model.setValue("/root/send/send01/clamym", ipt_clamdd.value.substr(0,6));
- model.makeNode("/root/send/send01/instcd");
- //model.setValue("/root/send/send01/instcd", ipt_instcd_hid.value);
-
- // 입금일자를 팝업에 던져 준다.
- model.makeNode("/root/send/send01/rtndd");
- model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
-
- modal("SPPIF30303", 1,"", "", "SPPIF30303", "/root/send/send01", "/root/send");
-
- setGridPifhbsdpFocus("popup");
- //window.load("SPPIF30303_주민보류내역.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
- }
-
- // 입금구분이 심사보류일 경우 심사보류건수는 심사차수가 2차이상일 경우만 0이 아닐수 있다.
- // 1차에서의 심사보류건수 중 2차 심결로 온 건수 - 2차 주민보류건수 = 심사보류 건수이다.
- if(depoflag == "04") {
- if(clamseqno == "1"){
- grd_pifhbsdp.valueMatrix(row,2) = "02";
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
- }else{
- submit("TRPIF30307"); // 심사보류건수를 구해온다.
- // grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/init/temp/judgretecnt/cnt");
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value)
- setGridPifhbsdpFocus("popup")
- };
- }
-
- // 입금구분이 상한액일 경우
- if(depoflag == "06") {
- // grd_pifhbsdp.valueMatrix(row,7) = "0";
- // grd_pifhbsdp.isReadOnly(row,7) = true;
- model.makeNode("/root/send/send01/openerflag");
- model.setValue("/root/send/send01/openerflag", "2");
-
- // 입금일자를 팝업에 던져 준다.
- model.makeNode("/root/send/send01/rtndd");
- model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
-
- // 2009.04.06 입금구분을 넘겨준다.
- model.makeNode("/root/send/send01/inddepoflag");
- model.setValue("/root/send/send01/inddepoflag", "06");
-
- // model.setFocus("body");
- modal("SPPIF30301", 1,"", "", "SPPIF30301", "/root/send/send01", "/root/send");
-
- setGridPifhbsdpFocus("popup");
- //window.load("SPPIF30301_개인별상한금관리.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
- }
-
- // 입금구분이 정산일 경우 정산건수는 piehf403 테이블의 정산 결정차액이 0이 아닌 건수
- if(depoflag == "09") {
- grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/main/list01/gridpifmiunc/cnt_calcdepo");
- }
-
- // 입금구분이 원외정산일 경우 원외정산건수는 piehf703 테이블의 정산 결정차액이 0이 아닌 건수
- if(depoflag == "10") {
- grd_pifhbsdp.valueMatrix(row,5) = model.getValue("/root/main/list01/gridpifmiunc/cnt_hosoutcalc");
- }
- // 입금구분이 지원금일 경우
- if(depoflag == "11") {
- // grd_pifhbsdp.valueMatrix(row,7) = "0";
- // grd_pifhbsdp.isReadOnly(row,7) = true;
- model.makeNode("/root/send/send01/openerflag");
- model.setValue("/root/send/send01/openerflag", "2");
-
- // 입금일자를 팝업에 던져 준다.
- model.makeNode("/root/send/send01/rtndd");
- model.setValue("/root/send/send01/rtndd",grd_pifhbsdp.valueMatrix(row,1));
-
- // 2009.04.06 입금구분을 넘겨준다.
- model.makeNode("/root/send/send01/inddepoflag");
- model.setValue("/root/send/send01/inddepoflag", "11");
-
- // model.setFocus("body");
- modal("SPPIF30304", 1,"", "", "SPPIF30304", "/root/send/send01", "/root/send");
-
- setGridPifhbsdpFocus("popup");
- //window.load("SPPIF30301_개인별상한금관리.xrw", "modeless", "pop", "window.maxmize", "/root/send/send01", "/root/send");
- }
-
- // 입금구분이 장애인일 경우
- if(depoflag == "12") {
- modal("SPPIF30421", 1,"", "", "SPPIF30421", "/root/send/send01", "/root/send");
- }
-
- // if(depoflag == "01") {
- // // grd_pifhbsdp.valueMatrix(row,7) = "0";
- // // grd_pifhbsdp.isReadOnly(row,7) = true;
- //
- // // 다음 포커스로 이동(가지급의 경우엔 통장입금액만 입력함. 환수예정액은 없음)
- // setGridPifhbsdpFocus("nopopup");
- // }
-
- /*if(depoflag == "02" || depoflag == "05" || depoflag == "07" || depoflag == "08" || depoflag == "09" || depoflag == "10") {
- grd_pifhbsdp.valueMatrix(row,7) = "0";
- // grd_pifhbsdp.isReadOnly(row,7) = false;
- }*/
-
- if(depoflag != "02") {
- // grd_pifhbsdp.valueMatrix(row,6) = "0"; // 2009.04.13 통장입금액 초기화 주석처리
- grd_pifhbsdp.valueMatrix(row,7) = "0";
- }
-
- // 입금구분 선택시 다음 포커스 Setting
- if(depoflag == "01" || depoflag == "02" || depoflag == "05" || depoflag == "07" || depoflag == "08" || depoflag == "09" || depoflag == "10") {
- setGridPifhbsdpFocus("nopopup");
- }
- // 입금구분 선택시 다음 포커스 Setting 끝
-
- chkGridPifhbsdp();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- var col = grd_pifhbsdp.col;
- if(col == 6) {
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- // 1차 지급일 경우 환수예정액으로 포커스 이동
- if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,2) == "02" ) {
- grd_pifhbsdp.col = 7;
- } else {
- grd_pifhbsdp.col = 8;
- }
- grd_pifhbsdp.dispatch("onentercell");
- grd_pifhbsdp.editCell();
- }
- if(col == 7) {
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- grd_pifhbsdp.col = 8;
- grd_pifhbsdp.dispatch("onentercell");
- grd_pifhbsdp.editCell();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var col = grd_pifhbsdp.col;
- var row = grd_pifhbsdp.row;
- var clamseqno = model.getValue("/root/main/list01/gridpifmiunc/clamseqno");
-
- var insukind = model.getValue("/root/send/send01/insukind");
-
- if(insukind == "11"){
-
- if( col == grd_pifhbsdp.colRef("depodd")) {
- if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row, grd_pifhbsdp.colRef("depodd")) != '') {
- //model.setFocus("body");
- //model.setFocus("grd_pifhbsdp");
- if(clamseqno == "1"){
- grd_pifhbsdp.valueMatrix(row,2) = "02";
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value) - Number(ipt_jumincnt.value);
-
- }else{
- grd_pifhbsdp.valueMatrix(row,2) = "04";
- submit("TRPIF30307"); // 심사보류건수를 구해온다.
- grd_pifhbsdp.valueMatrix(row,5) = Number(ipt_judgdecicnt.value);
- }
- //입금일자 선택시 입금월로 재무통보월 자동 세팅-20100706 정숙희 선생님 요청사항
- var depodd = model.getValue("/root/main/list01/gridpifhbsdp["+ row +"]/depodd").substring(0,6);
- model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/notimm", depodd);
-
- //통장입금액을 심결액으로 세팅-20100706 정숙희 선생님 요청사항
- model.setValue("/root/main/list01/gridpifhbsdp["+ row +"]/depoamt", model.getValue("/root/main/list01/gridpifmiunc/jrjudgdeciamt01"));
-
-
- // setGridPifhbsdpFocus("nopopup");
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
- grd_pifhbsdp.col = 6;
- grd_pifhbsdp.dispatch("onentercell");
- // grd_pifhbsdp.editCell();
- }
-
- }
-
- }
-
- if( col == grd_pifhbsdp.colRef("notimm")) {
- if(grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) != '') {
- model.setFocus("body");
- model.setFocus("grd_pifhbsdp");
-
- if ( grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
- messageBox("마감된 이전월의 재무통보월은 입력하실 수","I004");
- grd_pifhbsdp.valueMatrix(grd_pifhbsdp.row,grd_pifhbsdp.colRef("notimm")) = "";
- return;
- }
- // grd_pifhbsdp.col = 9;
- // grd_pifhbsdp.dispatch("onentercell");
- // grd_pifhbsdp.editCell();
- }
- }
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|