123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>퇴직 정산기초자료확인 및 수정</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <ponyemplform>
- <yyendcalcmanbaselist>
- <emplno/>
- <calcyy/>
- <calcseq/>
- <emplnm/>
- <retireyn/>
- <calcinst/>
- <grupjoblncd/>
- <deptcd/>
- <jobposcd/>
- <jobgradcd/>
- <payclscd/>
- <rregno/>
- <addr/>
- <fromdd/>
- <todd/>
- <actndeptqualyn/>
- <workym/>
- <ionatiflag/>
- <calckind/>
- <residncflag/>
- <residncnati/>
- <ptneryn/>
- <supppsnno20/>
- <supppsnno60/>
- <basededusurp1/>
- <remincmyn/>
- <bfdutplceincmyn/>
- <maryfmlyn/>
- <rptagrfrom65to69agecnt/>
- <rptagr70agemorthncnt/>
- <handicaprcnt/>
- <brngupchldrncnt/>
- <entcodd/>
- <retiredd/>
- <taxpaynatinm/>
- <paydd/>
- <appdocprstdd/>
- <outnatidutplce/>
- <dutterm/>
- <conlabdnodd/>
- <reducttermenddd/>
- <acptdd/>
- <prstdd/>
- <uniqtaxrateprstflag/>
- <taxrate/>
- <prntseq/>
- <rcptprntseq/>
- <rregno2/>
- <grupjoblnnm/>
- <deptnm/>
- <jobposnm/>
- <jobgradnm/>
- <payclsnm/>
- <workgbn/>
- <brthcnt/>
- </yyendcalcmanbaselist>
- </ponyemplform>
- <yyendcalcmanapp>
- <ponydetaillist>
- <calcitemnm/>
- <calcflagnm/>
- <calcbaseamt/>
- <calcbaseadjamt/>
- <calcflagcd/>
- <calcitemcd/>
- <calcseq/>
- <emplno/>
- <calcyy/>
- <calcflag/>
- </ponydetaillist>
- </yyendcalcmanapp>
- <yyendcalcmanbaseitem>
- <workym/>
- <retireyn/>
- <fromdd/>
- <todd/>
- <appdocprstdd/>
- <ptneryn/>
- <supppsnno20/>
- <supppsnno60/>
- <maryfmlyn/>
- <rptagrfrom65to69agecnt/>
- <rptagr70agemorthncnt/>
- <handicaprcnt/>
- <brngupchldrncnt/>
- <addr/>
- <grupjoblnnm/>
- <jobposnm/>
- <jobgradnm/>
- <payclsnm/>
- <ionatiflag/>
- <residncflag/>
- <entcodd/>
- <retiredd/>
- <actndeptqualyn/>
- <emplno/>
- <emplnm/>
- <brthcnt/>
- </yyendcalcmanbaseitem>
- </main>
- <send>
- <searchlist>
- <calcyy/>
- <instcd/>
- <dutplcedeptcd/>
- <actndeptqualyn/>
- <workym/>
- <retireyn/>
- <emplno/>
- <dutplcedeptnm/>
- <emplnm/>
- </searchlist>
- <ponyemplform>
- <emplno/>
- <calcyy/>
- <calcseq/>
- <workgbn/>
- <calcinst/>
- </ponyemplform>
- <savelist>
- <yyendcalcmanbaselist/>
- <ponydetaillist/>
- </savelist>
- </send>
- <init>
- <radio1>
- <label>전체</label>
- <value/>
- <label>미확인</label>
- <value>N</value>
- <label>확인</label>
- <value>Y</value>
- </radio1>
- <radio2>
- <label>전체</label>
- <value/>
- <label>연말정산</label>
- <value>N</value>
- <label>중도퇴직</label>
- <value>Y</value>
- </radio2>
- <combo3>
- <label>연말정산</label>
- <value>N</value>
- <label>중도퇴직</label>
- <value>Y</value>
- </combo3>
- <radio4>
- <label>유</label>
- <value>Y</value>
- <label>무</label>
- <value>N</value>
- </radio4>
- <checkbox1>
- <label>경리부확인여부</label>
- <value>Y</value>
- </checkbox1>
- <combo1>
- <label>거주자</label>
- <value>Y</value>
- <label>미거주자</label>
- <value>N</value>
- </combo1>
- <combo2>
- <label>내국인</label>
- <value>1</value>
- <label>외국인</label>
- <value>0</value>
- </combo2>
- </init>
- <temp>
- <errflag/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- /* Grid 초기화 */
- misfGridInit(grd_yyendcalcmanbaselist);
- misfGridInit(grd_ponydetaillist);
- /* Grid의 Mater, Detail관계 설정
- misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
- misfMsterDetailSet(grd_yyendcalcmanbaselist, null, "TRRWY00401" ,"Y");
- misfMsterDetailSet(grd_ponydetaillist, grd_yyendcalcmanbaselist, "TRRWY00402" ,"Y");
- btn_save.disabled = !(checkAuth("X"));
- //misfMsterDetailSet(grd_clubempllist,grd_clubcodelist, "TRRPA00401","N" );
- // 공통코드 바인딩 silver
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- var instcd = getUserInfo("dutplceinstcd");
- cmb_instcd.value=instcd;
- model.setValue(rdo_retireyn_s.attribute("ref"), "Y");
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
-
- model.refresh();
- ]]>
- </script>
- <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" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/ponyemplform/yyendcalcmanbaselist");
- model.removeNodeset("/root/main/yyendcalcmanapp/ponydetaillist");
- model.resetInstanceNode("/root/main/yyendcalcmanbaseitem");
- model.resetInstanceNode("/root/send");
- model.refresh();
- var getday = getCurrentDate();
- ipt_calcyy.value = getday.substring(0,4);
- ipt_workym_s.value = getday.substring(0,6)-1;
- var instcd = getUserInfo("dutplceinstcd");
- cmb_instcd.value=instcd;
- }
-
- function fEnableInsertButton() {
- btn_insert.disabled = false;
- //btn_delete.disabled = true;
-
- }
- function fEnableUpdateButton() {
- btn_insert.disabled = true;
- //btn_delete.disabled = false;
-
- }
- ]]>
- </script>
- <submission id="TRRWY00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/ponyemplform"/>
- <submission id="TRRWY00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ponyemplform" resultref="/root/main/yyendcalcmanapp"/>
- <submission id="TXRWY00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
- <submission id="TXRWY00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body>
- <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:744px; ">
- <line id="line7" class="line_2" style="x1:0px; y1:192px; x2:1195; y2:192px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:168px; x2:1195px; y2:168px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:144px; x2:1195; y2:144px; text-align:center; "/>
- <line id="line21" class="line_2" style="x1:0px; y1:217px; x2:1195; y2:217px; text-align:center; "/>
- <line id="line32" class="line_2" style="x1:0px; y1:120px; x2:1195; y2:120px; text-align:center; "/>
- <line id="line31" class="line_3" style="x1:0px; y1:241px; x2:1195; y2:241px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_calcyy","ipt_workym_s","cmb_instcd"))return;
- model.setValue("/root/send/ponyemplform/workgbn","S");
- misfMsterDetailRetrieve();
- grd_ponydetaillist.mergecol(2) = false;
- grd_ponydetaillist.mergecol(3) = false;
- grd_ponydetaillist.mergecol(4) = false;
- grd_ponydetaillist.mergecells = "bycol";
- ]]>
- </script>
- </button>
- <caption id="cap_retireyn_s" class="search_name" visibility="hidden" style="left:810px; top:45px; width:86px; height:17px; ">정산분류 :</caption>
- <caption id="cap_workym_s" class="search_name" style="left:15px; top:45; width:86px; height:17px; ">정산년월 :</caption>
- <caption id="cap_calcyy" class="search_name" style="left:15px; top:19; width:86px; height:17px; ">정산년도 :</caption>
- <caption id="caption3" class="search_name" style="left:503px; top:19; width:99px; height:17px; ">근무부서 :</caption>
- <caption id="caption4" class="search_name" style="left:212px; top:45px; width:86px; height:17px; ">사원번호 :</caption>
- <select1 id="rdo_retireyn_s" ref="/root/send/searchlist/retireyn" visibility="hidden" appearance="full" cellspacing="12" cols="3" overflow="visible" sep="|" style="left:899px; top:45px; width:200px; height:20px; text-align:left; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/radio2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <line id="line3" class="line_4" style="x1:1107px; y1:20px; x2:1107px; y2:63px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line4" class="line_1" style="x1:0px; y1:268px; x2:550px; y2:269px; "/>
- <input id="ipt_calcyy" ref="/root/send/searchlist/calcyy" class="input_default" inputtype="date" format="yyyy" style="left:102px; top:18; width:100px; height:19px; "/>
- <input id="ipt_workym_s" ref="/root/send/searchlist/workym" class="input_default" inputtype="date" format="yyyy-mm" style="left:102px; top:44; width:100px; height:19px; "/>
- <datagrid id="grd_yyendcalcmanbaselist" nodeset="/root/main/ponyemplform/yyendcalcmanbaselist" caption="정산차수^사원번호^성명^주민번호^부서^중도퇴직여부^주소^입사일자^퇴사일자^거주구분^내/외국인^정산년도^정산기관^부서코드^직군^직위코드^직급코드^호봉코드^귀속년도시작일^귀속년도종료일^경리과확인여부^작업년월^정산분류^거주지국^배우자여부^부양자수^부양자수(60세이상)^기본공제여분1^기타소득유무^전근무지소득유무^부녀자여부^경로자수(65~69세)^경로자수(70세이상)^장애인수^자녀양육수(6세이하)^납세국명^납부일^신청서제출일^국외근무처^근무기간^계약또는근로제공일^감면기간만료일^접수일^제출일^단일세율제출여부^세율^징수부순번^영수증순번" colsep="^" colwidth="56, 71, 79, 99, 110, 93, 89, 89, 63, 73, 86, 100, 123, 61, 214, 214, 214, 123, 184, 123, 123, 123, 153, 123, 276, 199, 184, 245, 153, 260, 276, 123, 291, 123, 123, 123, 92, 184, 153, 123, 276, 214, 92, 92, 245, 61, 153, 153, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:272px; width:550px; height:462px; ">
- <col ref="calcseq" style="text-align:center; "/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="rregno2" style="text-align:center; "/>
- <col ref="deptnm"/>
- <col checkvalue="Y,N" ref="retireyn" type="checkbox"/>
- <col ref="addr" visibility="hidden"/>
- <col ref="entcodd" visibility="hidden"/>
- <col ref="retiredd" visibility="hidden"/>
- <col ref="residncflag" visibility="hidden"/>
- <col ref="ionatiflag" visibility="hidden"/>
- <col ref="calcyy" visibility="hidden"/>
- <col ref="calcinst" visibility="hidden"/>
- <col ref="jobposcd" visibility="hidden"/>
- <col ref="grupjoblncd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="jobgradcd" visibility="hidden"/>
- <col ref="payclscd" visibility="hidden"/>
- <col ref="fromdd" visibility="hidden"/>
- <col ref="todd" visibility="hidden"/>
- <col ref="actndeptqualyn" visibility="hidden"/>
- <col ref="workym" visibility="hidden"/>
- <col ref="calckind" visibility="hidden"/>
- <col ref="residncnati" visibility="hidden"/>
- <col ref="ptneryn" visibility="hidden"/>
- <col ref="supppsnno20" visibility="hidden"/>
- <col ref="supppsnno60" visibility="hidden"/>
- <col ref="basededusurp1" visibility="hidden"/>
- <col ref="remincmyn" visibility="hidden"/>
- <col ref="bfdutplceincmyn" visibility="hidden"/>
- <col ref="maryfmlyn" visibility="hidden"/>
- <col ref="rptagrfrom65to69agecnt" visibility="hidden"/>
- <col ref="rptagr70agemorthncnt" visibility="hidden"/>
- <col ref="handicaprcnt" visibility="hidden"/>
- <col ref="brngupchldrncnt" visibility="hidden"/>
- <col ref="taxpaynatinm" visibility="hidden"/>
- <col ref="paydd" visibility="hidden"/>
- <col ref="appdocprstdd" visibility="hidden"/>
- <col ref="outnatidutplce" visibility="hidden"/>
- <col ref="dutterm" visibility="hidden"/>
- <col ref="conlabdnodd" visibility="hidden"/>
- <col ref="reducttermenddd" visibility="hidden"/>
- <col ref="acptdd" visibility="hidden"/>
- <col ref="prstdd" visibility="hidden"/>
- <col ref="uniqtaxrateprstflag" visibility="hidden"/>
- <col ref="taxrate" visibility="hidden"/>
- <col ref="prntseq" visibility="hidden"/>
- <col ref="rcptprntseq" visibility="hidden"/>
- <col ref="rregno" visibility="hidden"/>
- <col ref="jobposnm" visibility="hidden"/>
- <col ref="grupjoblnnm" visibility="hidden"/>
- <col ref="deptnm" visibility="hidden"/>
- <col ref="jobgradnm" visibility="hidden"/>
- <col ref="payclsnm" visibility="hidden"/>
- <col ref="workgbn" visibility="hidden"/>
- <col ref="brthcnt" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- var cur_row = grd_yyendcalcmanbaselist.row;
- if ( cur_row > 0 ) {
- model.copyNode("/root/main/yyendcalcmanbaseitem","/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_yyendcalcmanbaselist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" appearance="minimal" style="left:301px; top:18; width:179px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <input id="ipt_dutdeptnm" ref="/root/send/searchlist/dutplcedeptnm" class="input_search" disabled="true" navindex="3" style="left:685px; top:18; width:115px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutplcedeptcd,dutdeptnm_s" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_dutdeptcd" ref="/root/send/searchlist/dutplcedeptcd" class="input_search" navindex="2" style="left:590px; top:18; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutplcedeptcd,dutplcedeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_instcd" class="search_name" style="left:212px; top:19; width:85px; height:17px; ">기 관 :</caption>
- <caption id="caption34" class="search_name" style="left:806px; top:19; width:86px; height:17px; ">확인상태 :</caption>
- <select1 id="radio3" ref="/root/send/searchlist/actndeptqualyn" appearance="full" cellspacing="12" cols="3" overflow="visible" sep="|" style="left:896px; top:19px; width:200px; height:20px; text-align:left; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/radio1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select id="ipt_actndeptqualyn" ref="/root/main/yyendcalcmanbaseitem/actndeptqualyn" disabled="true" overflow="visible" appearance="full" style="left:351px; top:247px; width:109px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/checkbox1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select>
- <button id="btn_dutdept" class="icon_search" style="left:665px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "dutplcedeptcd,dutplcedeptnm";
- misfOpenPopUpList("02", ipt_dutdeptcd,"",recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption18" class="tit_2" style="left:5px; top:251px; width:157px; height:13px; ">사원정보</caption>
- <datagrid id="grd_ponydetaillist" nodeset="/root/main/yyendcalcmanapp/ponydetaillist" caption="정산항목^정산구분^정산기초금액^정산기초조종금액^정산구분코드^정산구분^정산차수^사원번호^정산년도" colsep="^" colwidth="135, 227, 111, 120, 100, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:555px; top:272px; width:640px; height:462px; ">
- <col ref="calcitemnm" style="text-align:center; "/>
- <col ref="calcflagnm"/>
- <col ref="calcbaseamt" type="output" format="(-)#,###" maxlength="12" style="text-align:right; padding-right:5; "/>
- <col ref="calcbaseadjamt" type="output" format="(-)#,###" maxlength="12" style="text-align:right; padding-right:5; "/>
- <col ref="calcflagcd" visibility="hidden"/>
- <col ref="calcitemcd" visibility="hidden"/>
- <col ref="calcseq" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="calcyy" visibility="hidden"/>
- <col ref="calcflag" visibility="hidden"/>
- </datagrid>
- <line id="line6" class="line_1" style="x1:555px; y1:268px; x2:1195px; y2:269px; "/>
- <caption id="caption8" class="tit_2" style="left:560px; top:251px; width:157px; height:13px; ">정산세부내역</caption>
- <button id="btn_insert" class="btn2_letter4" visibility="hidden" style="left:1064px; top:246px; width:64px; height:19px; ">
- <caption>자료입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_calcyy"))return;
- var updtdata = getGridUpdateData(grd_ponydetaillist);
- var befor_row = grd_ponydetaillist.rows;
- if(befor_row >1){
- messageBox("자료를 입력","E001");
- return;
- }
- if (updtdata != "") {
- messageBox("작업 중인 내용이 있습니다. 저장후","C001");
- return;
- }
-
- var cur_row=grd_yyendcalcmanbaselist.row;
- var calcyy=model.getValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/calcyy");
- var emplno=model.getValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/emplno");
- var calcseq=model.getValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/calcseq");
- //model.makeNode("/root/send/ponyemplform/workgbn");
- model.setValue("/root/send/ponyemplform/workgbn","I");
- model.setValue("/root/send/ponyemplform/calcyy",calcyy);
- model.setValue("/root/send/ponyemplform/emplno",emplno);
- model.setValue("/root/send/ponyemplform/calcseq",calcseq);
- submit("TRRWY00402");
- model.refresh();
- grd_ponydetaillist.mergecol(2) = false;
- grd_ponydetaillist.mergecol(3) = false;
- grd_ponydetaillist.mergecol(4) = false;
- grd_ponydetaillist.mergecells = "bycol";
-
- var rowcnt = grd_ponydetaillist.rows;
- for( var i = 1 ; i< rowcnt ; i++)
- {
- grd_ponydetaillist.addStatus(i,"insert");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" class="input_search" navindex="21" style="left:395px; top:44px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
- inputEnterKey("ipt_emplnm", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("EMPLNM", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplno" ref="/root/send/searchlist/emplno" class="input_search" navindex="20" style="left:300px; top:44px; width:69px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
- inputEnterKey("ipt_emplno", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplsearch" class="icon_search" style="left:375px; top:45px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
- model.refresh();
-
- if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_exceldetail" class="btn2_letter4" style="left:1130px; top:246px; 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_ponydetaillist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <button id="btn_excelmaster" class="btn2_letter4" style="left:486px; top:246px; 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_yyendcalcmanbaselist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_handicaprcnt" ref="/root/main/yyendcalcmanbaseitem/handicaprcnt" class="input_search" inputtype="2" format="#,###" style="left:351px; top:220px; width:117px; height:19px; text-align:right; "/>
- <select1 id="rdo_ptneryn" ref="/root/main/yyendcalcmanbaseitem/ptneryn" appearance="full" cellspacing="10" cols="2" overflow="visible" sep="|" style="left:351px; top:174px; width:122px; height:15px; text-align:left; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/radio4">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption50" class="cell_1" style="left:0px; top:146px; width:75px; height:23px; text-align:center; vertical-align:middle; ">작업년월</caption>
- <select1 id="rdo_maryfmlyn" ref="/root/main/yyendcalcmanbaseitem/maryfmlyn" appearance="full" cellspacing="10" cols="2" overflow="visible" sep="|" style="left:351px; top:196px; width:112px; height:20px; text-align:left; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/radio4">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption40" class="cell_1" style="left:234px; top:219px; width:115px; height:23px; text-align:center; ">장애인수</caption>
- <caption id="caption30" class="cell_1" style="left:0px; top:122px; width:75px; height:23px; text-align:center; vertical-align:middle; ">직 급/호 봉</caption>
- <caption id="caption41" class="cell_1" style="left:234px; top:194px; width:115px; height:23px; text-align:center; ">부녀자유무</caption>
- <line id="line22" class="line_1" style="x1:0px; y1:93px; x2:1195; y2:93px; "/>
- <caption id="caption42" class="cell_1" style="left:470px; top:219px; width:115px; height:23px; text-align:center; ">자녀양육(6세이하)</caption>
- <input id="ipt_rptagrfrom65to69agecnt" ref="/root/main/yyendcalcmanbaseitem/rptagrfrom65to69agecnt" class="input_search" maxlength="2" format="#,###" style="left:587px; top:195px; width:122px; height:19px; text-align:right; "/>
- <caption id="caption53" class="search_n_b" style="left:956px; top:149px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_supppsnno60" ref="/root/main/yyendcalcmanbaseitem/supppsnno60" class="input_search" maxlength="2" format="#,###" style="left:587px; top:172px; width:122px; height:19px; text-align:right; "/>
- <caption id="caption43" class="cell_1" style="left:711px; top:146px; width:115px; height:23px; text-align:center; vertical-align:middle; ">귀속년월일</caption>
- <input id="ipt_brngupchldrncnt" ref="/root/main/yyendcalcmanbaseitem/brngupchldrncnt" class="input_search" maxlength="2" format="#,###" style="left:587px; top:220px; width:122px; height:19px; text-align:right; "/>
- <caption id="caption54" class="cell_1" style="left:470px; top:146px; width:115px; height:23px; text-align:center; vertical-align:middle; ">정산분류</caption>
- <input id="ipt_supppsnno20" ref="/root/main/yyendcalcmanbaseitem/supppsnno20" class="input_search" maxlength="2" format="#,###" style="left:829px; top:172px; width:122px; height:19px; text-align:right; "/>
- <select1 id="cmb_ionatiflag" ref="/root/main/yyendcalcmanbaseitem/ionatiflag" class="combo_search" disabled="true" appearance="minimal" style="left:1070px; top:123px; width:122px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combo2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption44" class="cell_1" style="left:711px; top:194px; width:115px; height:23px; text-align:center; vertical-align:middle; ">경로자(70세이상)</caption>
- <input id="ipt_rptagr70agemorthncnt" ref="/root/main/yyendcalcmanbaseitem/rptagr70agemorthncnt" class="input_search" maxlength="2" format="#,###" style="left:829px; top:195px; width:122px; height:19px; text-align:right; "/>
- <caption id="caption55" class="cell_1" style="left:470px; top:170px; width:115px; height:23px; text-align:center; ">부양자수(60세이상)</caption>
- <select1 id="cmb_residncflag" ref="/root/main/yyendcalcmanbaseitem/residncflag" class="combo_search" disabled="true" appearance="minimal" style="left:829px; top:124px; width:122px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combo1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption23" class="cell_1" style="left:234px; top:122px; width:115px; height:23px; text-align:center; vertical-align:middle; ">주 소</caption>
- <input id="ipt_grupjoblnnm" ref="/root/main/yyendcalcmanbaseitem/grupjoblnnm" class="input_search" disabled="true" style="left:351px; top:99px; width:117px; height:19px; text-align:right; "/>
- <caption id="caption45" class="cell_1" style="left:470px; top:194px; width:115px; height:23px; text-align:center; ">경로자(65세~69세)</caption>
- <caption id="caption56" class="cell_1" style="left:711px; top:170px; width:115px; height:23px; text-align:center; ">부양자수(20세이하)</caption>
- <input id="ipt_entcodd" ref="/root/main/yyendcalcmanbaseitem/entcodd" class="input_search" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:829px; top:99px; width:122px; height:19px; "/>
- <caption id="caption46" class="tit_2" style="left:5px; top:79px; width:157px; height:14px; ">퇴직정산기초자료</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:170px; width:233px; height:23px; text-align:center; vertical-align:middle; ">기본공제</caption>
- <input id="ipt_retiredd" ref="/root/main/yyendcalcmanbaseitem/retiredd" class="input_search" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:1070px; top:99px; width:122px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:711px; top:98px; width:115px; height:23px; text-align:center; ">입사일자</caption>
- <caption id="caption47" class="cell_1" style="left:234px; top:170px; width:115px; height:23px; text-align:center; ">배우자유무</caption>
- <input id="ipt_fromdd" ref="/root/main/yyendcalcmanbaseitem/fromdd" class="input_search" disabled="false" navindex="30" inputtype="date" style="left:829px; top:147px; width:122px; height:19px; "/>
- <input id="ipt_payclsnm" ref="/root/main/yyendcalcmanbaseitem/payclsnm" class="input_search" disabled="true" style="left:162px; top:124px; width:70px; height:19px; text-align:right; "/>
- <caption id="caption26" class="cell_1" style="left:953px; top:98px; width:115px; height:23px; text-align:center; ">퇴사일자</caption>
- <input id="input1" ref="/root/main/yyendcalcmanbaseitem/emplno" class="input_search" disabled="true" style="left:77px; top:99px; width:66px; height:19px; text-align:right; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:194px; width:233px; height:48px; text-align:center; vertical-align:middle; ">추가공제</caption>
- <input id="ipt_jobposnm" ref="/root/main/yyendcalcmanbaseitem/jobposnm" class="input_search" disabled="true" style="left:587px; top:99px; width:122px; height:19px; text-align:right; "/>
- <caption id="caption27" class="cell_1" style="left:711px; top:122px; width:115px; height:23px; text-align:center; ">거주구분</caption>
- <caption id="caption16" class="cell_1" style="left:234px; top:98px; width:115px; height:23px; text-align:center; vertical-align:middle; ">직 군</caption>
- <input id="ipt_todd" ref="/root/main/yyendcalcmanbaseitem/todd" class="input_search" disabled="false" navindex="30" inputtype="date" style="left:976px; top:147px; width:122px; height:19px; "/>
- <input id="ipt_jobgradnm" ref="/root/main/yyendcalcmanbaseitem/jobgradnm" class="input_search" disabled="true" style="left:77px; top:124px; width:81px; height:19px; text-align:right; "/>
- <caption id="caption28" class="cell_1" style="left:953px; top:122px; width:115px; height:23px; text-align:center; ">내외국인구분</caption>
- <caption id="caption39" class="cell_1" style="left:234px; top:146px; width:115px; height:23px; text-align:center; vertical-align:middle; ">신청서제출일</caption>
- <input id="ipt_workym" ref="/root/main/yyendcalcmanbaseitem/workym" class="input_search" inputtype="date" format="yyyy-mm" style="left:77px; top:147px; width:155px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:98px; width:75px; height:23px; text-align:center; vertical-align:middle; ">사번/성명</caption>
- <caption id="caption29" class="cell_1" style="left:470px; top:98px; width:115px; height:23px; text-align:center; vertical-align:middle; ">직 위</caption>
- <select1 id="cmb_retireyn" ref="/root/main/yyendcalcmanbaseitem/retireyn" class="combo_search" disabled="true" appearance="minimal" style="left:587px; top:147px; width:122px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/combo3">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_appdocprstdd" ref="/root/main/yyendcalcmanbaseitem/appdocprstdd" class="input_search" disabled="true" navindex="30" inputtype="date" style="left:351px; top:147px; width:117px; height:19px; "/>
- <input id="input2" ref="/root/main/yyendcalcmanbaseitem/emplnm" class="input_search" disabled="true" style="left:147px; top:99px; width:85px; height:19px; text-align:center; "/>
- <input id="ipt_addr" ref="/root/main/yyendcalcmanbaseitem/addr" class="input_search" disabled="true" style="left:351px; top:124px; width:358px; height:19px; "/>
- <input id="ipt_brthcnt" ref="/root/main/yyendcalcmanbaseitem/brthcnt" class="input_search" maxlength="2" format="#,###" style="left:829px; top:220px; width:122px; height:19px; text-align:right; "/>
- <caption id="caption1" class="cell_1" style="left:711px; top:219px; width:115px; height:23px; text-align:center; ">출산입양인원</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1064px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_ponydetaillist);
- if (updtdata != "") {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_row=grd_yyendcalcmanbaselist.row;
- var cur_rows=grd_yyendcalcmanbaselist.rows;
- for(i=1; i < cur_rows ; i++){
- var actndeptqualyn = model.getValue("/root/main/yyendcalcmanbaseitem/actndeptqualyn");
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+i+"]/actndeptqualyn",actndeptqualyn);
- }
- if (cur_row > 0) {
- var workym = model.getValue("/root/main/yyendcalcmanbaseitem/workym");
- var ptneryn = model.getValue("/root/main/yyendcalcmanbaseitem/ptneryn");
- var supppsnno20 = model.getValue("/root/main/yyendcalcmanbaseitem/supppsnno20");
- var supppsnno60 = model.getValue("/root/main/yyendcalcmanbaseitem/supppsnno60");
- var maryfmlyn = model.getValue("/root/main/yyendcalcmanbaseitem/maryfmlyn");
- var rptagrfrom65to69agecnt = model.getValue("/root/main/yyendcalcmanbaseitem/rptagrfrom65to69agecnt");
- var rptagr70agemorthncnt = model.getValue("/root/main/yyendcalcmanbaseitem/rptagr70agemorthncnt");
- var handicaprcnt = model.getValue("/root/main/yyendcalcmanbaseitem/handicaprcnt");
- var brngupchldrncnt = model.getValue("/root/main/yyendcalcmanbaseitem/brngupchldrncnt");
- var brthcnt = model.getValue("/root/main/yyendcalcmanbaseitem/brthcnt");
- var fromdd = model.getValue("/root/main/yyendcalcmanbaseitem/fromdd");
- var todd = model.getValue("/root/main/yyendcalcmanbaseitem/todd");
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/workym",workym);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/ptneryn",ptneryn);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/supppsnno20",supppsnno20);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/supppsnno60",supppsnno60);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/maryfmlyn",maryfmlyn);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/rptagrfrom65to69agecnt",rptagrfrom65to69agecnt);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/rptagr70agemorthncnt",rptagr70agemorthncnt);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/handicaprcnt",handicaprcnt);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/brngupchldrncnt",brngupchldrncnt);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/brthcnt",brthcnt);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/fromdd",fromdd);
- model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/todd",todd);
- grd_yyendcalcmanbaselist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
- }
- var updtdata = getGridUpdateData(grd_yyendcalcmanbaselist);
- var updtdatadetail = getGridUpdateData(grd_ponydetaillist);
- if (updtdata == "" && updtdatadetail =="") {
- messageBox("변경된 데이터가","I004");
- return;
- }
- misfSave("TXRWY00401");
-
- ]]>
- </script>
- </button>
- <button id="btn_totsum" class="btn4_letter5" style="left:971px; top:3px; width:92px; height:22px; ">
- <caption>대상자생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_calcyy","ipt_workym_s","cmb_instcd","rdo_retireyn_s"))return;
- // if(rdo_retireyn_s.value !="Y"){
- // messageBox("정산분류는 연말정산을 ","C002");
- // return;
- // }
- submit("TXRWY00402");
- var errflag = model.getValue("/root/temp/errflag");
- //alert("errflag="+ errflag);
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|