1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087 |
- <?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="">
- <main>
- <disadiffpayform>
- <insurancensticorr>
- <notigbnnm/>
- <notiym/>
- <seqno/>
- <instcd/>
- <instnm/>
- <emplnm/>
- <rrgstno/>
- <grde/>
- <pensinsuamt/>
- <updtresn/>
- <updtdd/>
- <monthno/>
- <notigbn/>
- <rrgstno1/>
- <rrgstno2/>
- <workgbn/>
- <resngbn/>
- </insurancensticorr>
- <insurancenstilist>
- <notigbnnm/>
- <notiym/>
- <seqno/>
- <instcd/>
- <emplnm/>
- <rrgstno/>
- <grde/>
- <pensinsuamt/>
- <updtresn/>
- <updtdd/>
- <monthno/>
- <notigbn/>
- <rrgstno1/>
- <rrgstno2/>
- </insurancenstilist>
- <newempllist/>
- </disadiffpayform>
- <disadiffpayitem>
- <notigbnnm/>
- <notiym/>
- <seqno/>
- <instcd/>
- <emplnm/>
- <rrgstno/>
- <grde/>
- <pensinsuamt/>
- <updtresn/>
- <updtdd/>
- <monthno/>
- <notigbn/>
- <rrgstno1/>
- <rrgstno2/>
- <workgbn/>
- <resngbn/>
- <adjtamt/>
- <cmt/>
- <notipensinsuamt/>
- <instnm/>
- </disadiffpayitem>
- </main>
- <send>
- <searchlist>
- <notiym/>
- <instcd/>
- <rrgstno1/>
- <rrgstno2/>
- <emplnm/>
- <workgbn/>
- <preststatcd/>
- <deduexptyn/>
- </searchlist>
- <disadiffpayitem>
- <rrgstno1/>
- <rrgstno2/>
- <emplnm/>
- <notiym/>
- <instcd/>
- <preststatcd/>
- <deduexptyn/>
- </disadiffpayitem>
- <savelist>
- <insurancensticorr/>
- </savelist>
- <doduynlist>
- <notiym/>
- <seqno/>
- <workgbn/>
- <notigbn/>
- <rrgstno/>
- <instcd/>
- </doduynlist>
- <newemplsend>
- <gvnoffcordfromdd/>
- <gvnoffcordtodd/>
- <instcd/>
- <emplnm/>
- </newemplsend>
- </send>
- <temp>
- <medimodiseqnoyn/>
- <medicnfmyn/>
- <instcnfmyn/>
- <doduyn/>
- </temp>
- <init>
- <deduexptynlist>
- <label>공제제외여부</label>
- <value>N</value>
- </deduexptynlist>
- <resngbn>
- <label>신규임용</label>
- <value>51</value>
- <label>환급</label>
- <value>52</value>
- </resngbn>
- </init>
- </root>
- </instance>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- misfGridInit(grd_insurancensticorr);
- misfGridInit(grd_insurancenstilist);
- misfGridInit(grd_newempllist);
-
- model.toggle("case1");
- btn_emplsave.attribute("visibility")="hidden";
- misfMsterDetailSet(grd_insurancensticorr, null, "TRRPA03701" ,"Y");
-
- if (getUserInfo("dutplceinstcd") == "017" ) {
- btn_cnfm.visible = true;
- btn_cancnfm.visible = true;
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- cmb_instcd.value = getUserInfo("dutplceinstcd");
- }
- else {
- button7.visible = true;
- button8.visible = true;
- rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
- }
-
-
- misfComboComCdList('R0146', cmb_preststatcd,'Y');
- misfComboComCdList('R0146', grd_insurancensticorr.preststatcd);
-
- misfComboCopyItemSet(cmb_instcd, "", cmb_instcd_e, "instcd");
- misfComboCopyItemSet(cmb_resngbn, "", grd_insurancensticorr, "resngbn");
- //misfComboCopyItemSet(cmb_preststatcd, "", grd_insurancensticorr, "preststatcd");
-
- misfComboCopyItemSet(cmb_instcd, "", cmb_instcd_i, "");
- //화면 권한 설정
- btn_save.disabled = !(checkAuth("X"));
- //btn_insert.disabled= true;
- ]]>
- </script>
- <submission id="TRRPA03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/disadiffpayform"/>
- <submission id="TXRPA03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
- <submission id="TRRPA03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doduynlist" resultref="/root/temp"/>
- <submission id="TXRPA03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doduynlist" resultref="/root/temp"/>
- <submission id="TRRPA01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/disadiffpayitem" resultref="/root/main/disadiffpayform/insurancenstilist"/>
- <submission id="TRRPA01305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/newemplsend" resultref="/root/main/disadiffpayform/newempllist"/>
- <submission id="TXRPA03704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doduynlist" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/disadiffpayform/insurancensticorr");
- model.removeNodeset("/root/main/disadiffpayform/insurancenstilist");
- model.resetInstanceNode("/root/main/disadiffpayitem");
- model.resetInstanceNode("/root/send");
- model.refresh();
-
- ckb_deduexptyn.value='N';
- var curDate = getCurrentDate().toDate();
- model.setValue("/root/send/searchlist/notiym", curDate.getDateFormat('YYYYMM'));
- //model.setValue("/root/main/disadiffpayitem/notiym", curDate.getDateFormat('YYYYMM'));
- }
-
-
- function fEnableInsertButton() {
- btn_insert.disabled = false;
- btn_update.disabled = true;
- }
- function fEnableUpdateButton() {
- btn_insert.disabled = true;
- btn_update.disabled = false;
- }
- function ftotPenPayAmt(){
- var pensinsuamt = 0;
- var adjtamt = 0;
- if(ipt_pensinsuamt.value!=""){
- pensinsuamt=parseInt(ipt_pensinsuamt.value);
- }
- if(ipt_adjtamt.value!=""){
- adjtamt=parseInt(ipt_adjtamt.value);
- }
-
- //scholexppayamt=parseInt(scho)+parseInt(admischoolamt)+parseInt(asctfeereliztpln)+parseInt(stdasctfee);
- notipensinsuamt=pensinsuamt+adjtamt;
- ipt_notipensinsuamt.value=notipensinsuamt;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">국민연금추가내역관리</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:740px; ">
- <line id="line2" class="line_2" style="x1:0px; y1:448px; x2:460px; y2:448px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:520px; x2:460px; y2:520px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:472px; x2:460px; y2:472px; "/>
- <line id="line26" class="line_3" style="x1:0px; y1:617px; x2:460px; y2:617px; "/>
- <line id="line14" class="line_2" style="x1:0px; y1:568px; x2:460px; y2:568px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:496px; x2:460px; y2:496px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:544px; x2:460px; y2:544px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:19px; width:105px; height:17px; ">작업년월 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym"))return;
- model.setValue("/root/send/searchlist/workgbn","2");
- model.setValue("/root/send/searchlist/deduexptyn","N");
- submit("TRRPA03701");
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <input id="ipt_notiym" ref="/root/send/searchlist/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:18px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // ipt_notiym_i.value=ipt_notiym.value;
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:203px; top:19px; width:99px; height:17px; ">기 관 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" appearance="minimal" style="left:277px; top:20px; width:133px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line20" class="line_1" style="x1:0px; y1:421px; x2:460px; y2:421px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:162px; height:14px; ">국민연금추가내역</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
- <caption id="caption3" class="tit_2" style="left:0px; top:406px; width:139px; height:13px; ">당월고지금액</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:570px; width:95px; height:23px; vertical-align:middle; ">조정금액</caption>
- <caption id="cap_updtresn" class="cell_1" style="left:0px; top:546px; width:95px; height:23px; vertical-align:middle; ">변동사유</caption>
- <select1 id="cmb_instcd_i" ref="/root/main/disadiffpayitem/instcd" class="combo_s_essential" appearance="minimal" style="left:97px; top:452px; width:215px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_notiym_i" class="cell_1" style="left:0px; top:426px; width:95px; height:23px; vertical-align:middle; ">고지년월</caption>
- <caption id="cap_pensinsuamt" class="cell_1" style="left:224px; top:546px; width:100px; height:23px; vertical-align:middle; ">연금보험료</caption>
- <caption id="cap_emplnm_i" class="cell_1" style="left:224px; top:426px; width:100px; height:23px; vertical-align:middle; ">성 명</caption>
- <caption id="cap_instcd_i" class="cell_1" style="left:0px; top:450px; width:95px; height:23px; vertical-align:middle; ">기 관</caption>
- <input id="ipt_monthno" ref="/root/main/disadiffpayitem/monthno" class="input_search" maxlength="9" format="#,###" style="left:97px; top:523px; width:124px; height:19px; text-align:right; "/>
- <caption id="caption33" class="cell_1" style="left:224px; top:522px; width:100px; height:23px; vertical-align:middle; ">변동일자</caption>
- <caption id="cap_emplnm" class="cell_1" style="left:0px; top:498px; width:95px; height:23px; vertical-align:middle; ">등 급</caption>
- <caption id="cap_resngbn" class="cell_1" style="left:224px; top:498px; width:100px; height:23px; vertical-align:middle; ">추가사유</caption>
- <input id="ipt_notiym_i" ref="/root/main/disadiffpayitem/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:97px; top:428px; width:103px; height:19px; "/>
- <input id="ipt_notigbn" ref="/root/main/disadiffpayitem/notigbn" class="input_search" disabled="true" visibility="hidden" style="left:199px; top:394px; width:50px; height:19px; "/>
- <input id="ipt_grde" ref="/root/main/disadiffpayitem/grde" class="input_search" style="left:97px; top:499px; width:124px; height:19px; "/>
- <input id="ipt_emplnm_i" ref="/root/main/disadiffpayitem/emplnm" class="input_s_essential" imemode="hangul" maxlength="30" style="left:327px; top:428px; width:103px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- /* Enter Key입력시 이벤트 발생 */
- inputEnterKey("btn_emplnm", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_seqno" ref="/root/main/disadiffpayitem/seqno" class="input_s_essential" disabled="true" visibility="hidden" style="left:164px; top:394px; width:25px; height:19px; "/>
- <input id="ipt_updtresn" ref="/root/main/disadiffpayitem/updtresn" class="input_search" imemode="hangul" maxlength="30" style="left:97px; top:548px; width:124px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:522px; width:95px; height:23px; vertical-align:middle; ">월 수</caption>
- <input id="ipt_rrgstno1_i" ref="/root/main/disadiffpayitem/rrgstno1" class="input_s_essential" maxlength="6" style="left:97px; top:476px; width:103px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_rrgstno", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_rrgstno1_i" class="cell_1" style="left:0px; top:474px; width:95px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <input id="ipt_rrgstno2_i" ref="/root/main/disadiffpayitem/rrgstno2" class="input_s_essential" maxlength="7" style="left:224px; top:476px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_rrgstno", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption309" style="left:203px; top:477px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
- <select1 id="cmb_resngbn" ref="/root/main/disadiffpayitem/resngbn" class="combo_s_essential" appearance="minimal" style="left:327px; top:499px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/resngbn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_updtdd" ref="/root/main/disadiffpayitem/updtdd" class="input_search" inputtype="date" maxlength="9" format="yyyy-mm-dd" style="left:327px; top:523px; width:125px; height:19px; text-align:right; "/>
- <input id="ipt_pensinsuamt" ref="/root/main/disadiffpayitem/pensinsuamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:327px; top:547px; width:125px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ftotPenPayAmt();
- ]]>
- </script>
- </input>
- <caption id="cap_notipensinsuamt" class="cell_1" style="left:224px; top:570px; width:100px; height:23px; vertical-align:middle; ">당월보험료</caption>
- <button id="btn_update" class="btn2_letter2" navindex="13" style="left:356px; top:400px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym_i","cmb_resngbn")) return;
- var nitiym=model.getValue("/root/main/disadiffpayitem/notiym");
- var seqno=model.getValue("/root/main/disadiffpayitem/seqno");
- var notigbn = model.getValue("/root/main/disadiffpayitem/notigbn");
-
- model.setValue("/root/send/doduynlist/seqno",seqno);
- model.setValue("/root/send/doduynlist/notiym",nitiym);
- model.setValue("/root/send/doduynlist/notigbn",notigbn);
- model.setValue("/root/send/doduynlist/workgbn","2");
-
- submit("TRRPA03702");
- var mediaddseqnoyn=model.getValue("/root/temp/mediaddseqnoyn");
- var medicntrcnfmyn=model.getValue("/root/temp/medicntrcnfmyn");
-
- if(medicntrcnfmyn =='Y'){
-
- if (cmb_instcd.value == "017") {
- messageBox("확정이 완료된 고지월은 수정 ","E001");
- }
- else {
- messageBox("의료원확정이 완료된 고지월은 수정 ","E001");
- }
-
- return;
- }
- var cur_row = grd_insurancensticorr.row; // 행 번호 가져오기
- if (cur_row > 0) {
- // 그리드에 추가
- model.copyNode("/root/main/disadiffpayform/insurancensticorr["+cur_row+"]","/root/main/disadiffpayitem");
- grd_insurancensticorr.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn2_letter3" navindex="14" style="left:401px; top:400px; width:53px; height:19px; ">
- <caption>지우기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/disadiffpayitem");
- fEnableInsertButton() ;
- ipt_notiym_i.disabled=false;
- ipt_rrgstno1_i.disabled=false;
- ipt_rrgstno2_i.disabled=false;
- ipt_emplnm_i.disabled=false;
- ipt_notigbn.disabled=false;
- model.refresh();
- var notiym=model.getValue("/root/send/searchlist/notiym");
- ipt_notiym_i.value=notiym;
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter4" navindex="12" style="left:290px; top:400px; width:64px; height:19px; ">
- <caption>신규추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym_i","cmb_instcd_i","ipt_rrgstno1_i","ipt_rrgstno2_i","ipt_emplnm_i","cmb_resngbn","ipt_pensinsuamt")) return;
- var nitiym=model.getValue("/root/main/disadiffpayitem/notiym");
- var seqno=model.getValue("/root/main/disadiffpayitem/seqno");
- var notigbn = model.getValue("/root/main/disadiffpayitem/notigbn");
- var rrgstno =ipt_rrgstno1_i.value+ipt_rrgstno2_i.value;
-
- if(notigbn ==""){
- notigbn='A';
- }
-
- model.setValue("/root/send/doduynlist/seqno",seqno);
- model.setValue("/root/send/doduynlist/notiym",nitiym);
- model.setValue("/root/send/doduynlist/notigbn",notigbn);
- model.setValue("/root/send/doduynlist/rrgstno",rrgstno);
-
- model.setValue("/root/send/doduynlist/workgbn","2");
-
- submit("TRRPA03702");
- var mediaddseqnoyn=model.getValue("/root/temp/mediaddseqnoyn");
- var medicntrcnfmyn=model.getValue("/root/temp/medicntrcnfmyn");
- var mediadddoduyn=model.getValue("/root/temp/mediadddoduyn");
-
- if(medicntrcnfmyn =='Y'){
- if (cmb_instcd.value == "017") {
- messageBox("확정이 완료된 고지월은 추가 ","E001");
- }
- else {
- messageBox("의료원확정이 완료된 고지월은 추가 ","E001");
- }
- return;
- }
-
- if(mediaddseqnoyn =='Y' || mediadddoduyn =='Y'){
- messageBox("입력한 사원의 자료가 ","E006");
- return;
- }
-
- model.setValue("/root/main/disadiffpayitem/workgbn","2");
- var instnm =cmb_instcd_i.label;
- var rrgstno=ipt_rrgstno1_i.value+ipt_rrgstno2_i.value;
-
- model.setValue("/root/main/disadiffpayitem/instnm",instnm);
- model.setValue("/root/main/disadiffpayitem/rrgstno",rrgstno);
- model.setValue("/root/main/disadiffpayitem/notigbn",notigbn);
- grd_insurancensticorr.addrow(); // 입력할 행 추가.
- var cur_row = grd_insurancensticorr.row; // 추가된 행 번호 가져오기
- //model.setValue("root/main/disadiffpayform/insurancensticorr["+cur_row+"]/instnm",instnm);
- model.copyNode("/root/main/disadiffpayform/insurancensticorr["+cur_row+"]","/root/main/disadiffpayitem");
- fEnableUpdateButton();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_emplnm" class="icon_search" visibility="hidden" style="left:434px; top:429px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_emplnm_i","ipt_notiym_i")) return;
- model.makeNode("/root/main/disadiffpayitem/workgbn");
- model.setValue("/root/main/disadiffpayitem/workgbn","1");
- submit("TRRPA01303");
- ]]>
- </script>
- </button>
- <button id="btn_rrgstno" class="icon_search" visibility="hidden" style="left:327px; top:477px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_rrgstno1_i.value=="" && ipt_rrgstno2_i.value=="" ){
- messageBox("주민등록번호는 ","I003");
- return;
- }
-
- if(!isRequiredControls("ipt_notiym_i"))return;
- var emplnm=model.getValue("/root/main/disadiffpayitem/emplnm");
- model.makeNode("/root/main/disadiffpayitem/workgbn");
- model.setValue("/root/main/disadiffpayitem/workgbn","1");
- model.makeNode("/root/main/disadiffpayitem/emplnm");
- model.setValue("/root/main/disadiffpayitem/emplnm",emplnm);
- submit("TRRPA01303");
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/main/disadiffpayitem/workgbn" class="input_s_essential" disabled="true" visibility="hidden" format="#,###" style="left:94px; top:394px; width:65px; height:19px; text-align:right; "/>
- <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" class="input_search" imemode="hangul" style="left:762px; top:18px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption32" style="left:594px; top:20px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
- <caption id="caption34" class="search_name" style="left:431px; top:19px; width:99px; height:17px; ">주민번호:</caption>
- <caption id="caption37" class="search_name" style="left:702px; top:19px; width:60px; height:17px; ">성명:</caption>
- <input id="ipt_chldrnresdnrgst1" ref="/root/send/searchlist/rrgstno1" class="input_search" maxlength="6" style="left:512px; top:18px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_chldrnresdnrgst2" ref="/root/send/searchlist/rrgstno2" class="input_search" maxlength="7" style="left:612px; top:18px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <datagrid id="grd_insurancensticorr" nodeset="/root/main/disadiffpayform/insurancensticorr" caption="고지구분^고지년월^일련번호^기관^성명^주민등록번호^근무상태^등급^연금보험료^조정금액^당월고지금액^변동사유^변동일자^월수^정정사유" colwidth="89, 62, 55, 120, 74, 104, 81, 54, 91, 100, 93, 82, 84, 62, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1194px; height:316px; text-align:center; ">
- <col ref="notigbnnm" visibility="hidden"/>
- <col ref="notiym" format="yyyy-mm"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="instnm" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
- <col id="preststatcd" ref="preststatcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="grde" style="text-align:center; "/>
- <col ref="pensinsuamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="adjtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="notipensinsuamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="updtresn" style="text-align:center; "/>
- <col ref="updtdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="monthno" visibility="visible" format="yyyy-mm" style="text-align:center; "/>
- <col id="resngbn" ref="resngbn" type="combo" style="text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="notigbn" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="workgbn" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var cur_row = grd_insurancensticorr.row;
- if ( cur_row > 0 ) {
- fEnableUpdateButton();
- model.copyNode("/root/main/disadiffpayitem","/root/main/disadiffpayform/insurancensticorr["+cur_row+"]");
- ipt_notiym_i.disabled=true;
- ipt_rrgstno1_i.disabled=true;
- ipt_rrgstno2_i.disabled=true;
- ipt_emplnm_i.disabled=true;
- model.refresh();
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="icon_search" visibility="hidden" style="left:327px; top:453px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym_i"))return;
- var emplnm=model.getValue("/root/main/disadiffpayitem/emplnm");
- model.makeNode("/root/main/disadiffpayitem/workgbn");
- model.setValue("/root/main/disadiffpayitem/workgbn","1");
- model.makeNode("/root/main/disadiffpayitem/emplnm");
- model.setValue("/root/main/disadiffpayitem/emplnm",emplnm);
- submit("TRRPA01304");
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/main/disadiffpayitem/notigbnnm" class="input_search" disabled="true" visibility="hidden" style="left:199px; top:394px; width:40px; height:19px; "/>
- <input id="ipt_workgbn" ref="/root/main/disadiffpayitem/workgbn" class="input_s_essential" disabled="true" visibility="hidden" style="left:-70px; top:695px; width:65px; height:19px; text-align:right; "/>
- <input id="input6" ref="/root/main/disadiffpayitem/rrgstno" class="input_search" visibility="hidden" maxlength="6" style="left:169px; top:634px; width:156px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_rrgstno", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button2" class="icon_search" visibility="hidden" style="left:203px; top:429px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym_i"))return;
- var emplnm=model.getValue("/root/main/disadiffpayitem/emplnm");
- model.makeNode("/root/main/disadiffpayitem/workgbn");
- model.setValue("/root/main/disadiffpayitem/workgbn","1");
- model.makeNode("/root/main/disadiffpayitem/emplnm");
- model.setValue("/root/main/disadiffpayitem/emplnm",emplnm);
- submit("TRRPA01304");
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/send/searchlist/workgbn" visibility="hidden" style="left:1075px; top:15px; width:40px; height:19px; "/>
- <input id="ipt_adjtamt" ref="/root/main/disadiffpayitem/adjtamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:97px; top:572px; width:124px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ftotPenPayAmt();
- ]]>
- </script>
- </input>
- <caption id="caption1" class="cell_1" style="left:0px; top:594px; width:95px; height:23px; vertical-align:middle; ">비 고</caption>
- <input id="ipt_cmt" ref="/root/main/disadiffpayitem/cmt" class="input_search" maxlength="100" style="left:97px; top:597px; width:355px; height:19px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:592px; x2:460px; y2:592px; "/>
- <input id="ipt_notipensinsuamt" ref="/root/main/disadiffpayitem/notipensinsuamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:327px; top:572px; width:125px; height:19px; text-align:right; "/>
- <caption id="caption4" class="search_name" style="left:875px; top:20px; width:81px; height:17px; ">근무상태:</caption>
- <select1 id="cmb_preststatcd" ref="/root/send/searchlist/preststatcd" class="combo_s_essential" appearance="minimal" style="left:955px; top:20px; width:95px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <switch id="switch1" style="left:464px; top:420px; width:725px; height:300px; ">
- <case id="case1" style="left:0px; top:0px; width:728px; height:278px; ">
- <datagrid id="grd_insurancenstilist" nodeset="/root/main/disadiffpayform/insurancenstilist" caption="고지구분^고지년월^일련번호^기관^성명^주민등록번호^근무상태^퇴직일자^등급^연금보험료^조정금액^당월고지금액^정정사유^변동사유^변동일자^월수^비고" colwidth="18, 14, 12, 137, 68, 91, 75, 70, 48, 78, 64, 83, 64, 63, 63, 41, 82, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:4px; width:720px; height:274; text-align:center; ">
- <col ref="notigbnnm" visibility="hidden"/>
- <col ref="notiym" visibility="hidden" format="yyyy-mm"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="instnm" style="text-align:left; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
- <col ref="preststatnm" style="text-align:center; "/>
- <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="grde" visibility="hidden" style="text-align:center; "/>
- <col ref="pensinsuamt" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="notipensinsuamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="resngbnnm" style="text-align:center; "/>
- <col ref="updtresn" style="text-align:center; "/>
- <col ref="updtdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="monthno" visibility="hidden" format="yyyy-mm" style="text-align:center; "/>
- <col ref="cmt"/>
- <col ref="notigbn" visibility="hidden"/>
- <col ref="instcd" visibility="hidden" style="text-align:center; "/>
- <col ref="rrgstno1" visibility="hidden" style="text-align:center; "/>
- <col ref="rrgstno2" visibility="hidden" style="text-align:center; "/>
- <col ref="preststatcd" visibility="hidden" style="text-align:center; "/>
- <col ref="resngbn" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_insurancenstilist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2" selected="true">
- <datagrid id="grd_newempllist" nodeset="/root/main/disadiffpayform/newempllist" caption="기관^부서^성명^주민등록번호^직위^직급^호봉^발령구분^근무상태^임용일자^퇴직일자" colwidth="110, 90, 70, 104, 56, 50, 40, 78, 60, 82, 70, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:40px; width:720px; height:245px; text-align:center; ">
- <col ref="instnm" style="text-align:left; "/>
- <col ref="dutplcedeptnm"/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
- <col ref="jobposnm"/>
- <col ref="njobgradnm"/>
- <col ref="payclscd"/>
- <col ref="gvnoffcordflagnm" style="text-align:center; "/>
- <col ref="preststatnm" style="text-align:center; "/>
- <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="notigbn" visibility="hidden"/>
- <col ref="instcd" visibility="hidden" style="text-align:center; "/>
- <col ref="rrgstno1" visibility="hidden" style="text-align:center; "/>
- <col ref="rrgstno2" visibility="hidden" style="text-align:center; "/>
- <col ref="preststatcd" visibility="hidden" style="text-align:center; "/>
- <col ref="grde" visibility="hidden"/>
- <col ref="pensinsuamt" visibility="hidden"/>
- <col ref="updtresn" visibility="hidden"/>
- <col ref="updtdd" visibility="hidden"/>
- <col ref="adjtamt" visibility="hidden"/>
- <col ref="notipensinsuamt" visibility="hidden"/>
- <col ref="resngbn" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="monthno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_insert.disabled= false;
- btn_update.disabled=true;
- var cur_row = grd_newempllist.row;
- if ( cur_row > 0 ) {
- model.copyNode("/root/main/disadiffpayitem","/root/main/disadiffpayform/newempllist["+cur_row+"]");
- model.makeNode("/root/main/disadiffpayitem/workgbn");
- model.makeNode("/root/main/disadiffpayitem/notiym");
- model.setValue("/root/main/disadiffpayitem/notiym",ipt_notiym.value);
- model.setValue("/root/main/disadiffpayitem/workgbn","2");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_newempllist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:723px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_gvnoffcordfromdd" ref="/root/send/newemplsend/gvnoffcordfromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:75px; top:10px; width:90px; height:19px; "/>
- <caption id="cap_gvnoffcordfromdd" class="search_name" style="left:5px; top:11px; width:105px; height:17px; ">임용일 :</caption>
- <caption id="caption8" style="left:165px; top:10px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
- <input id="ipt_gvnoffcordtodd" ref="/root/send/newemplsend/gvnoffcordtodd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:187px; top:10px; width:90px; height:19px; "/>
- <line id="line5" class="line_4" style="x1:640px; y1:8px; x2:640px; y2:30px; "/>
- <button id="btn_emplsearch" class="btn1_letter2" style="left:655px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_gvnoffcordfromdd","ipt_gvnoffcordtodd"))return;
- submit("TRRPA01305");
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd_e" ref="/root/send/newemplsend/instcd" class="combo_s_essential" appearance="minimal" style="left:354px; top:10px; width:126px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption9" class="search_name" style="left:285px; top:10px; width:65px; height:17px; ">기 관 :</caption>
- <caption id="cap_gvnoffcordtodd" class="search_name" style="left:5px; top:11px; width:70px; height:17px; ">임용일 :</caption>
- <caption id="caption7" class="search_name" style="left:490px; top:10px; width:65px; height:17px; ">성 명 :</caption>
- <input id="input4" ref="/root/send/newemplsend/emplnm" imemode="hangul" style="left:555px; top:10px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_emplsearch", "DOMActivate");
- ]]>
- </script>
- </input>
- </case>
- </switch>
- <button id="button4" class="btn_sw" group="tab" style="left:544px; top:397px; width:80px; height:22px; ">
- <caption>신규임용자</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case2");
- btn_notisave.attribute("visibility")="hidden";
- btn_emplsave.attribute("visibility")="visible";
-
- misfGridInit(grd_newempllist);
- var curDate = getCurrentDate().toDate();
- ipt_gvnoffcordfromdd.value=curDate.getDateFormat('YYYYMM')+'01';
- ipt_gvnoffcordtodd.value=curDate.getDateFormat('YYYYMMDD');
- ]]>
- </script>
- </button>
- <button id="button6" class="btn_sw" group="tab" selected="true" style="left:466px; top:397px; width:75px; height:22px; ">
- <caption>원고지내역</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case1");
- btn_notisave.attribute("visibility")="visible";
- btn_emplsave.attribute("visibility")="hidden";
-
- var notiym = model.getValue("/root/send/searchlist/notiym");
- var rrgstno1 = model.getValue("/root/send/searchlist/rrgstno1");
- var rrgstno2 = model.getValue("/root/send/searchlist/rrgstno2");
- var preststatcd = model.getValue("/root/send/searchlist/preststatcd");
- var instcd = model.getValue("/root/send/searchlist/instcd");
- var emplnm = model.getValue("/root/send/searchlist/emplnm");
-
- model.setValue("/root/send/disadiffpayitem/notiym",notiym);
- model.setValue("/root/send/disadiffpayitem/rrgstno1",rrgstno1);
- model.setValue("/root/send/disadiffpayitem/rrgstno2",rrgstno2);
- model.setValue("/root/send/disadiffpayitem/preststatcd",preststatcd);
- model.setValue("/root/send/disadiffpayitem/instcd",instcd);
- model.setValue("/root/send/disadiffpayitem/emplnm",emplnm);
- model.setValue("/root/send/disadiffpayitem/deduexptyn","N");
-
- submit("TRRPA01304");
- ]]>
- </script>
- </button>
- <button id="btn_emplsave" class="btn2_letter4" style="left:1110px; top:398px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_newempllist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <button id="btn_notisave" class="btn2_letter4" style="left:1110px; top:398px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_insurancenstilist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <select id="ckb_deduexptyn" ref="/root/send/searchlist/deduexptyn" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" style="left:850px; top:45px; width:100px; height:15px; ">
- <choices>
- <itemset nodeset="/root/init/deduexptynlist">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select>
- <caption id="cap_rrgstno2_i" class="cell_1" style="left:0px; top:474px; width:95px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <input id="input5" ref="/root/main/disadiffpayitem/instnm" class="input_search" disabled="true" visibility="hidden" style="left:250px; top:395px; width:40px; height:19px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_cancnfm" class="btn4_letter4" visibility="hidden" style="left:929px; top:3px; width:80px; height:22px; ">
- <caption>확정취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym"))return;
-
- if (cmb_instcd.value == "017") {
- var retMes = messageBox("국민연금 확정을 취소 하시겠습니까?", "Q999");
- }
- else {
- var retMes = messageBox("국민연금 의료원확정을 취소 하시겠습니까?", "Q999");
- }
-
- if ( retMes != 6) {
- return;
- }
-
- var notiym=model.getValue("/root/send/searchlist/notiym");
- model.setValue("/root/send/doduynlist/notiym",notiym);
- model.setValue("/root/send/doduynlist/workgbn","D");
- model.setValue("/root/send/doduynlist/instcd",cmb_instcd.value);
-
- // model.makeValue("/root/send/report/togglegbn","D");
- submit("TRRPA03702");
- var instcnfmyn=model.getValue("/root/temp/instcnfmyn");
- var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
- /* if(instcnfmyn =='Y' ){
- messageBox("기관확정이 완료된 자료는 취소 ","E001");
- return;
- }
- if(medicnfmyn !='Y' ){
- messageBox("취소할 자료가 ","I004");
- return;
- }*/
-
- submit("TXRPA03704");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("작업이","I001");
- }
- ]]>
- </script>
- </button>
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="button5" class="btn4_letter2" style="left:1081px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("삭제 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
- var notiym=model.getValue("/root/main/disadiffpayitem/notiym");
- var seqno=model.getValue("/root/main/disadiffpayitem/seqno");
- var notigbn = model.getValue("/root/main/disadiffpayitem/notigbn");
-
- model.setValue("/root/send/doduynlist/seqno",seqno);
- model.setValue("/root/send/doduynlist/notiym",notiym);
- model.setValue("/root/send/doduynlist/notigbn",notigbn);
- model.setValue("/root/send/doduynlist/workgbn","1");
-
- submit("TRRPA03702");
- var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
- if(medicnfmyn =='Y'){
- if (cmb_instcd.value == "017") {
- messageBox("확정이 완료된 자료는 삭제 ","E001");
- }
- else {
- messageBox("의료원확정이 완료된 자료는 삭제 ","E001");
- }
- return;
- }
- misfGridIUD(grd_insurancensticorr,"D");
-
- misfSave("TXRPA03701");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_insurancensticorr);
- var retMes = messageBox("자료를 저장 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
-
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
- misfSave("TXRPA03701");
-
-
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1011px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_insurancensticorr);
-
- if (updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ipt_notiym_i.disabled=false;
- ipt_rrgstno1_i.disabled=false;
- ipt_rrgstno2_i.disabled=false;
- ipt_emplnm_i.disabled=false;
- ]]>
- </script>
- </button>
- <button id="button7" class="btn4_letter5" visibility="hidden" style="left:835px; top:3px; width:92px; height:22px; ">
- <caption>의료원확정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym"))return;
-
- if (cmb_instcd.value == "017") {
- var retMes = messageBox("국민연금 확정을 저장 하시겠습니까?", "Q999");
- }
- else {
- var retMes = messageBox("국민연금 의료원확정을 저장 하시겠습니까?", "Q999");
- }
-
- if ( retMes != 6) {
- return;
- }
-
- var notiym=model.getValue("/root/send/searchlist/notiym");
- model.setValue("/root/send/doduynlist/notiym",notiym);
- model.setValue("/root/send/doduynlist/workgbn","M");
- model.setValue("/root/send/doduynlist/instcd",cmb_instcd.value);
-
- submit("TRRPA03702");
- var doduyn=model.getValue("/root/temp/doduyn");
- var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
-
- if(doduyn !='Y'){
- messageBox("확정할 국민연금 자료가 ","I004");
- return;
- }
- if(medicnfmyn =='Y'){
- messageBox("해당월의 자료는 이미 확정 ","I001");
- return;
- }
-
- submit("TXRPA03702");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("작업이","I001");
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="btn4_letter4" visibility="hidden" style="left:929px; top:3px; width:80px; height:22px; ">
- <caption>확정취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym"))return;
-
- if (cmb_instcd.value == "017") {
- var retMes = messageBox("국민연금 확정을 취소 하시겠습니까?", "Q999");
- }
- else {
- var retMes = messageBox("국민연금 의료원확정을 취소 하시겠습니까?", "Q999");
- }
-
- if ( retMes != 6) {
- return;
- }
-
- var notiym=model.getValue("/root/send/searchlist/notiym");
- model.setValue("/root/send/doduynlist/notiym",notiym);
- model.setValue("/root/send/doduynlist/workgbn","D");
- model.setValue("/root/send/doduynlist/instcd",cmb_instcd.value);
-
- // model.makeValue("/root/send/report/togglegbn","D");
- submit("TRRPA03702");
- var instcnfmyn=model.getValue("/root/temp/instcnfmyn");
- var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
- /* if(instcnfmyn =='Y' ){
- messageBox("기관확정이 완료된 자료는 취소 ","E001");
- return;
- }
- if(medicnfmyn !='Y' ){
- messageBox("취소할 자료가 ","I004");
- return;
- }*/
-
- submit("TXRPA03702");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("작업이","I001");
- }
- ]]>
- </script>
- </button>
- <button id="btn_cnfm" class="btn4_letter2" visibility="hidden" style="left:871px; top:3px; width:56px; height:22px; ">
- <caption>확정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym"))return;
-
- if (cmb_instcd.value == "017") {
- var retMes = messageBox("국민연금 확정을 저장 하시겠습니까?", "Q999");
- }
- else {
- var retMes = messageBox("국민연금 의료원확정을 저장 하시겠습니까?", "Q999");
- }
-
- if ( retMes != 6) {
- return;
- }
-
- var notiym=model.getValue("/root/send/searchlist/notiym");
- model.setValue("/root/send/doduynlist/notiym",notiym);
- model.setValue("/root/send/doduynlist/workgbn","M");
- model.setValue("/root/send/doduynlist/instcd",cmb_instcd.value);
-
- submit("TRRPA03702");
- var doduyn=model.getValue("/root/temp/doduyn");
- var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
-
- if(doduyn !='Y'){
- messageBox("확정할 국민연금 자료가 ","I004");
- return;
- }
- if(medicnfmyn =='Y'){
- messageBox("해당월의 자료는 이미 확정 ","I001");
- return;
- }
-
- submit("TXRPA03704");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("작업이","I001");
- }
-
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_exceldetail" class="btn2_letter4" style="left:1130px; top:86px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_insurancensticorr.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|