1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300 |
- <?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>
- <retireempl>
- <retireempllist/>
- </retireempl>
- <retirepayamt>
- <retirebaselist>
- </retirebaselist>
- <retireamtmmlist>
- <payym/>
- <pay3/>
- <pay12_1/>
- <pay12_2/>
- <pay12_3/>
- <pay12_4/>
- </retireamtmmlist>
- <rwrdpyitlist/>
- <spreyearnolist/>
- </retirepayamt>
- <retirepayamttmp>
- <retirepayamttmplist/>
- </retirepayamttmp>
- <retireamt>
- <retireamtlist/>
- </retireamt>
- <retirebefore>
- <retirebeforelist/>
- </retirebefore>
- <rwrdpyit>
- <rwrdpyitlist/>
- <spreyearnolist/>
- </rwrdpyit>
- </main>
- <send>
- <retireempl>
- <fromdd/>
- <todd/>
- <instcd/>
- <prfshipflag/>
- <jobgradcd/>
- <unitcd/>
- <emplno/>
- <jobgradnm/>
- <unitnm/>
- <emplnm/>
- <avgamt/>
- </retireempl>
- <amtreq>
- <emplno/>
- <retiredd/>
- </amtreq>
- <save>
- <spreyearnolist/>
- <rwrdpyitlist/>
- </save>
- </send>
- <init>
- <calcuyn>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </calcuyn>
- <temp>
- <valutemp/>
- <year/>
- <month/>
- </temp>
- </init>
- <temp/>
- <spreflist>
- <spref>
- <errormsg/>
- <errflag/>
- </spref>
- </spreflist>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var TARGET_NODE = "/root/main/retireamt";
- var SOURCE_NODE = "/root/main/retirepayamttmp";
-
-
- model.removeNodeset(grd_retireempllist.nodeset);
- model.removeNodeset(grd_retirepayamttmplist.nodeset);
- model.removeNodeset(grd_retireamtmmlist.nodeset);
- model.removeNodeset(grd_rwrdpyitlist.nodeset);
- model.removeNodeset(grd_retirebeforelist.nodeset);
- model.removeNodeset(grd_spreyearnolist.nodeset);
-
-
- misfMsterDetailSet(grd_retireempllist, null, "TRRWR00305" ,"N");
- misfMsterDetailSet(grd_retirepayamttmplist, null, "TRRWR00301" ,"Y");
- misfMsterDetailSet(grd_rwrdpyitlist, null, "TRRWR00303" ,"N");
- misfMsterDetailSet(grd_retirebeforelist, grd_retirepayamttmplist, "TRRWR00304" ,"Y");
-
- var curdate = getCurrentDate();
- model.setValue(ipt_fromdd.attribute("ref") , curdate);
- model.setValue(ipt_todd.attribute("ref") , curdate);
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- misfComboComCdListMulti("R0058","cmb_prfshipflag");
-
- button2.selected = true;
-
- // cmb_instcd.select(0);
- // addComboItem( "cmb_instcd", "[-- 전체 --]", "%", "above");
- // model.setValue(cmb_instcd.attribute("ref"), "%");
- if (getUserInfo("dutplceinstcd") == "014") {
- grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 223;
- grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = false;
- }
- else {
- grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 311;
- grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = true;
- }
-
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- addComboItem( "cmb_prfshipflag", "[-- 전체 --]", "%", "above");
- model.setValue(cmb_prfshipflag.attribute("ref"), "%");
- model.toggle("case1");
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
-
- model.refresh();
- model.setFocus("ipt_fromdd");
- ]]>
- </script>
- <submission id="TRRWR00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/amtreq" resultref="/root/main/retirepayamt"/>
- <submission id="TRRWR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/amtreq" resultref="/root/main/retirepayamttmp"/>
- <submission id="TRRWR00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamt/retirebaselist" resultref="/root/main/rwrdpyit"/>
- <submission id="TRRWR00305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retireempl" resultref="/root/main/retireempl"/>
- <submission id="TRRWR00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamt/retirebaselist" resultref="/root/main/retirebefore"/>
- <submission id="TXRWR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamt/retirebaselist" resultref="/root/spreflist"/>
- <submission id="TXRWR00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamt/retirebaselist" resultref="/root/spreflist"/>
- <submission id="TXRWR00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirebefore/retirebeforelist" resultref="/root/temp"/>
- <bind id="bemonth" ref="/root/init/temp/month" calculate="number(/root/init/temp/valutemp) div 30" type="xsd:decimal"/>
- <bind id="beyear" ref="/root/init/temp/year" calculate="number(/root/init/temp/valutemp) div 365" type="xsd:decimal"/>
- <submission id="TXRWR00305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamttmp/retirepayamttmplist" resultref="/root/temp"/>
- <submission id="TXRWR00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TRRWR00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retireempl" resultref="/root/main/retireempl"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- <script type="javascript">
- <![CDATA[
-
- //그리드 Row changed Check. make : 송광호
- function fGridDataCheck(pGrid, pNode)
- {
- var node = instance1.selectNodes( pGrid.nodeset + "["+ pGrid.row +"]/*");
- var basenode = pGrid.nodeset + "["+ pGrid.row +"]";
-
- var node2 = instance1.selectNodes(pNode + "/*");
- var basenode2 = pNode;
-
- var bool = false;
-
- for( s = 0; s < node.length; s++ )
- {
- if( model.getValue(basenode + "/" + node.item(s).nodeName) != model.getValue(basenode2 + "/" + node2.item(s).nodeName ) )
- {
- bool = true;
- break;
- }
- }
-
- if(bool)
- {
- model.copyNode(pGrid.nodeset + "["+ pGrid.row +"]" , pNode);
-
- pGrid.addStatus(pGrid.row, "update");
-
- pGrid.refresh();
- }
- }
-
- // 컨트롤 계산
- function fgetDD(from, to, dd)
- {
- if(from.value != '' && to.value != '')
- {
- dd.value = getDateInterval(from.value, to.value) + 1;
- }else{
- dd.value = 0;
- }
-
- model.recalculate();
- model.refresh();
- }
-
- // 값으로 계산
- function fgetValuDD(from, to)
- {
- if(from != '' && to != '')
- {
- return getDateInterval(from, to) + 1;
- }else{
- return 0;
- }
-
- return 0;
- }
-
- function fBaseValueSet()
- {
- // control 노드 삭제
- model.removenode("/root/main/retirepayamt/retirebaselist");
-
- // control 노드 생성.
- model.makeValue(ipt_emplno_d.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("emplno")) );
- model.makeValue(ipt_name.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("emplnm")) );
- model.makeValue(ipt_retireamtcalcdd.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("retireamtcalcdd")) );
- model.makeValue(ipt_entcodd.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("entcodd")) );
- model.makeValue(ipt_retiredd.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("retiredd")) );
-
- model.makeValue(ipt_calcddfrom.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("calcddfrom")) );
- model.makeValue(ipt_caclddto.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("caclddto")) );
- model.makeValue(ipt_dutdayno.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("dutdayno")) );
-
- model.makeValue(ipt_layoffddfrom.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("layoffddfrom")) );
- model.makeValue(ipt_layoffddto.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("layoffddto")) );
- model.makeValue(ipt_layoffdayno.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("layoffdayno")) );
-
- model.makeValue(ipt_paydayno.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("paydayno")) );
-
- model.makeValue(ipt_basejobrespalwn.attribute("ref"), 0);
-
- }
- function Avramt(){
- var baseamt = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepaysum"));
- if (isNaN(baseamt)){
- baseamt = 0;
- }
- var unifamt = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamtsum"));
- if (isNaN(unifamt)){
- unifamt = 0;
- }
- var avramt = parseInt((baseamt + unifamt) / 3);
- //alert(baseamt + "==" + unifamt + "==" + avramt);
- //avramt = Math.round(avramt / 10) * 10;
- model.setValue("/root/main/retirepayamt/retirebaselist/payavg", avramt);
- AvrTotAmt();
- model.refresh();
- }
- function Basepay(){
- var basepay1 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepay1"));
- if (isNaN(basepay1)){
- basepay1 = 0;
- }
- var basepay2 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepay2"));
- if (isNaN(basepay2)){
- basepay2 = 0;
- }
- var basepay3 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepay3"));
- if (isNaN(basepay3)){
- basepay3 = 0;
- }
- var basepay4 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepay4"));
- if (isNaN(basepay4)){
- basepay4 = 0;
- }
- var basepaysum = parseFloat(basepay1) + parseFloat(basepay2) + parseFloat(basepay3) + parseFloat(basepay4);
- model.setValue("/root/main/retirepayamt/retirebaselist/basepaysum", basepaysum);
- Avramt();
- model.refresh();
-
- }
- function Unfixmat(){
- var unfixamt1 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamt1"));
- if (isNaN(unfixamt1)){
- unfixamt1 = 0;
- }
- var unfixamt2 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamt2"));
- if (isNaN(unfixamt2)){
- unfixamt2 = 0;
- }
- var unfixamt3 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamt3"));
- if (isNaN(unfixamt3)){
- unfixamt3 = 0;
- }
- var unfixamt4 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamt4"));
- if (isNaN(unfixamt4)){
- unfixamt4 = 0;
- }
- var unfixamtsum = parseFloat(unfixamt1) + parseFloat(unfixamt2) + parseFloat(unfixamt3) + parseFloat(unfixamt4);
- model.setValue("/root/main/retirepayamt/retirebaselist/unfixamtsum", unfixamtsum);
- Avramt();
- model.refresh();
-
- }
- function BunsAmt(){
- var bnustamt = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/bnustotamt"));
- if (isNaN(bnustamt)){
- bnustamt = 0;
- }
- var avramt = parseInt((bnustamt) / 12);
- model.setValue("/root/main/retirepayamt/retirebaselist/bnusavg", avramt);
- AvrTotAmt();
- model.refresh();
- }
- function JobRespAmt(){
- var jobrespamt = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/jobrespalwn1"));
- if (isNaN(jobrespamt)){
- jobrespamt = 0;
- }
- var avramt = parseInt((jobrespamt) / 12);
- model.setValue("/root/main/retirepayamt/retirebaselist/jobrespsum", avramt);
- AvrTotAmt();
- model.refresh();
- }
- function AvrTotAmt(){
- var payavg = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/payavg"));
- if (isNaN(payavg)){
- payavg = 0;
- }
- var jobrespsum = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/jobrespsum"));
- if (isNaN(jobrespsum)){
- jobrespsum = 0;
- }
- var bnusavg = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/bnusavg"));
- if (isNaN(bnusavg)){
- bnusavg = 0;
- }
- var avgamt = parseFloat(payavg) + parseFloat(jobrespsum) + parseFloat(bnusavg);
- model.setValue("/root/send/retireempl/avgamt", avgamt);
- var paydayno = parseInt(model.getValue("/root/main/retirepayamt/retirebaselist/paydayno"));
- if (isNaN(paydayno)){
- paydayno = 0;
- }
- var totamt = parseInt((parseFloat(avgamt) / 365) * paydayno);
- totamt = parseInt(totamt + 9);
- totamt = parseInt(totamt / 10);
- totamt = parseInt(totamt * 10);
- model.makeValue("/root/main/retirepayamt/retirebaselist/retirepay", totamt);
- model.refresh();
- }
- ]]>
- </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="group3" scroll="auto" style="left:0px; top:35px; width:1195px; height:749px; ">
- <input id="ipt_jobrespalwn4" ref="/root/main/retirepayamt/retirebaselist/jobrespalwn4" class="input_default" disabled="true" format="#,###" style="left:828px; top:320px; width:128px; height:19px; text-align:right; "/>
- <switch id="switch1" style="left:330px; top:465px; width:865px; height:280px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:863px; height:278px; ">
- <caption id="caption70" class="cell_1" style="left:283px; top:26px; width:95px; height:23px; ">근속년월</caption>
- <caption id="caption157" class="cell_1" style="left:48px; top:51px; width:95px; height:23px; ">퇴직급여액</caption>
- <caption id="caption168" class="cell_1" style="left:283px; top:151px; width:95px; height:23px; ">결정세액</caption>
- <line id="line62" class="line_2" style="x1:48px; y1:248px; x2:514px; y2:248px; "/>
- <caption id="caption71" class="cell_1" style="left:1px; top:26px; width:142px; height:23px; ">기지급 퇴직 급여</caption>
- <input id="ipt_yyavgcalctaxrate" ref="/root/main/retirepayamt/retirebaselist/yyavgcalctaxrate" class="input_default" disabled="true" format="#,###" style="left:382px; top:77px; width:130px; height:19px; text-align:right; "/>
- <input id="ipt_dutyearnodeduamt" ref="/root/main/retirepayamt/retirebaselist/dutyearnodeduamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:103px; width:130px; height:19px; text-align:right; "/>
- <caption id="caption158" class="cell_1" style="left:48px; top:76px; width:95px; height:23px; ">퇴직소득공제</caption>
- <line id="line63" class="line_2" style="x1:48px; y1:124px; x2:514px; y2:124px; "/>
- <caption id="caption72" style="left:447px; top:30px; width:24px; height:20px; ">년</caption>
- <input id="ipt_dutyearno" ref="/root/main/retirepayamt/retirebaselist/dutyearno" class="input_default" format="#,###" style="left:382px; top:30px; width:65px; height:19px; text-align:right; "/>
- <caption id="caption159" class="cell_1" style="left:48px; top:101px; width:95px; height:23px; ">근속년수공제</caption>
- <line id="line64" class="line_2" style="x1:48px; y1:149px; x2:514px; y2:149px; "/>
- <caption id="caption73" style="left:522px; top:30px; width:19px; height:20px; ">월</caption>
- <input id="input41" ref="/root/main/retirepayamt/retirebaselist/dutmonthno" class="input_default" format="#,###" style="left:482px; top:30px; width:40px; height:19px; text-align:right; "/>
- <input id="ipt_incmtaxchrg" ref="/root/main/retirepayamt/retirebaselist" class="input_default" disabled="true" format="#,###" style="left:382px; top:153px; width:130px; height:19px; text-align:right; "/>
- <input id="ipt_healthchrg" ref="/root/main/retirepayamt/retirebaselist/decisiontax" class="input_default" disabled="true" format="#,###" style="left:146px; top:177px; width:130px; height:19px; text-align:right; "/>
- <line id="line24" class="line_2" style="x1:1px; y1:50px; x2:513px; y2:50px; "/>
- <input id="ipt_yyavgtaxstnd" ref="/root/main/retirepayamt/retirebaselist/yyavgtaxstnd" class="input_default" disabled="true" format="#,###" style="left:146px; top:153px; width:130px; height:19px; text-align:right; "/>
- <input id="ipt_calctaxrate" ref="/root/main/retirepayamt/retirebaselist/calctaxrate" class="input_default" disabled="true" format="#,###" style="left:382px; top:103px; width:130px; height:19px; text-align:right; "/>
- <line id="line57" class="line_2" style="x1:48px; y1:74px; x2:514px; y2:74px; "/>
- <caption id="caption66" class="cell_1" style="left:48px; top:126px; width:95px; height:23px; ">퇴직과세표준</caption>
- <line id="line58" class="line_2" style="x1:48px; y1:99px; x2:514px; y2:99px; "/>
- <caption id="caption67" class="cell_1" style="left:283px; top:126px; width:95px; height:23px; ">세액공제</caption>
- <line id="line59" class="line_2" style="x1:48px; y1:199px; x2:514px; y2:199px; "/>
- <input id="ipt_retireincmdeduamt" ref="/root/main/retirepayamt/retirebaselist/retireincmdeduamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:77px; width:130px; height:19px; text-align:right; "/>
- <line id="line27" class="line_1" style="x1:2px; y1:22px; x2:515px; y2:23px; "/>
- <caption id="caption160" class="cell_1" style="left:283px; top:51px; width:95px; height:23px; ">세율</caption>
- <line id="line28" class="line_2" style="x1:1px; y1:272px; x2:515px; y2:272px; "/>
- <input id="ipt_prepayretiretotamt" ref="/root/main/retirepayamt/retirebaselist/prepayretiretotamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:30px; width:130px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_retirepayamttmplist.valueMatrix(grd_retirepayamttmplist.row, grd_retirepayamttmplist.colRef("prepayretiretotamt")) = ipt_prepayretiretotamt.value;
- grd_retirepayamttmplist.rowStatus(grd_retirepayamttmplist.row) = 2;
- ]]>
- </script>
- </input>
- <caption id="caption161" class="cell_1" style="left:283px; top:76px; width:95px; height:23px; ">연평균산출세액</caption>
- <input id="ipt_taxratededu" ref="/root/main/retirepayamt/retirebaselist/taxratededu" class="input_default" disabled="true" format="#,###" style="left:382px; top:127px; width:130px; height:19px; text-align:right; "/>
- <caption id="caption162" class="cell_1" style="left:283px; top:101px; width:95px; height:23px; ">산출세액</caption>
- <caption id="caption173" class="cell_1" style="left:48px; top:250px; width:95px; height:23px; ">징수세액</caption>
- <input id="ipt_taxaftpayamt" ref="/root/main/retirepayamt/retirebaselist/taxaftpayamt" class="input_default" disabled="true" format="#,###" style="left:382px; top:177px; width:130px; height:19px; text-align:right; "/>
- <caption id="caption163" class="cell_1" style="left:1px; top:51px; width:45px; height:124px; ">정산액</caption>
- <caption id="caption174" class="cell_1" style="left:284px; top:176px; width:95px; height:23px; ">실지급액</caption>
- <caption id="caption164" class="cell_1" style="left:1px; top:176px; width:45px; height:98px; ">세액</caption>
- <caption id="caption165" class="cell_1" style="left:48px; top:151px; width:95px; height:23px; ">연평균과세표준</caption>
- <caption id="caption166" class="cell_1" style="left:48px; top:176px; width:95px; height:23px; ">결정세액</caption>
- <line id="line60" class="line_2" style="x1:48px; y1:174px; x2:514px; y2:174px; "/>
- <caption id="caption167" class="cell_1" style="left:48px; top:201px; width:95px; height:23px; ">기지급소득세</caption>
- <line id="line61" class="line_2" style="x1:48px; y1:223px; x2:514px; y2:223px; "/>
- <input id="ipt_retireincm" ref="/root/main/retirepayamt/retirebaselist/retireincm" class="input_default" disabled="true" format="#,###" style="left:146px; top:52px; width:130px; height:19px; text-align:right; "/>
- <input id="ipt_prepayincmtaxamt" ref="/root/main/retirepayamt/retirebaselist/prepayincmtaxamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:202px; width:130px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_retirepayamttmplist.valueMatrix(grd_retirepayamttmplist.row, grd_retirepayamttmplist.colRef("prepayincmtaxamt")) = ipt_prepayincmtaxamt.value;
- grd_retirepayamttmplist.rowStatus(grd_retirepayamttmplist.row) = 2;
- ]]>
- </script>
- </input>
- <input id="ipt_retiretaxratestndamt" ref="/root/main/retirepayamt/retirebaselist/retiretaxratestndamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:127px; width:130px; height:19px; text-align:right; "/>
- <input id="ipt_retiretaxrate" ref="/root/main/retirepayamt/retirebaselist/retiretaxrate" class="input_default" disabled="true" format="#,###" style="left:382px; top:52px; width:130px; height:19px; text-align:right; "/>
- <input id="ipt_subsfoodamt" ref="/root/main/retirepayamt/retirebaselist/levytax" class="input_default" disabled="true" format="#,###" style="left:146px; top:251px; width:130px; height:19px; text-align:right; "/>
- <caption id="caption75" class="tit_2" style="left:4px; top:6px; width:110px; height:13px; ">세금계산</caption>
- <button id="btn_taxcal" class="btn5_letter4" disabled="true" style="left:449px; top:2px; width:64px; height:19px; ">
- <caption>세금계산</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(grd_retirepayamttmplist.fixedRows - grd_retirepayamttmplist.row < 0 )
- {
- messageBox("퇴직금 내역을 선택하신 후 다시 실행하세요.", "");
- return;
- }
-
- misfSave("TXRWR00302");
-
- grd_retireempllist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <input id="ipt_prepayresdntaxamt" ref="/root/main/retirepayamt/retirebaselist/prepayresdntaxamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:227px; width:130px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_retirepayamttmplist.valueMatrix(grd_retirepayamttmplist.row, grd_retirepayamttmplist.colRef("prepayresdntaxamt")) = ipt_prepayresdntaxamt.value;
- grd_retirepayamttmplist.rowStatus(grd_retirepayamttmplist.row) = 2;
- ]]>
- </script>
- </input>
- <caption id="caption2" class="cell_1" style="left:48px; top:225px; width:95px; height:23px; ">기지급주민세</caption>
- <caption id="caption9" style="left:465px; top:30px; width:15px; height:20px; text-align:center; ">/</caption>
- </case>
- <case id="case2">
- <datagrid id="grd_retirebeforelist" nodeset="/root/main/retirebefore/retirebeforelist" caption="사업자등록번호^상호명^입사일^퇴사일^퇴직급여^퇴직수당^소득세^주민세^농특세^근속년수^근속월수^사원번호^퇴직금계산일^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^사업자등록번호old|사업자등록번호^상호명^입사일^퇴사일^퇴직급여^퇴직수당^소득세^주민세^농특세^근속년수^근속월수^사원번호^퇴직금계산일^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^사업자등록번호old" colsep="^" colwidth="99, 112, 94, 90, 87, 86, 69, 64, 59, 33, 31, 46, 43, 80, 35, 29, 26, 28" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:2px; top:29px; width:859px; height:247px; ">
- <col ref="entrregno" type="input"/>
- <col ref="trdnm" type="input"/>
- <col ref="entcodd" type="inputdate"/>
- <col ref="retiredd" type="inputdate"/>
- <col ref="retireincm" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="retirealwn" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="incmtax" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="resdntax" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="fmfsspcltax" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="dutyearno" format="#,###" style="text-align:center; vertical-align:middle; "/>
- <col ref="dutmonthno" format="#,###" style="text-align:center; vertical-align:middle; "/>
- <col ref="emplno" visibility="hidden" _key="true"/>
- <col ref="retireamtcalcdd" _key="true"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="oldentrregno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_retirebeforelist.col == grd_retirebeforelist.colRef("entcodd"))
- {
-
- var fFrom = grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("entcodd"));
- var fTo = grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("retiredd"));
-
- opt_valutemp.value= fgetValuDD(fFrom, fTo);
-
- model.recalculate();
-
- grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutyearno")) = opt_year.value.getRound("-1","UP");
- grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutmonthno")) = opt_month.value.getRound("-1","UP");
-
- }else if(grd_retirebeforelist.col == grd_retirebeforelist.colRef("retiredd"))
- {
-
- var fFrom = grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("entcodd"));
- var fTo = grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("retiredd"));
- opt_valutemp.value = fgetValuDD(fFrom, fTo);
- model.recalculate();
-
- grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutyearno")) = opt_year.value.getRound("-1","UP");
- grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutmonthno")) = opt_month.value.getRound("-1","UP");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:2px; y1:24px; x2:861px; y2:24px; "/>
- <caption id="caption1" class="tit_2" style="left:6px; top:9px; width:109px; height:13px; ">전근무지 내역</caption>
- <button id="btn_delete" class="btn2_letter3" style="left:761px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_retirebeforelist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter3" style="left:705px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_retirebeforelist, "A");
-
- grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutyearno")) = 0;
- grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutmonthno")) = 0;
-
- ]]>
- </script>
- </button>
- <button id="btn_beforesave" class="btn5_letter2" style="left:817px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( checkKeyColumn("grd_retirebeforelist") == false) return;
- misfSave("TXRWR00304");
- grd_retirepayamttmplist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <output id="opt_valutemp" ref="/root/init/temp/valutemp" class="output_fix" visibility="hidden" style="left:310px; top:3px; width:55px; height:19px; text-align:center; "/>
- <output id="opt_year" ref="/root/init/temp/year" class="output_fix" visibility="hidden" style="left:452px; top:3px; width:55px; height:19px; text-align:center; "/>
- <output id="opt_month" ref="/root/init/temp/month" class="output_fix" visibility="hidden" style="left:514px; top:3px; width:55px; height:19px; text-align:center; "/>
- </case>
- <case id="case3">
- <line id="line54" class="line_1" style="x1:0px; y1:25px; x2:456px; y2:24px; "/>
- <datagrid id="grd_rwrdpyitlist" nodeset="/root/main/rwrdpyit/rwrdpyitlist" caption="수당내역^금액^조정금액^사원번호^퇴직금계산일^수당항목" colsep="^" colwidth="311, 99, 89, 37, 37, 34" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:29px; width:455px; height:247px; ">
- <col ref="prntnm" style="text-align:left; "/>
- <col ref="payitemamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="payitemadjtamt" type="input" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="retireamtcalcdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="payitemcd" visibility="hidden"/>
- </datagrid>
- <caption id="caption156" class="tit_2" style="left:5px; top:7px; width:110px; height:13px; ">미지급 수당</caption>
- <button id="button7" class="btn5_letter7" style="left:356px; top:3px; width:97px; height:19px; ">
- <caption>미지급수당 계산</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_layoffddfrom","ipt_layoffddto","ipt_paydayno"))return;
- if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_paydayno"))return;
-
- model.removenode("/root/main/retirepayamt/retirebaselist/jobflag");
- model.makeValue("/root/main/retirepayamt/retirebaselist/jobflag", 'B');
-
- misfSave("TXRWR00301");
-
- grd_retireempllist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <datagrid id="grd_spreyearnolist" nodeset="/root/main/rwrdpyit/spreyearnolist" visibility="hidden" caption="구분^갯수^조정갯수^사원번호^년도^기관^구분" colsep="^" colwidth="160, 100, 99, 41, 36, 29, 32" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:460px; top:29px; width:400px; height:247px; ">
- <col ref="flagnm"/>
- <col ref="spreyearno" format="(-)#,###.#" style="text-align:right; "/>
- <col ref="setcnt" type="input" format="(-)#,###.#" style="text-align:right; "/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="anualcalcyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="flag" visibility="hidden"/>
- </datagrid>
- <line id="line3" class="line_1" visibility="hidden" style="x1:460px; y1:25px; x2:860px; y2:24px; "/>
- <button id="btn_yearnosave" class="btn5_letter2" visibility="hidden" style="left:818px; top:3px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/save/spreyearnolist",grd_spreyearnolist.getUpdateData());
- model.setValue("/root/send/save/rwrdpyitlist",grd_rwrdpyitlist.getUpdateData());
-
-
- for (var i = grd_spreyearnolist.fixedRows; i < grd_spreyearnolist.rows; i++) {
- if (grd_spreyearnolist.valueMatrix(i, grd_spreyearnolist.colRef("flag")) != "01" ) {
- grd_spreyearnolist.valueMatrix(i, grd_spreyearnolist.colRef("setcnt")) = 0;
- }
- }
-
- submit("TXRWR00306");
- grd_spreyearnolist.clearStatus();
- grd_rwrdpyitlist.clearStatus();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="tit_2" visibility="hidden" style="left:465px; top:7px; width:110px; height:13px; ">잔여 연차 list</caption>
- </case>
- </switch>
- <line id="line14" class="line_1" style="x1:0px; y1:89px; x2:325px; y2:89px; "/>
- <caption id="caption31" class="tit_2" style="left:6px; top:72px; width:186px; height:13px; ">퇴직자 명단 List</caption>
- <group id="group4" style="left:0px; top:10px; width:1190px; height:55px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" navindex="28" style="left:1124px; top:17px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (cmb_instcd.value == "017") {
- submit("TRRWR00305");
- }
- else {
- submit("TRRWR00306");
- }
-
-
- if( grd_retireempllist.rows != grd_retireempllist.fixedRows )
- {
- grd_retireempllist.row = grd_retireempllist.fixedRows;
- grd_retireempllist.dispatch("onrowchanged");
- }
- ]]>
- </script>
- </button>
- <line id="line15" class="line_4" style="x1:1109px; y1:6px; x2:1109px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_fromdd" ref="/root/send/retireempl/fromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:60px; top:7px; width:101px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption32" class="search_name" style="left:4px; top:8px; width:60px; height:17px; ">기간:</caption>
- <select1 id="cmb_instcd" ref="/root/send/retireempl/instcd" class="combo_s_essential" appearance="minimal" style="left:378px; top:7px; width:237px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (cmb_instcd.value == "014") {
- grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 223;
- grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = false;
- }
- else {
- grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 311;
- grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = true;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption33" class="search_name" style="left:321px; top:8px; width:61px; height:17px; ">기관:</caption>
- <input id="ipt_unitnm" ref="/root/send/retireempl/unitnm" class="input_default" navindex="9" style="left:477px; top:30px; width:139px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "unitcd,unitnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_unitcd" class="icon_search" navindex="8" style="left:459px; top:30px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "unitcd,unitnm";
- var instcd = cmb_instcd.value;
- rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_unitcd" ref="/root/send/retireempl/unitcd" class="input_default" navindex="7" style="left:378px; top:30px; width:79px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "unitcd,unitnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption35" class="search_name" style="left:321px; top:31px; width:61px; height:17px; ">부서:</caption>
- <input id="input19" ref="/root/send/retireempl/emplnm" class="input_default" style="left:835px; top:30px; width:106px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" navindex="11" style="left:814px; top:30px; 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();
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/retireempl/emplno" class="input_default" navindex="10" style="left:740px; top:30px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption36" class="search_name" style="left:658px; top:31px; width:81px; height:17px; ">사번:</caption>
- <input id="ipt_todd" ref="/root/send/retireempl/todd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:180px; top:7px; width:101px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption37" style="left:165px; top:7px; width:10px; height:19px; ">-</caption>
- <select1 id="cmb_prfshipflag" ref="/root/send/retireempl/prfshipflag" class="combo_s_essential" navindex="3" appearance="minimal" style="left:740px; top:7px; width:200px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption38" class="search_name" style="left:658px; top:8px; width:81px; height:17px; ">급여분류:</caption>
- <caption id="caption39" class="search_name" style="left:4px; top:31px; width:60px; height:17px; ">직급:</caption>
- <input id="ipt_jobgradnm" ref="/root/send/retireempl/jobgradnm" class="input_default" navindex="6" style="left:162px; top:30px; width:118px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0064", "jobgradcd,jobgradnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_jobgradcd" class="icon_search" navindex="5" style="left:144px; top:30px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "jobgradcd,jobgradnm";
- rpbfOpenComCdHelp(ipt_jobgradcd,"R0064", recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_jobgradcd" ref="/root/send/retireempl/jobgradcd" class="input_default" navindex="4" style="left:60px; top:30px; width:79px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0064", "jobgradcd,jobgradnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplnm" ref="/root/send/retireempl/emplnm" class="input_default" style="left:835px; top:30px; width:106px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption114" style="left:165px; top:7px; width:10px; height:19px; ">-</caption>
- </group>
- <datagrid id="grd_retireempllist" nodeset="/root/main/retireempl/retireempllist" caption="사번^성명^입사일^퇴사일" colsep="^" colwidth="63, 62, 76, 76" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:95px; width:325px; height:230px; ">
- <col ref="emplno"/>
- <col ref="emplnm" style="text-align:center; "/>
- <col disabled="true" ref="entcodd" type="output" format="yyyy-mm-dd"/>
- <col disabled="true" ref="retiredd" type="output" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- grd_retireempllist.dispatch("onmouseup");
-
- var cur_row = grd_retireempllist.row;
- var emplno =grd_retireempllist.valueMatrix(cur_row,grd_retireempllist.colRef("emplno"));
- var retiredd = grd_retireempllist.valueMatrix(cur_row,grd_retireempllist.colRef("retiredd"));
- model.setValue("/root/send/amtreq/emplno",emplno);
- model.setValue("/root/send/amtreq/retiredd",retiredd);
- model.removeNodeset(grd_retirepayamttmplist.nodeset);
- model.removeNodeset(grd_rwrdpyitlist.nodeset);
- model.removeNodeset(grd_retirebeforelist.nodeset);
- model.removeNodeset(grd_spreyearnolist.nodeset);
-
- //급여내역 조회.
- submit("TRRWR00302");
- grd_retireamtmmlist.subtotalPosition = "below";//하단에 추가 above->상단에추가
- grd_retireamtmmlist.subtotal("sum", 0, 2, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
- grd_retireamtmmlist.subtotal("sum", 0, 3, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
- grd_retireamtmmlist.subtotal("sum", 0, 4, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
- grd_retireamtmmlist.subtotal("sum", 0, 5, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
- grd_retireamtmmlist.subtotal("sum", 0, 6, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
-
- //퇴직금 내역 List 조회.
- submit("TRRWR00301");
- if( (grd_retirepayamttmplist.rows - grd_retirepayamttmplist.fixedRows) > 0){
- grd_retirepayamttmplist.row = grd_retirepayamttmplist.fixedRows;
- grd_retirepayamttmplist.dispatch("onrowchanged");
- ipt_prepayretiretotamt.disabled = false;
- ipt_prepayincmtaxamt.disabled = false;
- ipt_prepayresdntaxamt.disabled = false;
-
- btn_taxcal.disabled = false;
- }else{
- ipt_prepayretiretotamt.disabled = true;
- ipt_prepayincmtaxamt.disabled = true;
- ipt_prepayresdntaxamt.disabled = true;
-
- btn_taxcal.disabled = true;
- fBaseValueSet();
- }
- model.refresh();
- if (model.getValue("/root/main/retirepayamt/retirebaselist/calcddfrom") == ""){
- if (model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/calcddfrom") == ""){
- model.setValue("/root/main/retirepayamt/retirebaselist/calcddfrom", model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/entcodd"));
- model.setValue("/root/main/retirepayamt/retirebaselist/caclddto", model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/retiredd"));
- }else{
- model.setValue("/root/main/retirepayamt/retirebaselist/calcddfrom", model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/calcddfrom"));
- model.setValue("/root/main/retirepayamt/retirebaselist/caclddto", model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/calcddto"));
- }
- ipt_caclddto.dispatch("xforms-value-changed");
- model.refresh();
- }
- model.copyNode(TARGET_NODE,SOURCE_NODE);
- var yonavg = model.getValue("/root/main/retirepayamt/retirebaselist/jobrespsum");
- var bnusavg = model.getValue("/root/main/retirepayamt/retirebaselist/bnusavg");
- var payavg = model.getValue("/root/main/retirepayamt/retirebaselist/payavg");
- if (isNaN(yonavg)){
- yonavg = 0;
- }
- if (isNaN(bnusavg)){
- bnusavg = 0;
- }
- if (isNaN(payavg)){
- payavg = 0;
- }
- var avgamt = parseFloat(yonavg) + parseFloat(bnusavg) + parseFloat(payavg);
- model.setValue("/root/send/retireempl/avgamt", avgamt);
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="button5" class="btn2_letter4" style="left:260px; top:68px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_retireempllist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <line id="line16" class="line_1" style="x1:330px; y1:89px; x2:1189px; y2:89px; "/>
- <caption id="caption40" class="cell_1" style="left:332px; top:94px; width:95px; height:23px; ">사번/성명</caption>
- <line id="line17" class="line_2" style="x1:332px; y1:117px; x2:1189px; y2:117px; "/>
- <caption id="caption41" class="cell_1" style="left:801px; top:119px; width:60px; height:23px; ">입사일</caption>
- <caption id="caption42" class="cell_1" style="left:1025px; top:119px; width:60px; height:23px; ">퇴사일</caption>
- <caption id="cap_retireamtcalcdd" class="cell_1" style="left:332px; top:119px; width:95px; height:23px; ">퇴직금 계산일</caption>
- <line id="line19" class="line_2" style="x1:332px; y1:142px; x2:1189px; y2:142px; "/>
- <caption id="cap_layoffddfrom" class="cell_1" style="left:684px; top:144px; width:60px; height:23px; ">휴직기간</caption>
- <caption id="cap_calcddfrom" class="cell_1" style="left:332px; top:144px; width:95px; height:23px; ">정산기간</caption>
- <caption id="cap_paydayno" class="cell_1" style="left:1025px; top:144px; width:60px; height:23px; ">지급일수</caption>
- <line id="line20" class="line_2" style="x1:332px; y1:167px; x2:1189px; y2:167px; "/>
- <line id="line31" class="line_3" style="x1:332px; y1:169px; x2:1189px; y2:169px; "/>
- <input id="ipt_emplno_d" ref="/root/main/retirepayamt/retirebaselist/emplno" class="input_default" disabled="true" style="left:430px; top:95px; width:92px; height:19px; "/>
- <input id="ipt_entcodd" ref="/root/main/retirepayamt/retirebaselist/entcodd" class="input_default" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:863px; top:120px; width:100px; height:19px; text-align:center; "/>
- <input id="ipt_retiredd" ref="/root/main/retirepayamt/retirebaselist/retiredd" class="input_default" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:1088px; top:120px; width:99px; height:19px; text-align:center; "/>
- <input id="ipt_layoffddfrom" ref="/root/main/retirepayamt/retirebaselist/layoffddfrom" class="input_search" inputtype="date" style="left:746px; top:147px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fgetDD(ipt_layoffddfrom, ipt_layoffddto, ipt_layoffdayno);
- ]]>
- </script>
- </input>
- <input id="ipt_layoffddto" ref="/root/main/retirepayamt/retirebaselist/layoffddto" class="input_search" inputtype="date" style="left:864px; top:147px; width:101px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fgetDD(ipt_layoffddfrom, ipt_layoffddto, ipt_layoffdayno);
- ]]>
- </script>
- </input>
- <caption id="caption109" style="left:1152px; top:150px; width:33px; height:18px; ">일(T)</caption>
- <input id="ipt_paydayno" ref="/root/main/retirepayamt/retirebaselist/paydayno" class="input_essential" format="#,###" style="left:1088px; top:147px; width:62px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- AvrTotAmt();
- ]]>
- </script>
- </input>
- <input id="ipt_name" ref="/root/main/retirepayamt/retirebaselist/emplnm" class="input_default" disabled="true" style="left:527px; top:95px; width:85px; height:19px; "/>
- <caption id="caption115" style="left:850px; top:148px; width:16px; height:20px; ">-</caption>
- <input id="ipt_layoffdayno" ref="/root/main/retirepayamt/retirebaselist/layoffdayno" class="input_default" disabled="true" format="#,###" style="left:969px; top:147px; width:51px; height:19px; text-align:right; "/>
- <input id="ipt_calcddfrom" ref="/root/main/retirepayamt/retirebaselist/calcddfrom" class="input_essential" inputtype="date" style="left:430px; top:147px; width:93px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fgetDD(ipt_calcddfrom,ipt_caclddto,ipt_dutdayno);
- ]]>
- </script>
- </input>
- <caption id="caption116" style="left:526px; top:148px; width:15px; height:20px; ">-</caption>
- <input id="ipt_caclddto" ref="/root/main/retirepayamt/retirebaselist/caclddto" class="input_essential" inputtype="date" style="left:537px; top:147px; width:93px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fgetDD(ipt_calcddfrom,ipt_caclddto,ipt_dutdayno);
- ]]>
- </script>
- </input>
- <datagrid id="grd_retirepayamttmplist" nodeset="/root/main/retirepayamttmp/retirepayamttmplist" caption="사원번호^퇴직금계산일^정산일FROM^정산일TO^근속일^휴직일FROM^휴직일TO^휴직일수^지급일수^계산기간_부터1^계산기간_까지1^총일수1^계산기간_부터2^계산기간_까지2^총일수2^계산기간_부터3^계산기간_까지3^총일수3^계산기간_부터4^계산기간_까지4^총일수4^기본급1^기본급2^기본급3^기본급4^기본계^변동지급1^변동지급2^변동지급3^변동지급4^변동지급계^상여총액^명절수당^휴가보상비^정근수당합계(정근수당은 변동수당에서 제외함)^급여월평균^상여월평균^총계^퇴직금총액^근속년수^근속월수^기지급퇴직금총액^기지급소득세^기지급주민세^퇴직소득^퇴직소득공제액^근속년수별공제액^퇴직과세표준액^연평균과세표준^퇴직세율^연평균산출세액^산출세액^세액공제^소득세^주민세^세후지급액^전월미지급수당^전월미지급휴가보전수당^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^caption1^caption2^caption3" colwidth="98, 137, 153, 123, 92, 153, 123, 123, 123, 214, 214, 107, 214, 214, 107, 214, 214, 107, 214, 214, 107, 107, 107, 107, 107, 92, 138, 138, 138, 138, 153, 123, 123, 153, 674, 153, 153, 61, 153, 123, 123, 245, 184, 184, 123, 214, 245, 214, 214, 123, 214, 123, 123, 92, 92, 153, 214, 337, 184, 184, 184, 184, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" style="left:0px; top:350px; width:325px; height:75px; ">
- <col ref="emplno" style="text-align:center; "/>
- <col ref="retireamtcalcdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="calcddfrom" visibility="hidden"/>
- <col ref="caclddto" visibility="hidden"/>
- <col ref="dutdayno" visibility="hidden"/>
- <col ref="layoffddfrom" visibility="hidden"/>
- <col ref="layoffddto" visibility="hidden"/>
- <col ref="layoffdayno" visibility="hidden"/>
- <col ref="paydayno" visibility="hidden"/>
- <col ref="fromcalcterm1" visibility="hidden"/>
- <col ref="tocalcterm1" visibility="hidden"/>
- <col ref="totdayno1" visibility="hidden"/>
- <col ref="fromcalcterm2" visibility="hidden"/>
- <col ref="tocalcterm2" visibility="hidden"/>
- <col ref="totdayno2" visibility="hidden"/>
- <col ref="fromcalcterm3" visibility="hidden"/>
- <col ref="tocalcterm3" visibility="hidden"/>
- <col ref="totdayno3" visibility="hidden"/>
- <col ref="fromcalcterm4" visibility="hidden"/>
- <col ref="tocalcterm4" visibility="hidden"/>
- <col ref="totdayno4" visibility="hidden"/>
- <col ref="basepay1" visibility="hidden"/>
- <col ref="basepay2" visibility="hidden"/>
- <col ref="basepay3" visibility="hidden"/>
- <col ref="basepay4" visibility="hidden"/>
- <col ref="basepaysum" visibility="hidden"/>
- <col ref="unfixamt1" visibility="hidden"/>
- <col ref="unfixamt2" visibility="hidden"/>
- <col ref="unfixamt3" visibility="hidden"/>
- <col ref="unfixamt4" visibility="hidden"/>
- <col ref="unfixamtsum" visibility="hidden"/>
- <col ref="bnustotamt" visibility="hidden"/>
- <col ref="festivealwn" visibility="hidden"/>
- <col ref="holipayamt" visibility="hidden"/>
- <col ref="nrmlworkamttot" visibility="hidden"/>
- <col ref="payavg" visibility="hidden"/>
- <col ref="bnusavg" visibility="hidden"/>
- <col ref="sumamt" visibility="hidden"/>
- <col ref="retirepay" visibility="hidden"/>
- <col ref="dutyearno" visibility="hidden"/>
- <col ref="dutmonthno" visibility="hidden"/>
- <col ref="prepayretiretotamt" visibility="hidden"/>
- <col ref="prepayincmtaxamt" visibility="hidden"/>
- <col ref="prepayresdntaxamt" visibility="hidden"/>
- <col ref="retireincm" visibility="hidden"/>
- <col ref="retireincmdeduamt" visibility="hidden"/>
- <col ref="dutyearnodeduamt" visibility="hidden"/>
- <col ref="retiretaxratestndamt" visibility="hidden"/>
- <col ref="yyavgtaxstnd" visibility="hidden"/>
- <col ref="retiretaxrate" visibility="hidden"/>
- <col ref="yyavgcalctaxrate" visibility="hidden"/>
- <col ref="calctaxrate" visibility="hidden"/>
- <col ref="taxratededu" visibility="hidden"/>
- <col ref="incmtax" visibility="hidden"/>
- <col ref="resdntax" visibility="hidden"/>
- <col ref="taxaftpayamt" visibility="hidden"/>
- <col ref="bfmmnopayalwn" visibility="hidden"/>
- <col ref="bfmmnopayholialwn" visibility="hidden"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="decisiontax" visibility="hidden"/>
- <col ref="prepaymenttax" visibility="hidden"/>
- <col ref="jobrespalwn1" visibility="hidden"/>
- <col ref="jobrespalwn2" visibility="hidden"/>
- <col ref="jobrespalwn3" visibility="hidden"/>
- <col ref="jobrespalwn4" visibility="hidden"/>
- <col ref="jobrespsum" visibility="hidden"/>
- <col ref="basejobrespalwn" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="retiredd" visibility="hidden"/>
- <col ref="residncnati" visibility="hidden"/>
- <col ref="residncnaticd" visibility="hidden"/>
- <col ref="retirechgamt" visibility="hidden"/>
- <col ref="entcodd" visibility="hidden"/>
- <col ref="fromdd" visibility="hidden"/>
- <col ref="todd" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if(grd_retirepayamttmplist.row < grd_retirepayamttmplist.fixedRows) return;
- grd_retirepayamttmplist.dispatch("onmouseup");
-
- model.copyNode("/root/main/retirepayamt/retirebaselist", grd_retirepayamttmplist.nodeset + "[" + grd_retirepayamttmplist.row + "]" );
-
- model.setValue("/root/main/retirepayamt/retirebaselist/emplnm", grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("emplnm")));
- model.setValue("/root/main/retirepayamt/retirebaselist/entcodd", grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("entcodd")));
- model.setValue("/root/main/retirepayamt/retirebaselist/retiredd", grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("retiredd")));
-
- submit("TRRWR00303");
- if (cmb_instcd.value == "014") {
- grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 223;
- grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = false;
- }
- else {
- grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 311;
- grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = true;
- }
-
- submit("TRRWR00304");
-
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <line id="line51" class="line_2" style="x1:330px; y1:366px; x2:1189px; y2:366px; "/>
- <caption id="cap_fixamt" class="cell_1" style="left:330px; top:266px; width:95px; height:23px; ">기본급</caption>
- <caption id="caption146" class="cell_1" visibility="hidden" style="left:720px; top:395px; width:95px; height:23px; ">총정근수당(d)</caption>
- <line id="line52" class="line_2" style="x1:330px; y1:418px; x2:1189px; y2:418px; "/>
- <caption id="caption147" class="cell_1" visibility="hidden" style="left:761px; top:368px; width:95px; height:23px; ">총명절수당(c)</caption>
- <caption id="caption213" class="cell_1" style="left:330px; top:368px; width:95px; height:23px; ">총상여(a)</caption>
- <datagrid id="grd_retireamtmmlist" nodeset="/root/main/retirepayamt/retireamtmmlist" caption="사번^월^급여^상여^정근수당^휴가보상비^명절수당" colsep="^" colwidth="9, 62, 121, 103, 65, 68, 65" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:465px; width:325px; height:278px; ">
- <col ref="emplno" visibility="hidden"/>
- <col ref="payym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="pay3" format="(-)#,###" style="text-align:right; "/>
- <col ref="pay12_1" format="(-)#,###" style="text-align:right; "/>
- <col ref="pay12_2" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="pay12_3" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="pay12_4" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- </datagrid>
- <input id="ipt_nrmlworkamttot" ref="/root/main/retirepayamt/retirebaselist/nrmlworkamttot" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:817px; top:398px; width:112px; height:19px; text-align:right; "/>
- <caption id="caption203" class="cell_1" style="left:330px; top:197px; width:95px; height:23px; ">산정기간</caption>
- <input id="ipt_bnustotamt" ref="/root/main/retirepayamt/retirebaselist/bnustotamt" class="input_default" navindex="25" format="#,###" style="left:427px; top:371px; width:112px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- BunsAmt();
- ]]>
- </script>
- </input>
- <line id="line55" class="line_1" style="x1:330px; y1:192px; x2:1189px; y2:192px; "/>
- <caption id="caption206" class="cell_1" style="left:828px; top:197px; width:130px; height:23px; text-align:center; ">M</caption>
- <input id="ipt_totdaynosum" ref="/root/main/retirepayamt/retirebaselist/totdaynosum" class="input_default" disabled="true" format="#,###" style="left:960px; top:243px; width:200px; height:19px; text-align:right; "/>
- <line id="line68" class="line_2" style="x1:329px; y1:290px; x2:1189px; y2:290px; "/>
- <line id="line69" class="line_2" style="x1:330px; y1:316px; x2:1189px; y2:316px; "/>
- <caption id="caption208" class="cell_1" style="left:960px; top:197px; width:231px; height:23px; text-align:center; ">계</caption>
- <line id="line47" class="line_3" style="x1:330px; y1:443px; x2:1189px; y2:443px; "/>
- <caption id="cap_unfixamt" class="cell_1" style="left:330px; top:292px; width:95px; height:23px; ">변동지급</caption>
- <input id="ipt_retirepay" ref="/root/main/retirepayamt/retirebaselist/retirepay" class="input_default" navindex="27" format="#,###" style="left:960px; top:423px; width:200px; height:19px; text-align:right; "/>
- <line id="line70" class="line_2" style="x1:330px; y1:264px; x2:1189px; y2:264px; "/>
- <caption id="caption154" class="cell_2" style="left:330px; top:420px; width:95px; height:23px; ">퇴직금계</caption>
- <caption id="caption210" class="cell_1" style="left:330px; top:197px; width:95px; height:23px; ">구분</caption>
- <caption id="caption155" class="tit_2" style="left:331px; top:175px; width:186px; height:13px; ">퇴직금 계산</caption>
- <input id="ipt_festivealwn" ref="/root/main/retirepayamt/retirebaselist/festivealwn" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:858px; top:371px; width:112px; height:19px; text-align:right; "/>
- <caption id="caption211" class="cell_1" style="left:330px; top:342px; width:95px; height:23px; ">월 평균 급여</caption>
- <button id="btn_caculation" class="btn5_letter5" style="left:1014px; top:172px; width:75px; height:19px; ">
- <caption>퇴직금계산</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_layoffddfrom","ipt_layoffddto","ipt_paydayno"))return;
- if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_paydayno"))return;
-
- model.removenode("/root/main/retirepayamt/retirebaselist/jobflag");
- model.makeValue("/root/main/retirepayamt/retirebaselist/jobflag", 'A');
-
- misfSave("TXRWR00301");
-
- grd_retireempllist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <caption id="caption145" class="cell_1" visibility="hidden" style="left:544px; top:368px; width:97px; height:23px; ">총휴가보상비(b)</caption>
- <caption id="caption52" class="tit_2" style="left:5px; top:443px; width:186px; height:13px; ">급여내역</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:459px; x2:325px; y2:459px; "/>
- <caption id="caption53" class="cell_1" style="left:694px; top:197px; width:132px; height:23px; text-align:center; ">M-1</caption>
- <caption id="caption54" class="cell_1" style="left:426px; top:197px; width:132px; height:23px; text-align:center; ">M-3</caption>
- <caption id="caption55" class="cell_1" style="left:560px; top:197px; width:132px; height:23px; text-align:center; ">M-2</caption>
- <caption id="cap_estmmm" class="cell_1" style="left:330px; top:221px; width:95px; height:42px; ">기간</caption>
- <input id="ipt_totdayno4" ref="/root/main/retirepayamt/retirebaselist/totdayno4" class="input_default" style="left:925px; top:244px; width:29px; height:19px; text-align:right; "/>
- <input id="ipt_totdayno3" ref="/root/main/retirepayamt/retirebaselist/totdayno3" class="input_default" style="left:791px; top:244px; width:29px; height:19px; text-align:right; "/>
- <input id="ipt_totdayno2" ref="/root/main/retirepayamt/retirebaselist/totdayno2" class="input_default" style="left:657px; top:244px; width:29px; height:19px; text-align:right; "/>
- <input id="ipt_totdayno1" ref="/root/main/retirepayamt/retirebaselist/totdayno1" class="input_default" style="left:525px; top:244px; width:29px; height:19px; text-align:right; "/>
- <input id="ipt_basepay3" ref="/root/main/retirepayamt/retirebaselist/basepay3" class="input_default" navindex="14" format="#,###" style="left:694px; top:269px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Basepay();
- ]]>
- </script>
- </input>
- <input id="ipt_basepay2" ref="/root/main/retirepayamt/retirebaselist/basepay2" class="input_default" navindex="13" format="#,###" style="left:560px; top:269px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Basepay();
- ]]>
- </script>
- </input>
- <input id="ipt_basepay1" ref="/root/main/retirepayamt/retirebaselist/basepay1" class="input_default" navindex="12" format="#,###" style="left:426px; top:269px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Basepay();
- ]]>
- </script>
- </input>
- <input id="ipt_basepay4" ref="/root/main/retirepayamt/retirebaselist/basepay4" class="input_default" navindex="15" format="#,###" style="left:828px; top:269px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Basepay();
- ]]>
- </script>
- </input>
- <input id="ipt_basepaysum" ref="/root/main/retirepayamt/retirebaselist/basepaysum" class="input_default" navindex="16" format="#,###" style="left:960px; top:269px; width:200px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Avramt();
- ]]>
- </script>
- </input>
- <input id="ipt_unfixamt3" ref="/root/main/retirepayamt/retirebaselist/unfixamt3" class="input_default" navindex="19" format="#,###" style="left:694px; top:295px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Unfixmat();
- ]]>
- </script>
- </input>
- <input id="ipt_unfixamt2" ref="/root/main/retirepayamt/retirebaselist/unfixamt2" class="input_default" navindex="18" format="#,###" style="left:560px; top:295px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Unfixmat();
- ]]>
- </script>
- </input>
- <input id="ipt_unfixamt1" ref="/root/main/retirepayamt/retirebaselist/unfixamt1" class="input_default" navindex="17" format="#,###" style="left:426px; top:295px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Unfixmat();
- ]]>
- </script>
- </input>
- <input id="ipt_unfixamt4" ref="/root/main/retirepayamt/retirebaselist/unfixamt4" class="input_default" navindex="20" format="#,###" style="left:828px; top:295px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Unfixmat();
- ]]>
- </script>
- </input>
- <input id="ipt_unfixamtsum" ref="/root/main/retirepayamt/retirebaselist/unfixamtsum" class="input_default" navindex="21" format="#,###" style="left:960px; top:295px; width:200px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- Avramt();
- ]]>
- </script>
- </input>
- <input id="ipt_payavg" ref="/root/main/retirepayamt/retirebaselist/payavg" class="input_default" navindex="24" format="#,###" style="left:960px; top:345px; width:200px; height:19px; text-align:right; "/>
- <input id="ipt_holipayamt" ref="/root/main/retirepayamt/retirebaselist/holipayamt" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:643px; top:371px; width:112px; height:19px; text-align:right; "/>
- <caption id="caption57" class="tit_2" style="left:5px; top:330px; width:186px; height:13px; ">퇴직금 내역 List</caption>
- <line id="line21" class="line_1" style="x1:0px; y1:344px; x2:325px; y2:344px; "/>
- <input id="ipt_dutdayno" ref="/root/main/retirepayamt/retirebaselist/dutdayno" class="input_default" disabled="true" format="#,###" style="left:635px; top:147px; width:45px; height:19px; text-align:right; "/>
- <input id="ipt_retireamtcalcdd" ref="/root/main/retirepayamt/retirebaselist/retireamtcalcdd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:430px; top:120px; width:93px; height:19px; "/>
- <input id="ipt_tocalcterm1" ref="/root/main/retirepayamt/retirebaselist/tocalcterm1" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:426px; top:244px; width:96px; height:19px; text-align:center; "/>
- <input id="ipt_fromcalcterm1" ref="/root/main/retirepayamt/retirebaselist/fromcalcterm1" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:426px; top:223px; width:95px; height:19px; text-align:center; "/>
- <input id="ipt_tocalcterm2" ref="/root/main/retirepayamt/retirebaselist/tocalcterm2" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:560px; top:244px; width:95px; height:19px; text-align:center; "/>
- <input id="ipt_fromcalcterm2" ref="/root/main/retirepayamt/retirebaselist/fromcalcterm2" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:560px; top:223px; width:95px; height:19px; text-align:center; "/>
- <input id="ipt_fromcalcterm3" ref="/root/main/retirepayamt/retirebaselist/fromcalcterm3" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:694px; top:223px; width:95px; height:19px; text-align:center; "/>
- <input id="ipt_tocalcterm3" ref="/root/main/retirepayamt/retirebaselist/tocalcterm3" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:694px; top:244px; width:95px; height:19px; text-align:center; "/>
- <input id="ipt_fromcalcterm4" ref="/root/main/retirepayamt/retirebaselist/fromcalcterm4" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:828px; top:223px; width:95px; height:19px; text-align:center; "/>
- <input id="ipt_tocalcterm4" ref="/root/main/retirepayamt/retirebaselist/tocalcterm4" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:828px; top:244px; width:95px; height:19px; text-align:center; "/>
- <caption id="caption43" style="left:525px; top:223px; width:15px; height:20px; ">~</caption>
- <caption id="caption44" style="left:660px; top:223px; width:15px; height:20px; ">~</caption>
- <caption id="caption47" style="left:795px; top:223px; width:15px; height:20px; ">~</caption>
- <caption id="caption48" style="left:930px; top:223px; width:15px; height:20px; ">~</caption>
- <caption id="caption50" style="left:1163px; top:243px; width:24px; height:20px; ">(A)</caption>
- <caption id="caption56" style="left:1163px; top:269px; width:24px; height:20px; ">(B)</caption>
- <caption id="caption58" style="left:1163px; top:295px; width:24px; height:20px; ">(C)</caption>
- <caption id="caption59" style="left:1163px; top:345px; width:24px; height:20px; ">(E)</caption>
- <caption id="caption60" style="left:426px; top:345px; width:509px; height:20px; ">( B + C) / 3</caption>
- <caption id="caption61" visibility="hidden" style="left:425px; top:397px; width:140px; height:20px; ">( a + b + c + d ) / 12</caption>
- <input id="ipt_bnusavg" ref="/root/main/retirepayamt/retirebaselist/bnusavg" class="input_default" navindex="26" format="#,###" style="left:1040px; top:370px; width:120px; height:19px; text-align:right; "/>
- <caption id="caption62" visibility="hidden" style="left:1163px; top:397px; width:24px; height:20px; ">(F)</caption>
- <caption id="caption63" class="cell_1" style="left:960px; top:368px; width:70px; height:23px; ">월평균상여</caption>
- <caption id="caption64" style="left:1163px; top:423px; width:24px; height:20px; ">(G)</caption>
- <caption id="caption65" style="left:425px; top:423px; width:509px; height:20px; ">F / 365 * T</caption>
- <line id="line22" class="line_2" style="x1:330px; y1:392px; x2:1189px; y2:392px; "/>
- <caption id="cap_caclddto" class="cell_1" style="left:332px; top:144px; width:95px; height:23px; ">정산기간</caption>
- <caption id="cap_layoffddto" class="cell_1" style="left:684px; top:144px; width:60px; height:23px; ">휴직기간</caption>
- <button id="button2" class="btn_sw" group="tab" selected="false" style="left:433px; top:446px; width:100px; height:22px; ">
- <caption>세금계산</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="button3" class="btn_sw" group="tab" selected="false" style="left:331px; top:446px; width:100px; height:22px; ">
- <caption>전근무지자료</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <line id="line2" class="line_2" style="x1:330px; y1:341px; x2:1189px; y2:341px; "/>
- <input id="ipt_jobrespalwn1" ref="/root/main/retirepayamt/retirebaselist/jobrespalwn1" class="input_default" navindex="22" format="#,###" style="left:828px; top:320px; width:128px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- JobRespAmt();
- ]]>
- </script>
- </input>
- <input id="ipt_jobrespalwn2" ref="/root/main/retirepayamt/retirebaselist/jobrespalwn2" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:560px; top:320px; width:128px; height:19px; text-align:right; "/>
- <input id="ipt_jobrespalwn13" ref="/root/main/retirepayamt/retirebaselist/jobrespalwn3" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:694px; top:320px; width:128px; height:19px; text-align:right; "/>
- <input id="ipt_jobrespsum" ref="/root/main/retirepayamt/retirebaselist/jobrespsum" class="input_default" navindex="23" format="#,###" style="left:1040px; top:320px; width:120px; height:19px; text-align:right; "/>
- <caption id="caption4" style="left:1163px; top:320px; width:24px; height:20px; ">(D)</caption>
- <input id="ipt_basejobrespalwn" ref="/root/main/retirepayamt/retirebaselist/basejobrespalwn" class="input_search" format="#,###" style="left:632px; top:120px; width:102px; height:19px; text-align:right; "/>
- <caption id="cap_basejobrespalwn" class="cell_1" style="left:569px; top:119px; width:60px; height:23px; ">직책수당</caption>
- <button id="button4" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:655px; top:445px; width:100px; height:22px; ">
- <caption>미지급수당</caption>
- <toggle case="case3" ev:event="onclick"/>
- </button>
- <button id="button6" class="btn5_letter7" style="left:1091px; top:172px; width:97px; height:19px; ">
- <caption>퇴직금계산취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_layoffddfrom","ipt_layoffddto","ipt_paydayno"))return;
- if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_paydayno"))return;
-
- model.removenode("/root/main/retirepayamt/retirebaselist/jobflag");
- model.makeValue("/root/main/retirepayamt/retirebaselist/jobflag", 'D');
-
- misfSave("TXRWR00301");
-
- grd_retireempllist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:960px; top:317px; width:70px; height:23px; ">연차평균</caption>
- <caption id="caption8" class="cell_1" style="left:960px; top:393px; width:70px; height:23px; ">임금총평균</caption>
- <output id="output1" ref="/root/send/retireempl/avgamt" format="(-)#,###" style="left:1040px; top:395px; width:120px; height:19px; text-align:right; "/>
- <caption id="caption3" class="cell_1" style="left:727px; top:317px; width:95px; height:23px; ">연차수당</caption>
- <button id="button8" class="btn5_letter6" style="left:925px; top:172px; width:86px; height:19px; ">
- <caption>퇴직근태계산</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_layoffddfrom","ipt_layoffddto","ipt_paydayno"))return;
- if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_paydayno"))return;
- var retireamtcalcdd = model.getValue("/root/main/retirepayamt/retirebaselist/retireamtcalcdd");
- var calcddfrom = model.getValue("/root/main/retirepayamt/retirebaselist/calcddfrom");
- var caclddto = model.getValue("/root/main/retirepayamt/retirebaselist/caclddto");
- var paydayno = model.getValue("/root/main/retirepayamt/retirebaselist/paydayno");
-
- model.removenode("/root/main/retirepayamt/retirebaselist/jobflag");
- model.makeValue("/root/main/retirepayamt/retirebaselist/jobflag", 'C');
-
- misfSave("TXRWR00301");
-
- grd_retireempllist.dispatch("onrowchanged");
- model.setValue("/root/main/retirepayamt/retirebaselist/retireamtcalcdd", retireamtcalcdd);
- model.setValue("/root/main/retirepayamt/retirebaselist/calcddfrom", calcddfrom);
- model.setValue("/root/main/retirepayamt/retirebaselist/caclddto", caclddto);
- model.setValue("/root/main/retirepayamt/retirebaselist/paydayno", paydayno);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption10" class="cell_1" style="left:720px; top:395px; width:95px; height:23px; ">퇴직전환금</caption>
- <input id="input1" ref="/root/main/retirepayamt/retirebaselist/retirechgamt" class="input_default" format="#,###" style="left:817px; top:398px; width:112px; height:19px; text-align:right; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
- <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1131px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //
- // fGridDataCheck(grd_retirepayamttmplist, "/root/main/retireamt/retireamtlist");
- //
- // var retMes = messageBox("저장 하시겠습니까?", "Q999");
- // if ( retMes != 6) {
- // return;
- // }
- // model.refresh();
- //
- // misfSave("TXRWR00301");
- //
- // if (model.getValue(gvErrorMsgPath + "/type") != "error")misfMsterDetailRetrieve();
- if( checkKeyColumn("grd_retirepayamttmplist") == false) return;
-
- model.copyNode("/root/main/retirepayamttmp/retirepayamttmplist", "/root/main/retirepayamt/retirebaselist");
- grd_retirepayamttmplist.rowStatus(1) = 2;
- model.refresh();
- misfSave("TXRWR00305");
-
- grd_retireempllist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|