123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767 |
- <?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>
- </disadiffpayform>
- <disadiffpayitem>
- <notigbnnm/>
- <notiym/>
- <seqno/>
- <instcd/>
- <emplnm/>
- <rrgstno/>
- <grde/>
- <pensinsuamt/>
- <updtresn/>
- <updtdd/>
- <monthno/>
- <notigbn/>
- <rrgstno1/>
- <rrgstno2/>
- <workgbn/>
- <resngbn/>
- <adjtamt/>
- <cmt/>
- <notipensinsuamt/>
- </disadiffpayitem>
- </main>
- <send>
- <searchlist>
- <notiym/>
- <instcd/>
- <rrgstno1/>
- <rrgstno2/>
- <emplnm/>
- <workgbn/>
- <preststatcd/>
- </searchlist>
- <disadiffpayitem>
- <rrgstno1/>
- <rrgstno2/>
- <emplnm/>
- <notiym/>
- <instcd/>
- <workgbn/>
- </disadiffpayitem>
- <savelist>
- <insurancensticorr/>
- </savelist>
- <doduynlist>
- <notiym/>
- <seqno/>
- <workgbn/>
- <notigbn/>
- </doduynlist>
- </send>
- <temp>
- <medimodiseqnoyn/>
- <medicnfmyn/>
- <instcnfmyn/>
- <doduyn/>
- </temp>
- <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);
- misfMsterDetailSet(grd_insurancensticorr, null, "TRRPA03701" ,"Y");
- rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
- misfComboComCdList('R0178', cmb_resngbn);
- misfComboComCdList('R0146', cmb_preststatcd,'Y');
- 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="TXRPA03703" 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/main/disadiffpayitem" resultref="/root/main/disadiffpayform/insurancenstilist"/>
- </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();
- 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 = true;
- 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:509px; x2:460px; y2:509px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:581px; x2:460px; y2:581px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:533px; x2:460px; y2:533px; "/>
- <line id="line26" class="line_3" style="x1:0px; y1:678px; x2:460px; y2:678px; "/>
- <line id="line14" class="line_2" style="x1:0px; y1:629px; x2:460px; y2:629px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:557px; x2:460px; y2:557px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:605px; x2:460px; y2:605px; "/>
- <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","3");
- 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:482px; x2:460px; y2:482px; "/>
- <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:5px; top:467px; width:139px; height:13px; ">당월고지금액</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:631px; width:100px; height:23px; vertical-align:middle; ">조정금액</caption>
- <caption id="cap_updtresn" class="cell_1" style="left:0px; top:607px; width:100px; height:23px; vertical-align:middle; ">변동사유</caption>
- <select1 id="cmb_instcd_i" ref="/root/main/disadiffpayitem/instcd" class="combo_s_essential" appearance="minimal" style="left:103px; top:513px; width:215px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_notiym_i" class="cell_1" style="left:0px; top:487px; width:100px; height:23px; vertical-align:middle; ">고지년월</caption>
- <caption id="caption23" class="cell_1" style="left:230px; top:607px; width:100px; height:23px; vertical-align:middle; ">연금보험료</caption>
- <caption id="cap_seqno" class="cell_1" style="left:230px; top:487px; width:100px; height:23px; vertical-align:middle; ">성 명</caption>
- <caption id="caption30" class="cell_1" style="left:0px; top:511px; width:100px; height:23px; vertical-align:middle; ">기 관</caption>
- <line id="line25" class="line_1" style="x1:465px; y1:482px; x2:1195px; y2:482px; "/>
- <input id="ipt_monthno" ref="/root/main/disadiffpayitem/monthno" class="input_search" maxlength="9" format="#,###" style="left:103px; top:584px; width:124px; height:19px; text-align:right; "/>
- <caption id="caption33" class="cell_1" style="left:230px; top:583px; width:100px; height:23px; vertical-align:middle; ">변동일자</caption>
- <caption id="cap_emplnm" class="cell_1" style="left:0px; top:559px; width:100px; height:23px; vertical-align:middle; ">등 급</caption>
- <caption id="cap_resngbn" class="cell_1" style="left:230px; top:559px; width:100px; height:23px; vertical-align:middle; ">정정사유</caption>
- <input id="ipt_notiym_i" ref="/root/main/disadiffpayitem/notiym" class="input_s_essential" disabled="true" inputtype="date" format="yyyy-mm" style="left:103px; top:489px; width:103px; height:19px; "/>
- <input id="ipt_jobgrad" ref="/root/main/disadiffpayitem/notigbn" class="input_search" disabled="true" visibility="hidden" style="left:205px; top:455px; width:50px; height:19px; "/>
- <input id="ipt_jobpos" ref="/root/main/disadiffpayitem/grde" class="input_search" disabled="true" style="left:103px; top:560px; width:124px; height:19px; "/>
- <input id="ipt_emplnm_i" ref="/root/main/disadiffpayitem/emplnm" class="input_s_essential" imemode="hangul" maxlength="30" style="left:333px; top:489px; 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:170px; top:455px; width:25px; height:19px; "/>
- <input id="ipt_updtresn" ref="/root/main/disadiffpayitem/updtresn" class="input_search" maxlength="30" style="left:103px; top:609px; width:124px; height:19px; text-align:right; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:583px; width:100px; height:23px; vertical-align:middle; ">월 수</caption>
- <input id="ipt_rrgstno1_i" ref="/root/main/disadiffpayitem/rrgstno1" class="input_s_essential" maxlength="6" style="left:103px; top:537px; width:103px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_rrgstno", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_rrgstno1" class="cell_1" style="left:0px; top:535px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <input id="ipt_rrgstno2_i" ref="/root/main/disadiffpayitem/rrgstno2" class="input_s_essential" maxlength="7" style="left:230px; top:537px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_rrgstno", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption309" style="left:209px; top:538px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
- <caption id="caption15" class="tit_2" style="left:470px; top:467px; width:214px; height:14px; ">의료원확정 국민연금 내역 리스트</caption>
- <select1 id="cmb_resngbn" ref="/root/main/disadiffpayitem/resngbn" class="combo_s_essential" appearance="minimal" style="left:333px; top:560px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <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:333px; top:584px; 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:333px; top:608px; width:125px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ftotPenPayAmt();
- ]]>
- </script>
- </input>
- <caption id="caption45" class="cell_1" style="left:230px; top:631px; width:100px; height:23px; vertical-align:middle; ">당월보험료</caption>
- <button id="btn_update" class="btn2_letter2" navindex="13" style="left:362px; top:461px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym_i","cmb_instcd_i","cmb_resngbn","ipt_seqno","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");
- 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","3");
- submit("TRRPA03702");
- var seqnoyn=model.getValue("/root/temp/seqnoyn");
- var instyn=model.getValue("/root/temp/instyn");
- if(instyn =='Y'){
- messageBox("기관확정이 완료된 고지월은 정정 ","E001");
- return;
- }
- if(seqnoyn =='Y'){
- messageBox("입력한 사원의 자료가 ","E006");
- 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:407px; top:461px; 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;
- model.refresh();
- var notiym=model.getValue("/root/send/searchlist/notiym");
- ipt_notiym_i.value=notiym;
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter6" navindex="12" style="left:273px; top:461px; width:86px; height:19px; ">
- <caption>정정내역추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym_i","cmb_instcd_i","cmb_resngbn","ipt_seqno","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");
- 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","3");
- submit("TRRPA03702");
- var instmodiseqnoyn=model.getValue("/root/temp/instmodiseqnoyn");
- var instcnfmyn=model.getValue("/root/temp/instcnfmyn");
- if(instcnfmyn =='Y'){
- messageBox("기관확정이 완료된 고지월은 정정 ","E001");
- return;
- }
- if(instmodiseqnoyn =='Y'){
- messageBox("입력한 사원의 자료가 ","E006");
- return;
- }
-
- grd_insurancensticorr.addrow(); // 입력할 행 추가.
- var cur_row = grd_insurancensticorr.row; // 추가된 행 번호 가져오기
-
- 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:440px; top:490px; 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:333px; top:538px; 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:330px; top:320px; 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:1195px; height:371px; 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();
- }
- var notiym = model.getValue("/root/main/disadiffpayform/insurancensticorr["+cur_row+"]/notiym");
- var rrgstno = model.getValue("/root/main/disadiffpayform/insurancensticorr["+cur_row+"]/rrgstno");
- var rrgstno1 = rrgstno.substr(0,6);
- var rrgstno2 = rrgstno.substr(6,7);
- 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/workgbn","3");
- submit("TRRPA01304");
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_insurancenstilist" nodeset="/root/main/disadiffpayform/insurancenstilist" caption="고지구분^고지년월^일련번호^기관^성명^주민등록번호^근무상태^퇴직일자^등급^연금보험료^조정금액^당월고지금액^정정사유^변동사유^변동일자^월수^비고" colwidth="18, 14, 12, 137, 74, 104, 75, 70, 48, 78, 64, 83, 64, 63, 70, 41, 131, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:465px; top:487px; width:730px; height:243px; 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" 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="onclick">
- <![CDATA[
- btn_insert.disabled= false;
- btn_update.disabled=true;
- var cur_row = grd_insurancenstilist.row;
- if ( cur_row > 0 ) {
- ipt_notiym_i.disabled=true;
- ipt_rrgstno1_i.disabled=true;
- ipt_rrgstno2_i.disabled=true;
- ipt_emplnm_i.disabled=true;
- model.copyNode("/root/main/disadiffpayitem","/root/main/disadiffpayform/insurancenstilist["+cur_row+"]");
- model.makeNode("/root/main/disadiffpayitem/workgbn");
- model.setValue("/root/main/disadiffpayitem/workgbn","3");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_insurancenstilist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="icon_search" visibility="hidden" style="left:333px; top:514px; 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:205px; top:455px; width:40px; height:19px; "/>
- <input id="ipt_workgbn" ref="/root/main/disadiffpayitem/workgbn" class="input_s_essential" disabled="true" visibility="hidden" style="left:505px; top:580px; width:65px; height:19px; text-align:right; "/>
- <input id="input5" ref="/root/main/disadiffpayitem/notigbn" class="input_search" disabled="true" visibility="hidden" style="left:600px; top:580px; width:120px; height:19px; "/>
- <input id="input6" ref="/root/main/disadiffpayitem/rrgstno" class="input_search" visibility="hidden" maxlength="6" style="left:750px; top:580px; width:91px; 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:209px; top:490px; 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:103px; top:633px; 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:655px; width:100px; height:23px; vertical-align:middle; ">비 고</caption>
- <input id="ipt_cmt" ref="/root/main/disadiffpayitem/cmt" class="input_search" maxlength="100" style="left:103px; top:658px; width:355px; height:19px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:653px; x2:460px; y2:653px; "/>
- <input id="ipt_notipensinsuamt" ref="/root/main/disadiffpayitem/notipensinsuamt" class="input_s_essential" disabled="true" maxlength="9" format="(-)#,###" style="left:333px; top:633px; 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>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="button3" class="btn4_letter4" style="left:847px; top:3px; width:80px; height:22px; ">
- <caption>기관확정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_notiym"))return;
- 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","I");
- submit("TRRPA03702");
- var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
- var instcnfmyn=model.getValue("/root/temp/instcnfmyn");
- if(medicnfmyn !='Y'){
- messageBox("확정할 국민연금 자료가 ","I004");
- return;
- }
- if(instcnfmyn =='Y'){
- messageBox("해당월의 자료는 이미 확정 ","I001");
- return;
- }
- submit("TXRPA03703");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("작업이","I001");
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter4" style="left:929px; top:3px; width:80px; height:22px; ">
- <caption>확정취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(!isRequiredControls("ipt_notiym"))return;
- var retMes = messageBox("기관확정을 취소 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
- var notiym=model.getValue("/root/send/searchlist/notiym");
- model.setValue("/root/send/doduynlist/notiym",notiym);
- model.makeValue("/root/send/doduynlist/workgbn","D");
- // model.makeValue("/root/send/report/togglegbn","D");
- submit("TRRPA03702");
- var instcnfmyn=model.getValue("/root/temp/instcnfmyn");
- var payrefltyn=model.getValue("/root/temp/payrefltyn");
- if(payrefltyn =='Y' ){
- messageBox("급여반영이 완료된 자료는 취소 ","E001");
- return;
- }
- if(instcnfmyn !='Y' ){
- messageBox("취소할 자료가 ","I004");
- return;
- }
- submit("TXRPA03703");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- messageBox("작업이","I001");
- }
- ]]>
- </script>
- </button>
- <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 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","3");
- submit("TRRPA03702");
- var instmodiseqnoyn=model.getValue("/root/temp/instmodiseqnoyn");
- var instcnfmyn=model.getValue("/root/temp/instcnfmyn");
- if(instcnfmyn =='Y'){
- messageBox("기관확정이 완료된 고지월은 정정 ","E001");
- return;
- }
- misfGridIUD(grd_insurancensticorr,"D");
- model.resetInstanceNode("/root/main/disadiffpayitem");
- 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 retMes = messageBox("저장 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
- var updtdata = getGridUpdateData(grd_insurancensticorr);
- var notiym=model.getValue("/root/send/searchlist/notiym");
- model.setValue("/root/send/doduynlist/notiym",notiym);
- model.makeValue("/root/send/doduynlist/workgbn","D");
- // model.makeValue("/root/send/report/togglegbn","D");
- submit("TRRPA03702");
- /* var payrefltyn=model.getValue("/root/temp/payrefltyn");
- if(payrefltyn =='Y' ){
- messageBox("급여반영이 완료된 자료는 저장 ","E001");
- 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>
- </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>
|