1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <termflag>1</termflag>
- <ioflag>11</ioflag>
- <fromdd/>
- <todd/>
- <depoyn>N</depoyn>
- <ioflag>A</ioflag>
- <acptno/>
- <judgdg/>
- <clamno/>
- <cpcd/>
- <assocd/>
- <patunitsrch1/>
- <patunitsrch2/>
- <srchgubun/>
- <depodd/>
- <notimm/>
- <depoamt/>
- <bankcd/>
- <acntcd/>
- </send01>
- <send02>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <decoseq/>
- <inddepoflag/>
- </send02>
- <uncoendprcs>
- <insukindflag>4</insukindflag>
- </uncoendprcs>
- </send>
- <main>
- <list00>
- <list001>
- <acptnolist>
- <acptno/>
- </acptnolist>
- </list001>
- <list002>
- <clamno>
- <clamno/>
- </clamno>
- <acptnocnt>
- <cnt/>
- </acptnocnt>
- </list002>
- <list003>
- <judgdglist>
- <judgdg/>
- </judgdglist>
- </list003>
- </list00>
- <list01>
- <gridpifmmiun>
- <choice/>
- <depoyn/>
- <docuseqno/>
- <pid/>
- <patnm/>
- <clamamt/>
- <jrhandicaprfund/>
- <handicapcvrtamt/>
- <instreductamt/>
- <cpcd/>
- <jrprocinstmark/>
- <jrprocinstmarknm/>
- <remainamt/>
- <depoamt/>
- <sendamt/>
- <clamym/>
- <decoseq/>
- <inddepoflag/>
- <instcd/>
- <clamdg/>
- <pidsn/>
- <jrjudgdeciamt/>
- <chkdepo/>
- <ioflag/>
- </gridpifmmiun>
- </list01>
- <list02>
- <gridpifhmcdp/>
- <gridpifmmide/>
- </list02>
- <list04>
- <gridpifmmide>
- <inddepoflag/>
- <depodd/>
- <depoamt/>
- <notinm/>
- <bankcd/>
- <acntcd/>
- <rem/>
- <cpcd/>
- <depoprocinstmark/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <decoseq/>
- <acptno/>
- <judgdg/>
- <setno/>
- <clamno/>
- <docuseqno/>
- <deposeq/>
- <seq/>
- </gridpifmmide>
- </list04>
- </main>
- <init>
- <U0001list>
- <U0001>
- <cdid/>
- <cdnm/>
- </U0001>
- </U0001list>
- <U0002list>
- <U0002>
- <assocd/>
- <assonm/>
- </U0002>
- </U0002list>
- <R0001list>
- <R0001>
- <cdid/>
- <cdnm/>
- </R0001>
- </R0001list>
- <P0371list>
- <P0371>
- <cdid/>
- <cdnm/>
- </P0371>
- </P0371list>
- <bankinfo>
- <bankinfolist>
- <cdid/>
- <cdnm/>
- </bankinfolist>
- </bankinfo>
- </init>
- <hidden>
- <sppmc02500>
- <cond>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <insukind/>
- </cond>
- </sppmc02500>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <!-- 장애인 개인별 입금조회-->
- <submission id="TRPIF31501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
- <!-- 장애인 개인별 입금상세조회-->
- <submission id="TRPIF31502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send02" resultref="/root/main/list04"/>
- <!-- 기관삭감액 저장 -->
- <submission id="TXPIF30421" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/result"/>
- <!-- 심사차수조회 -->
- <submission id="TRPIF30404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list00/list003"/>
- <!-- 청구번호조회 -->
- <submission id="TRPIF30405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list00/list002"/>
- <!-- 시도조회 -->
- <submission id="TRPIF30406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/U0001list"/>
- <!-- 시군구조회 -->
- <submission id="TRPIF30407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/U0002list"/>
- <!-- 시도 전체조회 -->
- <submission id="TRPIF30412" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/U0001list"/>
- <!-- 시군구 전체조회 -->
- <submission id="TRPIF30413" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/init/U0002list"/>
- <!-- 최종마감월 -->
- <submission id="TRPIF31303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/uncoendprcs" resultref="/root/main/chek"/>
- <!-- 금융기관, 계좌번호조회-->
- <submission id="TRPIF30309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/bankinfo"/>
- <!-- 개인별 일괄저장-->
- <submission id="TXPIF31501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list01" resultref="/root/main/result_list01"/>
- <!-- 개인별 개별저장-->
- <submission id="TXPIF31502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/result_list02"/>
- <!-- 개인별 기관삭감액저장-->
- <submission id="TXPIF31503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list03" resultref="/root/main/result_list03"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드 Load작업
- CommCode_Load();
- var endmonth = getCurrentDate();
- var yearmonth = endmonth.substr(0,6);
- model.setValue("/root/send/send01/fromdd", yearmonth);
- model.setValue("/root/send/send01/todd", model.getValue("/root/send/send01/fromdd"));
- model.setValue("/root/send/send01/depodd", endmonth);
-
- if(rdo_termflag.value == "1") {
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
-
- ipt_acptno.disabled = true;
- cmb_clamno.disabled = true;
- cmb_judgdg.disabled = true;
- model.setFocus("ipt_fromdd");
- } else if(rdo_termflag.value == "2") {
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
-
- ipt_acptno.disabled = false;
- cmb_clamno.disabled = false;
- cmb_judgdg.disabled = false;
- model.setFocus("ipt_acptno");
- }
-
- model.removenode("/root/init/U0001list");
- model.removenode("/root/init/U0002list");
- submit("TRPIF30412"); // 시도 전체조회
- submit("TRPIF30413"); // 시군구 전체조회
- addComboItem("cmb_cpcd"," ");
- addComboItem("cmb_assocd"," ");
-
- 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;
- //------------------------------------------------------------------------------
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- zbcfGetCodeList(new Array("P0415", "P0371", "R0001"), new Array( "/root/init/P0415list", "/root/init/P0371list", "/root/init/R0001list"));
- }
-
- function fGetInAftJudgTrgtManList(){
-
- // 환자단위조회를 하는 경우
- var patunitsrch1 = model.getValue("/root/send/send01/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
- model.setValue("/root/send/send01/patunitsrch1", patunitsrch1);
- if (patunitsrch1 == "") {
- model.setValue("/root/send/send01/patunitsrch2", "");
- }
- else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
- //model.setValue("/root/send/send01/patunitsrch2", "pidSrch");
- } else { // 문자가 입력된 경우 환자이름으로 조회한다.
- if (patunitsrch1.length > 1) {
- model.setValue("/root/send/send01/patunitsrch2", "nmSrch");
- } else {
- model.setValue("/root/send/send01/patunitsrch2", "");
- model.refresh();
- messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
- return;
- }
- }
- }
-
- // 계좌번호조회
- function fBankSearch(){
- submit("TRPIF30309");
- }
-
-
- // 장애인 개인별 입금상세조회
- function fSelect_pifmmide(){
- model.resetInstanceNode("/root/main/list04/gridpifmmide");
- var col = grd_pifmmiun.col;
- var row = grd_pifmmiun.row;
-
- if (grd_pifmmiun.rows > 1 && model.getValue("/root/main/list01/gridpifmmiun[" + row + "]/clamym") != '') {
- model.setValue("/root/send/send02/clamym" , model.getValue("/root/main/list01/gridpifmmiun[" + row + "]/clamym"));
- model.setValue("/root/send/send02/clamdg" , model.getValue("/root/main/list01/gridpifmmiun[" + row + "]/clamdg"));
- model.setValue("/root/send/send02/pid" , model.getValue("/root/main/list01/gridpifmmiun[" + row + "]/pid"));
- model.setValue("/root/send/send02/pidsn" , model.getValue("/root/main/list01/gridpifmmiun[" + row + "]/pidsn"));
- model.setValue("/root/send/send02/decoseq" , model.getValue("/root/main/list01/gridpifmmiun[" + row + "]/decoseq"));
- model.setValue("/root/send/send02/inddepoflag" , model.getValue("/root/main/list01/gridpifmmiun[" + row + "]/inddepoflag"));
-
- //alert(model.getValue("/root/send/send02/clamym"));
-
- if(model.getValue("/root/send/send02/clamym")) {
- submit("TRPIF31502");
-
- var rows = grd_pifmmide.rows;
- for(var i=1;i<rows;i++) {
- grd_pifmmide.colDisabled(grd_pifmmide.colRef("inddepoflag")) = true;
- grd_pifmmide.colDisabled(grd_pifmmide.colRef("depodd")) = true;
- grd_pifmmide.colDisabled(grd_pifmmide.colRef("depoamt")) = true;
- grd_pifmmide.colDisabled(grd_pifmmide.colRef("bankcd")) = true;
- grd_pifmmide.colDisabled(grd_pifmmide.colRef("acntcd")) = true;
- grd_pifmmide.colDisabled(grd_pifmmide.colRef("notimm")) = true;
- }
- }
- }
- }
-
-
- //과별/분야별 subtotal
- function fDeptFildSubtotal(){
-
- grd_pifmmiun.colsort(grd_pifmmiun.colRef("depodd")) = "asc";
- grd_pifmmiun.colsort(grd_pifmmiun.colRef("jrprocinstmarknm")) = "asc";
- var maxRow = parseInt(grd_pifmmiun.rows) - 1; // rows는 타이틀부분 부터 개수를 센다.
- var maxCol = parseInt(grd_pifmmiun.cols) - 1;
- grd_pifmmiun.sort(grd_pifmmiun.fixedRows, grd_pifmmiun.fixedCols, maxRow, maxCol) = "usersort";
- // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- grd_pifmmiun.gridToInstance();
-
- grd_pifmmiun.subtotalposition= "below";
- grd_pifmmiun.subtotal("sum",19,20,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 19, "일자별소계", false);
- grd_pifmmiun.subtotal("sum",5,20,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 19, "기관별소계", false);
-
- /*
- grd_deptfild.subtotal("sum",4,6,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,7,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,8,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,9,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,10,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,11,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,12,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,13,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,14,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,15,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,16,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,17,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,18,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,19,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,20,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,21,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,22,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,23,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,24,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,25,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,26,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,27,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,28,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,29,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,30,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,31,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,32,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,33,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,34,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,35,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,36,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,37,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,38,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,39,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,40,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,41,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,42,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,43,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,44,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,45,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",-1,5,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", false);
- grd_deptfild.subtotal("sum",-1,6,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,7,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,8,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,9,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,10,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,11,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,12,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,13,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,14,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,15,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,16,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,17,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,18,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,19,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,20,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,21,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,22,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,23,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,24,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,25,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,26,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,27,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,28,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,29,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,30,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,31,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,32,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,33,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,34,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,35,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,36,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,37,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,38,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,39,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,40,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,41,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,42,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,43,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,44,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,45,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- */
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1195" pageheight="800">
- <group id="group3" scroll="auto" style="left:0px; top:80px; width:1194px; height:660px; ">
- <line id="line8" class="line_1" style="x1:0px; y1:39px; x2:1190px; y2:39px; "/>
- <caption id="caption4" class="tit_2" style="left:6px; top:24px; width:219px; height:13px; ">장애인 개인별 입금관리</caption>
- <datagrid id="grd_pifmmiun" nodeset="/root/main/list01/gridpifmmiun" class="datagrid2" caption="선
택^반
송^입
금^미수처리
구분^시군구^접수번호^심사차수^묶음
번호^명일련^등록번호^수진자^진료과^입/외^총진료비^청구액^청구
장애인^심사
결정액^심결
장애인^최종
입금일자^입금액^잔액^장애인전환금^기관
삭감액^반송액^심사자^clamno^clamym^decoseq^inddepoflag^instcd^clamdg^pidsn^jrjudgdeciamt^chkdepo^jrprocinstmark^cpcd" colsep="^" colwidth="21, 23, 20, 59, 110, 62, 59, 46, 46, 65, 50, 51, 38, 66, 61, 62, 64, 64, 68, 66, 67, 80, 74, 69, 64, 66, 66, 71, 78, 45, 61, 49, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:43px; width:1190px; height:415px; ">
- <col checkvalue="Y,N" ref="choice" type="checkbox" visibility="hidden" style="text-align:center; "/>
- <col ref="sendyn" style="text-align:center; "/>
- <col ref="depoyn" visibility="hidden" text_align="center" style="text-align:center; "/>
- <col ref="decotretflag" style="text-align:center; "/>
- <col ref="jrprocinstmarknm"/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="judgdg" style="text-align:center; "/>
- <col ref="setno" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="clmcstotamt" format="#,###" style="text-align:right; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="clhandicaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="jrjudgdeciamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="jrhandicaprfund" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="depodd" format="yyyy-mm-dd"/>
- <col ref="depoamt" type="output" format="#,###" style="text-align:right; "/>
- <col ref="remainamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="handicapcvrtamt" type="output" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="instreductamt" type="input" format="(-)#,###" style="text-align:right; "/>
- <col ref="sendamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="judgrid" visibility="hidden" style="text-align:center; "/>
- <col ref="clamno" visibility="hidden"/>
- <col ref="clamym" visibility="hidden"/>
- <col ref="decoseq" visibility="hidden"/>
- <col ref="inddepoflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="clamdg" visibility="hidden"/>
- <col ref="pidsn" visibility="hidden"/>
- <col ref="jrjudgdeciamt" visibility="hidden"/>
- <col ref="chkdepo" visibility="hidden"/>
- <col ref="jrprocinstmark" visibility="hidden"/>
- <col ref="cpcd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_pifmmiun.row;
- if(grd_pifmmiun.col == 1) {
- if(grd_pifmmiun.valueMatrix(row, grd_pifmmiun.colRef("choice"))=="Y") {
- grd_pifmmiun.rowStatus(row) = "3";
- } else {
- grd_pifmmiun.rowStatus(row) = "0";
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_pifmmiun.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if (grd_pifmmiun.col != grd_pifmmiun.colRef("instreductamt")) {
- fSelect_pifmmide();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn2_letter4" visibility="hidden" style="left:185px; top:19px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rows = grd_pifmmiun.rows;
- for(var i=1;i<rows;i++) {
- if(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) == "Y" || grd_pifmmiun.isReadOnly(i, grd_pifmmiun.colRef("choice")) == true) {
- continue;
- } else {
- grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) = "Y";
- grd_pifmmiun.rowStatus(i) = "3";
- }
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" visibility="hidden" style="left:251px; top:19px; width:64px; height:19px; ">
- <caption>전체해제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rows = grd_pifmmiun.rows;
- for(var i=1;i<rows;i++) {
- if(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) == "N" || grd_pifmmiun.rowStatus(i) == "0") {
- continue;
- } else {
- grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) = "N";
- grd_pifmmiun.rowStatus(i) = "0";
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_deposave" class="btn5_letter4" visibility="hidden" style="left:855px; top:19px; width:64px; height:19px; ">
- <caption>일괄저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/send/send01/assocd") == "") {
- messageBox("시군구를","C001");
- } else {
- var rows = grd_pifmmiun.rows;
- var totsum = 0;
- var reductamt = 0;
- var cnt = 0;
-
- for(var i=1;i<rows;i++) {
- if( grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) == 'Y' ){
- cnt++;
- if ( grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("sendyn")) != "Y" ) {
- // 개인별입금액 = 심결장애인 - 기관삭감액
- totsum += Number(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("jrhandicaprfund"))) - Number(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("instreductamt")));
-
- } else {
- grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("remainamt")) = "0"; // 반송일 경우 입금액을 0원으로 처리 한다. 2010.03.12 저장시는 remainamt 를 가져가는 기괴함....
- }
- }
- }
-
- // 20100722 기관삭감액이 있는경우는 장애인 입금액을 zero로 처리한다.
- for(var i=1;i<rows;i++) {
- if( grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) == 'Y' ){
- reductamt = Number(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("instreductamt")));
- if ( reductamt > 0 ) {
- grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("depoamt")) = 0;
- }
- }
- }
- // 20100722 END
-
- if (cnt > 0) {
- model.setValue("/root/main/list02/gridpifmmide", '');
- model.setValue("/root/main/list02/gridpifmmide", getNodeListCSV(instance1.selectNodes("/root/main/list01/gridpifmmiun[choice = 'Y']")));
-
- opener.grd_pifhmcdp.valueMatrix(model.getValue("/root/send/opn_row"),6) = totsum; // 부모창의 통장입금액란에 Sum 금액 입력
- opener.grd_pifhmcdp.valueMatrix(model.getValue("/root/send/opn_row"),5) = cnt; // 부모창의 건수란에 건수 입력
-
- ipt_depodd.value = "";
- ipt_notimm.value = "";
- ipt_depoamt.value = totsum; // 총입금금액
- model.setValue("/root/send/send01/bankcd", BANKCD);
- model.setValue("/root/send/send01/acntcd", BANKACOUNT);
-
- group5.visible = true;
- model.refresh();
- model.setFocus("ipt_depodd");
- }
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption5" class="tit_2" style="left:6px; top:476px; width:219px; height:13px; ">장애인 개인별 입금관리</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:490px; x2:1190px; y2:490px; "/>
- <datagrid id="grd_pifmmide" nodeset="/root/main/list04/gridpifmmide" class="datagrid2" caption="입금구분^입금일자^입금액^재무통보월^금융기관^계좌번호^비고^시도^시군구^접수번호^청구번호^심사차수^묶음
번호^명일련^등록번호^clamym^clamdg^decoseq^instcd^pidsn^deposeq^seq" colsep="^" colwidth="100, 93, 109, 94, 139, 142, 466, 64, 110, 62, 80, 59, 46, 46, 65, 100, 100, 100, 100, 100, 100, 100" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:494px; width:1190px; height:161px; ">
- <col disabled="true" ref="inddepoflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0371list/P0371">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="depodd" type="inputdate" style="text-align:center; "/>
- <col ref="depoamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="notimm" type="inputdate" format="yyyy-mm" style="text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var col = grd_pifmmide.col;
- var row = grd_pifmmide.row;
-
- if( col == grd_pifmmide.colRef("notimm")) {
- model.setFocus("body");
- model.setFocus("grd_pifmmide");
-
- var notimm = grd_pifmmide.valueMatrix(grd_pifmmide.row, grd_pifmmide.colRef("depodd"));
- notimm = notimm.substr(0,6);
- model.setValue("/root/main/list02/gridpifmmide/notimm", notimm);
-
- if ( notimm <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
- messageBox("마감된 이전월의 재무통보월은 입력하실 수","I004");
- grd_pifmmide.valueMatrix(grd_pifmmide.row, grd_pifmmide.colRef("notimm")) = "";
- return;
- } else {
- grd_pifmmide.valueMatrix(grd_pifmmide.row, grd_pifmmide.colRef("notimm")) = grd_pifmmide.valueMatrix(grd_pifmmide.row, grd_pifmmide.colRef("notimm"));
- }
- }
- ]]>
- </script>
- </col>
- <col ref="bankcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/R0001list/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acntcd" type="input"/>
- <col ref="rem" type="input"/>
- <col ref="cpcd" visibility="hidden"/>
- <col ref="depoprocinstmark" visibility="hidden"/>
- <col ref="acptno" visibility="hidden" style="text-align:center; "/>
- <col ref="clamno" visibility="hidden" style="text-align:center; "/>
- <col ref="judgdg" visibility="hidden" style="text-align:center; "/>
- <col ref="setno" visibility="hidden" style="text-align:center; "/>
- <col ref="docuseqno" visibility="hidden" style="text-align:center; "/>
- <col ref="pid" visibility="hidden" style="text-align:center; "/>
- <col ref="clamym" visibility="hidden"/>
- <col ref="clamdg" visibility="hidden"/>
- <col ref="decoseq" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="pidsn" visibility="hidden"/>
- <col ref="deposeq" visibility="hidden"/>
- <col ref="seq" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_pifmmide.row;
- var col = grd_pifmmide.col;
- if(col == grd_pifmmide.colRef("depoamt")) {
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_pifmmiun.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <button id="button6" class="btn2_letter3" style="left:1079px; top:469px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var chk_inst = getUpdateRows("grd_pifmmide");
- grd_pifmmide.addRow();
- var row_cnt = grd_pifmmide.row;
- var miun_row = grd_pifmmiun.row;
- grd_pifmmide.colDisabled(grd_pifmmide.colRef("inddepoflag")) = true;
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/inddepoflag", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/inddepoflag"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/depodd", getCurrentDate());
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/depoamt", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/remainamt"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/notimm", getCurrentDate().substr(0,6));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/rem", "-");
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/bankcd", BANKCD);
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/acntcd", BANKACOUNT);
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/acptno", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/acptno"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/clamno", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/clamno"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/judgdg", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/judgdg"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/docuseqno", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/docuseqno"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/cpcd", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/cpcd"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/depoprocinstmark", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/jrprocinstmark"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/clamym", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/clamym"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/clamdg", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/clamdg"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/pid", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/pid"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/pidsn", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/pidsn"));
- model.setValue("/root/main/list04/gridpifmmide["+row_cnt+"]/decoseq", model.getValue("/root/main/list01/gridpifmmiun[" + miun_row + "]/decoseq"));
- grd_pifmmide.topRow = grd_pifmmide.rows-1;
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter3" style="left:1135px; top:469px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_pifmmide.row == -1 || grd_pifmmide.row == 0) { return false; } // 선택된 행이 없으면 No액션
-
- if(grd_pifmmide.rowStatus(grd_pifmmide.row) == 1 || grd_pifmmide.rowStatus(grd_pifmmide.row) == 3) { // Row Status가 'I'이면 무조건 행 삭제 실행
- grd_pifmmide.deleteItem(grd_pifmmide.row);
- return false;
- } else { // Row Status가 'I'가 아니면 다음을 실행
- var depomonth = "";
- depomonth = grd_pifmmide.valueMatrix(grd_pifmmide.row, grd_pifmmide.colRef("depodd")).substr(0,6);
- if ( depomonth <= model.getValue("/root/main/check/uncomonthend/maxendym") ) {
- messageBox("마감된 데이터는 삭제 하실 수","I004"); // 없습니다.
- return false;
- }
-
- if(messageBox("선택한 입금내역의 데이터를","Q001") == 7) {
- return false;
- }
- var row = grd_pifmmide.row;
- grd_pifmmide.rowStatus(row) = "4";
-
- model.makeValue("/root/main/list02/gridpifmmide", grd_pifmmide.getUpdateData());
- submit("TXPIF31502");
-
- model.resetInstanceNode("/root/main/list02/gridpifmmide");
-
- fSelect_pifmmide();
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="btn5_letter2" style="left:1034px; top:469px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_pifmmide.rows < 1) {
- return false;
- }
- var row_cnt = grd_pifmmide.row;
-
-
- 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_pifmmide.valueMatrix(row_cnt, grd_pifmmide.colRef("depodd")) == "") {
- messageBox("입금일자를","C001");
- return false;
- }
-
- if(grd_pifmmide.valueMatrix(row_cnt, grd_pifmmide.colRef("depoamt")) == "") {
- messageBox("통장입금액을","C001");
- return false;
- }
-
- var notimm = grd_pifmmide.valueMatrix(grd_pifmmide.row, grd_pifmmide.colRef("notimm"));
- notimm = notimm.substr(0,6);
- //model.setValue("/root/main/list02/gridpifmmide/notimm", notimm);
-
- model.makeValue("/root/main/list02/gridpifmmide", grd_pifmmide.getUpdateData());
-
-
- if (submit("TXPIF31502")) {
- model.resetInstanceNode("/root/main/list02/gridpifmmide");
- model.resetInstanceNode("/root/main/list04/gridpifmmide");
-
- fSelect_pifmmide();
- }
- ]]>
- </script>
- </button>
- <caption id="caption8" visibility="hidden" style="left:370px; top:20px; width:525px; height:20px; ">** 일괄저장시 입금액 = 심결장애인금액 - 기관삭감액, 단 반송일 경우는 입금액 0원처리</caption>
- <group id="group5" visibility="hidden" style="left:600px; top:100px; width:230px; height:190px; ">
- <caption id="caption11" class="cell_1" style="left:15px; top:34px; width:80px; height:26px; font-weight:bold; ">입금일자</caption>
- <button id="button9" class="btn4_letter2" style="left:109px; top:147px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(ipt_depodd.value == "") {
- messageBox("입급일자를","C001");
- model.setFocus("ipt_depodd");
- return false;
- }
- if(ipt_notimm.value == "") {
- messageBox("통보월을","C001");
- model.setFocus("ipt_notimm");
- return false;
- }
- if(ipt_depoamt.value == "") {
- messageBox("입금금액을","C001");
- model.setFocus("ipt_depoamt");
- return false;
- }
- model.setValue("/root/send/send01/depocnt", grd_pifhcunc.rows-1);
-
- var rows = grd_pifmmiun.rows;
- var totsum = 0;
- var reductamt = 0;
- var cnt = 0;
-
- for(var i=1;i<rows;i++) {
- //if(grd_pifmmiun.rowStatus(i) == "1" || grd_pifmmiun.rowStatus(i) == "3") {
- if( grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) == 'Y' ){
- cnt++;
- if ( grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("sendyn")) != "Y" ) {
- totsum += Number(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("jrhandicaprfund"))) - Number(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("instreductamt")));
-
- } else {
- grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("remainamt")) = "0"; // 반송일 경우 입금액을 0원으로 처리 한다. 2010.03.12 저장시는 remainamt 를 가져가는 기괴함....
- }
- }
- }
- // 20100722 기관삭감액이 있는경우는 장애인 입금액을 zero로 처리한다.
- for(var i=1;i<rows;i++) {
- if( grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) == 'Y' ){
- reductamt = Number(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("instreductamt")));
- //model.alert(i);
- if ( reductamt > 0 ) {
- //model.alert(reductamt);
- grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("depoamt")) = 0;
- }
- }
- }
- // 20100722 END
- //건보, 산재
- if (model.getValue("/root/send/insukind") == '11' || model.getValue("/root/send/insukind") == '41') {
-
- model.setValue("/root/main/list02/gridpifmidep", '');
- model.setValue("/root/main/list02/gridpifmidep", getNodeListCSV(instance1.selectNodes("/root/main/list01/gridpifmmiun[choice = 'Y']")));
-
- opener.model.makeNode("/root/main/list02/gridpifmidep");
- opener.model.setValue("/root/main/list02/gridpifmidep",model.getValue("/root/main/list02/gridpifmidep"));
- opener.grd_pifhbsdp.valueMatrix(model.getValue("/root/send/opn_row"),6) = totsum; // 부모창의 통장입금액란에 Sum 금액 입력
- opener.grd_pifhbsdp.valueMatrix(model.getValue("/root/send/opn_row"),5) = cnt; // 부모창의 건수란에 건수 입력
- } else {
- model.setValue("/root/main/list02/gridpifmmide", '');
- model.setValue("/root/main/list02/gridpifmmide", getNodeListCSV(instance1.selectNodes("/root/main/list01/gridpifmmiun[choice = 'Y']")));
-
- opener.model.makeNode("/root/main/list02/gridpifmmide");
- opener.model.setValue("/root/main/list02/gridpifmmide",model.getValue("/root/main/list02/gridpifmmide"));
- opener.grd_pifhmcdp.valueMatrix(model.getValue("/root/send/opn_row"),6) = totsum; // 부모창의 통장입금액란에 Sum 금액 입력
- opener.grd_pifhmcdp.valueMatrix(model.getValue("/root/send/opn_row"),5) = cnt; // 부모창의 건수란에 건수 입력
- }
-
- // 청구서단위 입금등록값 세팅
- for(var i=1;i<grd_pifhcunc.rows;i++) {
- grd_pifhcunc.rowStatus(i) = 2;
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/calcacptno_bsdp", model.getValue("/root/send/send01/calcacptno"));
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/depodd_bsdp", model.getValue("/root/send/send01/depodd"));
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/notimm_bsdp", model.getValue("/root/send/send01/notimm"));
- if(model.getValue("/root/send/send01/depoamt") <= 0) {
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/depoamt_bsdp", 0);
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/rtnscheamt_bsdp", Math.abs(model.getValue("/root/send/send01/depoamt")));
- } else {
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/depoamt_bsdp", model.getValue("/root/send/send01/depoamt"));
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/rtnscheamt_bsdp", 0);
- }
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/depocnt_bsdp", model.getValue("/root/send/send01/depocnt"));
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/bankcd_bsdp", model.getValue("/root/send/send01/bankcd"));
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/acntcd_bsdp", model.getValue("/root/send/send01/acntcd"));
- model.setValue("/root/main/list01/gridpifhcunc["+i+"]/oprcpcalcyn_bsdp", model.getValue("/root/send/send01/oprcpcalcyn"));
- }
-
- model.refresh();
-
- model.setValue("/root/main/list05/gridpifhcunc", grd_pifhcunc.getUpdateData());
-
- if(submit("TXPIF30703")) {
- messageBox("정상적으로 일괄 입금등록이","I002");
- submit("TRPIF30701");
- }
-
- group5.visible = false;
- ]]>
- </script>
- </button>
- <button id="button10" class="btn4_letter2" style="left:166px; top:147px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group5.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption13" class="tit_1" style="left:0px; top:15px; width:151px; height:13px; ">일괄저장</caption>
- <shape id="roundrect2" class="roundrect_btnset" appearance="roundrect" style="left:0px; top:0px; width:230px; height:185px; "/>
- <caption id="caption12" class="cell_1" style="left:15px; top:65px; width:80px; height:26px; font-weight:bold; ">재무통보월</caption>
- <caption id="caption14" class="cell_1" style="left:15px; top:97px; width:80px; height:26px; font-weight:bold; ">총입금금액</caption>
- <input id="ipt_depodd" ref="/root/send/send01/depodd" inputtype="date" format="yyyy-mm-dd" style="left:99px; top:38px; width:110px; height:19px; text-align:center; "/>
- <input id="ipt_notimm" ref="/root/send/send01/notimm" inputtype="date" format="yyyy-mm" style="left:99px; top:68px; width:110px; height:19px; text-align:center; "/>
- <output id="ipt_depoamt" ref="/root/send/send01/depoamt" format="(-)#,###" maxlength="14" style="left:99px; top:102px; width:110px; height:19px; text-align:right; "/>
- <input id="input1" ref="/root/send/send01/depodd" inputtype="date" format="yyyy-mm-dd" style="left:99px; top:38px; width:110px; height:19px; text-align:center; "/>
- <caption id="caption9" class="cell_1" style="left:15px; top:34px; width:80px; height:26px; font-weight:bold; ">입금일자</caption>
- <caption id="caption15" class="cell_1" style="left:15px; top:65px; width:80px; height:26px; font-weight:bold; ">재무통보월</caption>
- </group>
- <button id="button4" class="btn2_letter7" style="left:1016px; top:18px; width:97px; height:19px; ">
- <caption>기관삭감액저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.resetInstanceNode("/root/main/list03/gridpifmmide");
- model.makeValue("/root/main/list03/gridpifmmide", grd_pifmmiun.getUpdateData());
- if(submit("TXPIF31503")) {
- submit("TRPIF31501");
-
- if(grd_pifmmiun.rows > 1) {
- grd_pifmmiun.row = 1;
- model.resetInstanceNode("/root/main/list02/gridpifmmide");
- fSelect_pifmmide();
- }
- }
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter4" style="left:1117px; top:18px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
-
- var fileName = window.fileDialog("save", ",", false, "입금일자별 입금현황_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_pifmmiun.saveExcel(fileName, "입금일자별 입금현황", false, false, "", "", "col_0:label");
- // grd_pifmmiun.saveExcel(fileName, "sheetname:입금일자별 입금현황;colhiddenextend:false;rowhiddenextend:false;exportfalsecols:1,2;exportfalserows:0;col_3:label;");
- }
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter2" style="left:970px; top:18px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPIF31600", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:742px; width:1185px; height:27px; ">
- <button id="btn_cancel" class="btn4_letter2" style="left:1122px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" style="left:1060px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rows = grd_pifmmiun.rows;
- var totsum = 0;
- var reductamt = 0;
- var cnt = 0;
-
- for(var i=1;i<rows;i++) {
- if( grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) == 'Y' ){
- cnt++;
- if ( grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("sendyn")) != "Y" ) {
- // 총입금액 = 심결장애인 - 기관삭감액
- totsum += Number(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("jrhandicaprfund"))) - Number(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("instreductamt")));
-
- } else {
- grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("remainamt")) = "0"; // 반송일 경우 장애인잔액을 0원으로 처리 한다.
- }
- }
- }
- // 20100722 기관삭감액이 있는경우는 장애인 입금액을 zero로 처리한다.
- for(var i=1;i<rows;i++) {
- if( grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("choice")) == 'Y' ){
- reductamt = Number(grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("instreductamt")));
- if ( reductamt > 0 ) {
- //model.alert(reductamt);
- grd_pifmmiun.valueMatrix(i, grd_pifmmiun.colRef("depoamt")) = 0;
- }
- }
- }
- // 20100722 END
- //건보, 산재
- if (model.getValue("/root/send/insukind") == '11' || model.getValue("/root/send/insukind") == '41') {
-
- model.setValue("/root/main/list02/gridpifmidep", '');
- model.setValue("/root/main/list02/gridpifmidep", getNodeListCSV(instance1.selectNodes("/root/main/list01/gridpifmmiun[choice = 'Y']")));
-
- // model.setValue("/root/main/list02/gridpifmidep", grd_pifmmiun.getUpdateData());
- opener.model.makeNode("/root/main/list02/gridpifmidep");
- opener.model.setValue("/root/main/list02/gridpifmidep",model.getValue("/root/main/list02/gridpifmidep"));
- opener.grd_pifhbsdp.valueMatrix(model.getValue("/root/send/opn_row"),6) = totsum; // 부모창의 통장입금액란에 Sum 금액 입력
- opener.grd_pifhbsdp.valueMatrix(model.getValue("/root/send/opn_row"),5) = cnt; // 부모창의 건수란에 건수 입력
- } else {
- model.setValue("/root/main/list02/gridpifmmide", '');
- model.setValue("/root/main/list02/gridpifmmide", getNodeListCSV(instance1.selectNodes("/root/main/list01/gridpifmmiun[choice = 'Y']")));
-
- // model.setValue("/root/main/list02/gridpifmidep", grd_pifmmiun.getUpdateData());
- opener.model.makeNode("/root/main/list02/gridpifmmide");
- opener.model.setValue("/root/main/list02/gridpifmmide",model.getValue("/root/main/list02/gridpifmmide"));
- opener.grd_pifhmcdp.valueMatrix(model.getValue("/root/send/opn_row"),6) = totsum; // 부모창의 통장입금액란에 Sum 금액 입력
- opener.grd_pifhmcdp.valueMatrix(model.getValue("/root/send/opn_row"),5) = cnt; // 부모창의 건수란에 건수 입력
- }
-
- window.close();
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:12px; width:1194px; height:84px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:4px; width:1194px; height:78px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button5" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_termflag.value == "1") {
- if(model.getValue("/root/send/send01/fromdd") == "") {
- messageBox("청구 시작월을","C002");
- model.setFocus("cmb_insucmpymark");
- return false;
- }
- if(model.getValue("/root/send/send01/fromdd") == "") {
- messageBox("청구 종료월을","C002");
- model.setFocus("cmb_insucmpymark");
- return false;
- }
- } else {
- if(model.getValue("/root/send/send01/acptno") == "") {
- messageBox("접수번호를","C002");
- model.setFocus("cmb_insucmpymark");
- return false;
- }
- if(model.getValue("/root/send/send01/clamno") == "") {
- messageBox("청구번호를","C002");
- model.setFocus("ipt_clamno");
- return false;
- }
- if(model.getValue("/root/send/send01/judgdg") == "") {
- messageBox("심사차수를","C002");
- model.setFocus("ipt_judgdg");
- return false;
- }
- }
- model.removenode("/root/main/list01");
- model.removenode("/root/main/list02");
-
- model.refresh();
-
- // 환자단위조회 Input Box의 값이 널이 아닌 경우
- if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
- fGetInAftJudgTrgtManList();
- }
-
- submit("TRPIF31501");
-
- var rows = grd_pifmmiun.rows;
-
- // 반송인 경우 입금을 하더라도 입금여부는 N , 입금일자는 공란으로 조회 되고 체크 불가 상태로 만든다. 2010.03.11 김종현쌤 요청 사항
- if(rows > 1) {
- for(var i=1;i<rows;i++) {
- // 체크입금여부가 Y일 경우에만 선택 안 되게 변경 2010.03.10
- if(grd_pifmmiun.valueMatrix(i,grd_pifmmiun.colRef("chkdepo")) == "Y") {
- grd_pifmmiun.isReadOnly(i,grd_pifmmiun.colRef("choice")) = true;
- } else {
- grd_pifmmiun.isReadOnly(i,grd_pifmmiun.colRef("choice")) = false;
- }
- }
-
- // 개인별 상세내역조회
- grd_pifmmiun.row = 1;
- fSelect_pifmmide();
-
- fDeptFildSubtotal();
- }
-
- grd_pifmmiun.colStyle(grd_pifmmiun.colRef("instreductamt"), "data","background-color") = "#ccccff";
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:1108px; y1:8px; x2:1108px; y2:78px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption10" class="search_name" style="left:153px; top:51px; width:87px; height:17px; ">환자번호 :</caption>
- <caption id="caption7" class="search_name" style="left:859px; top:49px; width:112px; height:17px; ">입금구분 :</caption>
- <input id="ipt_patunitsrch" ref="/root/send/send01/patunitsrch1" class="input_search" inputtype="button" style="left:243px; top:50px; width:100px; height:19px; ">
- <hint>
- <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
- </hint>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetInAftJudgTrgtManList();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var ipt_pid = model.getValue("/root/send/send01/patunitsrch1");
- if (ipt_pid) {
- if(ipt_pid.isNumber()) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
- } else {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "2"); // 검색조건 : 환자명으로 설정
- model.setValue("/root/hidden/sppmc02500/cond/hngnm", ipt_pid);
- }
-
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
- model.setValue("/root/hidden/sppmc02500/cond/insukind", "31");
- modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
-
- // 환자단위조회 InputBox에 값을 입력후 팝업조회했을 때
- if (ipt_pid != "") {
- if(ipt_pid.isNumber()) {
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- model.setValue("/root/send/send01/patunitsrch1", srch_pid);
- } else {
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/send/send01/patunitsrch1", srch_pid);
- }
- } else {
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- model.setValue("/root/send/send01/patunitsrch1", srch_pid);
- }
-
- model.refresh();
- fGetInAftJudgTrgtManList();
- ]]>
- </script>
- </input>
- <select1 id="radio2" ref="/root/send/send01/depoyn" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:950px; top:50px; width:153px; height:15px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입금</label>
- <value>Y</value>
- </item>
- <item>
- <label>미입금</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_todd" ref="/root/send/send01/todd" class="input_s_essential" inputtype="date" maxlength="6" format="yyyy-mm" style="left:346px; top:17px; width:82px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- /*
- cmb_judgdg.value = "";
- model.removeNodeset("/root/init/U0001list");
- submit("TRPIF30902");
- model.refresh();
- */
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removenode("/root/init/U0001list");
- model.removenode("/root/init/U0002list");
- submit("TRPIF30412"); // 시도 전체조회
- submit("TRPIF30413"); // 시군구 전체조회
- addComboItem("cmb_cpcd"," ");
- addComboItem("cmb_assocd"," ");
- ]]>
- </script>
- </input>
- <caption id="caption1" style="left:330px; top:19px; width:15px; height:15px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/send01/fromdd" class="input_s_essential" inputtype="date" maxlength="6" format="yyyy-mm" style="left:243px; top:17px; width:82px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_todd.value = ipt_fromdd.value;
-
- model.removenode("/root/init/U0001list");
- model.removenode("/root/init/U0002list");
- submit("TRPIF30412"); // 시도 전체조회
- submit("TRPIF30413"); // 시군구 전체조회
- addComboItem("cmb_cpcd"," ");
- addComboItem("cmb_assocd"," ");
- ]]>
- </script>
- </input>
- <select1 id="cmb_clamno" ref="/root/send/send01/clamno" class="combo_search" appearance="minimal" style="left:716px; top:17px; width:129px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/list00/list002/clamno">
- <label ref="clamno"/>
- <value ref="clamno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removenode("/root/main/list01");
- model.removenode("/root/main/list02");
- // model.removenode("/root/main/list04");
- model.removenode("/root/main/list00/list003");
-
-
- model.setValue("/root/send/send01/judgdg","");
- model.setValue("/root/send/send01/cpcd","");
- model.setValue("/root/send/send01/assocd","");
-
- model.resetInstanceNode("/root/init/U0001list");
- model.resetInstanceNode("/root/init/U0002list");
-
- // 심사차수 조회
- model.setvalue("/root/send/send01/srchgubun", "3");
- submit("TRPIF30404");
- if(cmb_judgdg.length == 1) {
- cmb_judgdg.select(0);
- } else if(cmb_judgdg.length > 1) {
- model.setFocus("cmb_judgdg");
- } else {
- messageBox("해당하는 심사차수가","I004");
- return false;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption51" class="search_name" style="left:859px; top:18px; width:86px; height:17px; ">심사차수 :</caption>
- <caption id="caption52" class="search_name" style="left:627px; top:18px; width:86px; height:17px; ">청구번호 :</caption>
- <caption id="caption53" class="search_name" style="left:440px; top:51px; width:90px; height:17px; ">시/도별 :</caption>
- <caption id="caption54" class="search_name" style="left:441px; top:18px; width:86px; height:17px; ">접수번호 :</caption>
- <select1 id="cmb_cpcd" ref="/root/send/send01/cpcd" class="combo_search" appearance="minimal" style="left:530px; top:50px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removenode("/root/main/list01");
- model.removenode("/root/main/list02");
-
- model.setValue("/root/send/send01/assocd","");
-
- model.removenode("/root/init/U0002list");
-
- model.setvalue("/root/send/send01/srchgubun", "6");
-
- submit("TRPIF30413"); // 시군구조회
- if(cmb_assocd.length > 0) {
- addComboItem("cmb_assocd"," ");
- model.setFocus("cmb_assocd");
- submit("TRPIF31501"); //조회시작
- } else {
- submit("TRPIF31501"); //조회시작
- }
- ]]>
- </script>
- </select1>
- <caption id="caption56" class="search_name" style="left:627px; top:51px; width:86px; height:17px; ">시군구 :</caption>
- <select1 id="cmb_assocd" ref="/root/send/send01/assocd" class="combo_search" appearance="minimal" style="left:704px; top:50px; width:141px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0002list/U0002">
- <label ref="assonm"/>
- <value ref="assocd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removenode("/root/main/list01");
- model.removenode("/root/main/list02");
- submit("TRPIF31501"); //조회시작
- if(grd_pifmmiun.rows > 1) {
- grd_pifmmiun.row = 1;
- model.resetInstanceNode("/root/main/list02/gridpifmmide");
- fSelect_pifmmide();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_acptno" ref="/root/send/send01/acptno" class="input_search" inputtype="button" maxlength="7" style="left:530px; top:17px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- var acptno = ipt_acptno.value;
- if(acptno.length == 0) {
- return false;
- }
- if(acptno.length < 7) {
- messageBox("접수번호는 7자리","I009");
- return false;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.makeNode("/root/send/send01/termflag");
- model.makeNode("/root/send/send01/fromdd");
- model.makeNode("/root/send/send01/todd");
- model.makeNode("/root/send/send01/insukind");
- model.setValue("/root/send/send01/insukind","21");
-
- modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
-
- // 시도 조회
- if(cmb_judgdg.length > 0) {
- model.setvalue("/root/send/send01/srchgubun", "5");
- model.setValue("/root/send/send01/clamno", ipt_clamno.value);
- submit("TRPIF30412");
- if(cmb_cpcd.length > 0) {
- addComboItem("cmb_cpcd"," ");
- model.setFocus("cmb_cpcd");
- // cmb_cpcd.select(0);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if(ipt_acptno.value == "") {
- return false;
- }
- model.resetInstanceNode("/root/main/list00");
- model.removenode("/root/main/list01");
- model.removenode("/root/main/list02");
- // model.removenode("/root/main/list04");
-
- cmb_clamno.value = "";
- cmb_judgdg.value = "";
- cmb_cpcd.value = "";
- cmb_assocd.value = "";
-
- // 청구번호 조회
- model.setvalue("/root/send/send01/srchgubun", "4");
- submit("TRPIF30405");
- if(cmb_clamno.length == 1) {
- cmb_clamno.select(0);
- } else if(cmb_clamno.length > 1) {
- model.setFocus("cmb_clamno");
- } else {
- messageBox("해당청구번호가","I004");
- return false;
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_judgdg" ref="/root/send/send01/judgdg" class="combo_search" appearance="minimal" style="left:949px; top:17px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/list00/list003/judgdglist">
- <label ref="judgdg"/>
- <value ref="judgdg"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removenode("/root/main/list01");
- model.removenode("/root/main/list02");
-
- model.setValue("/root/send/send01/cpcd","");
- model.setValue("/root/send/send01/assocd","");
-
- model.removenode("/root/init/U0001list");
- model.removenode("/root/init/U0002list");
-
- // 시도 조회
- model.setvalue("/root/send/send01/srchgubun", "5");
- model.setValue("/root/send/send01/clamno", cmb_clamno.value);
- submit("TRPIF30412");
- if(cmb_cpcd.length == 1) {
- cmb_cpcd.select(0);
- } else if(cmb_cpcd.length > 1) {
- addComboItem("cmb_cpcd"," ");
- model.setFocus("cmb_cpcd");
- } else {
- messageBox("해당하는 시도가","I004");
- return false;
- }
- // 시군구 조회
- submit("TRPIF30413");
- if(cmb_assocd.length == 1) {
- cmb_assocdcd.select(0);
- } else if(cmb_assocd.length > 1) {
- addComboItem("cmb_assocd"," ");
- model.setFocus("cmb_assocd");
- } else {
- messageBox("해당하는 시군구가","I004");
- return false;
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_termflag" ref="/root/send/send01/termflag" class="radio_search" appearance="full" cols="3" rows="1" vcellspacing="1" overflow="visible" style="left:11px; top:17px; width:137px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>1</value>
- </item>
- <item>
- <label>접수번호</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_termflag.value == "1") {
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
-
- ipt_acptno.disabled = true;
- cmb_clamno.disabled = true;
- cmb_judgdg.disabled = true;
- model.setFocus("ipt_fromdd");
- } else if(rdo_termflag.value == "2") {
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
-
- ipt_acptno.disabled = false;
- cmb_clamno.disabled = false;
- cmb_judgdg.disabled = false;
- model.setFocus("ipt_acptno");
- }
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:153px; top:17px; width:97px; height:17px; ">청구년월 :</caption>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:265px; height:14px; ">차상위 개인별 입금관리</caption>
- </xhtml:body>
- </xhtml:html>
|