123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404 |
- <?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>SMRWY00800_각종지급명세서등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <vardedu>
- <vardedulist>
- <famyrrgstno1/>
- <famyrrgstno2/>
- <famyrelanm/>
- <emplno/>
- <dedupsnseq/>
- <retireyn/>
- <deduyy/>
- <workym/>
- <famynm/>
- <deduitemdetlcd/>
- <vardeduseq/>
- </vardedulist>
- <emplinfolist/>
- </vardedu>
- </main>
- <send>
- <save>
- <vardedulist/>
- </save>
- <vardedu>
- <deduyy/>
- <emplno/>
- <emplnm/>
- <deduitemcd/>
- <workym/>
- <dedukind/>
- </vardedu>
- </send>
- <temp>
- <deduitemdetlcds/>
- </temp>
- <init>
- <cmb_r0000>
- <comcodelist>
- <cdnm>세부항목없음</cdnm>
- <cdid>99</cdid>
- </comcodelist>
- </cmb_r0000>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- misfGridInit(grd_vardedulist);
- misfMsterDetailSet(grd_vardedulist,null, "TRRWY00801" ,"Y");
- btn_save.disabled = !(checkAuth("X"));
- misfComboComCdList('R0262', cmb_paydeduflag);
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
- model.removeNodeset("/root/main/vardedu/vardedulist");
- model.resetInstanceNode("/root/main/vardedu/emplinfolist");
- model.resetInstanceNode("/root/send");
- model.refresh();
- var nowdate = getCurrentDate();
- ipt_deduyy.value = nowdate.substring(0,4);
- ipt_workym.value = nowdate.substring(0,6);
- }
- ]]>
- </script>
- <submission id="TRRWY00801" ref="/root/send/vardedu" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/vardedu"/>
- <submission id="TXRWY00801" ref="/root/send/save" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </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:1195; height:744px; ">
- <line id="line3" class="line_2" style="x1:0px; y1:96px; x2:1195; y2:96px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:120px; x2:1195; y2:120px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_deduyy","ipt_workym","ipt_emplno","cmb_paydeduflag"))return;
- misfMsterDetailRetrieve();
- for(i=2 ; i < grd_vardedulist.rows;i++){
-
- var deduitemcd=model.getValue("/root/main/vardedu/vardedulist["+(i-1)+"]/deduitemcd");
- //model.setValue("","");
- if(deduitemcd =="01"){
- grd_vardedulist.cellComboNodeset(i,2) = "/root/init/cmb_r0258/comcodelist";
- }else if(deduitemcd =="02"){
- grd_vardedulist.cellComboNodeset(i,2) = "/root/init/cmb_r0259/comcodelist";
- }else if(deduitemcd =="03"){
- grd_vardedulist.cellComboNodeset(i,2) = "/root/init/cmb_r0260/comcodelist";
- }else if(deduitemcd =="04"){
- grd_vardedulist.cellComboNodeset(i,2) = "/root/init/cmb_r0261/comcodelist";
- }else if(deduitemcd =="07"){
- grd_vardedulist.cellComboNodeset(i,2) = "/root/init/cmb_r0266/comcodelist";
- }else{
- grd_vardedulist.cellComboNodeset(i,2) = "/root/init/cmb_r0000/comcodelist";
- }
- }
-
- /*
- if(paydeduflag =="01"){ //보험료
- ipt_dedukind.value="insuamtdeduyn";
- misfComboComCdList("R0258", cmb_r0258);
- }else if(paydeduflag =="02"){//교육비
- ipt_dedukind.value="schodeduyn";
- misfComboComCdList("R0259", cmb_r0259);
- }else if(paydeduflag =="03"){//주택자금
- ipt_dedukind.value="alldedu";
- misfComboComCdList("R0260", cmb_r0260);
- }else if(paydeduflag =="04"){//혼인이사장례
- ipt_dedukind.value="alldedu";
- misfComboComCdList("R0261", cmb_r0261);
- }else if(paydeduflag =="07"){//투자조합
- ipt_dedukind.value="alldedu";
- misfComboComCdList("R0266", cmb_r0266);
- }else{
- if(paydeduflag =="08"){
- ipt_dedukind.value="crcardyn";
- }else if(paydeduflag =="09"){
- ipt_dedukind.value="acdmycostyn";
- }else if(paydeduflag =="10"){
- ipt_dedukind.value="cashrcptyn";
- }else{
- ipt_dedukind.value="alldedu";
- }
- }*/
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:157px; height:13px; ">사원정보</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1195; y2:69px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:145px; x2:1195; y2:145px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:130px; width:198px; height:13px; ">각종지급명세서 List</caption>
- <button id="btn_grdaddvardedulist" class="btn2_letter3" style="left:1086px; top:124px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_deduyy","ipt_workym","ipt_emplno","cmb_paydeduflag"))return;
- misfGridIUD(grd_vardedulist, "A");
- var row = grd_vardedulist.row;
- var paydeduflag=cmb_paydeduflag.value;
- if(paydeduflag =="01"){
- grd_vardedulist.cellComboNodeset(row,2) = "/root/init/cmb_r0258/comcodelist";
- }else if(paydeduflag =="02"){
- grd_vardedulist.cellComboNodeset(row,2) = "/root/init/cmb_r0259/comcodelist";
- }else if(paydeduflag =="03"){
- grd_vardedulist.cellComboNodeset(row,2) = "/root/init/cmb_r0260/comcodelist";
- }else if(paydeduflag =="04"){
- grd_vardedulist.cellComboNodeset(row,2) = "/root/init/cmb_r0261/comcodelist";
- }else if(paydeduflag =="07"){
- grd_vardedulist.cellComboNodeset(row,2) = "/root/init/cmb_r0266/comcodelist";
- }else{
- grd_vardedulist.cellComboNodeset(row,2) = "/root/init/cmb_r0000/comcodelist";
- grd_vardedulist.valueMatrix(row, grd_vardedulist.colRef("deduitemdetlcd")) ="99";
-
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_grddelvardedulist" class="btn2_letter3" style="left:1142px; top:124px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_vardedulist, "D");
- ]]>
- </script>
- </button>
- <caption id="cap_emplno" class="search_name" style="left:440px; top:19px; width:81px; height:17px; ">사원번호:</caption>
- <datagrid id="grd_vardedulist" nodeset="/root/main/vardedu/vardedulist" caption="작업년월^공제항목세부코드^주민번호^주민번호^주민번호^성명^가족관계^공제금액^국세청출력여부^사원번호^공제년도^각종순번^공제항목코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^주민번호|작업년월^공제항목세부코드^앞자리^앞자리^뒷자리^성명^가족관계^공제금액^국세청출력여부^사원번호^공제년도^각종순번^공제항목코드^주민번호" colwidth="77, 225, 141, 17, 136, 112, 161, 155, 98, 45, 40, 39, 39, 39, 32, 37" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" colsep="^" style="left:0px; top:150px; width:1195px; height:584px; ">
- <col ref="workym" format="yyyy-mm" style="text-align:center; "/>
- <col id="deduitemdetlcd" ref="deduitemdetlcd" type="combo">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="famyrrgstno1" type="output" style="text-align:center; "/>
- <col ref="popup" type="inputbutton"/>
- <col ref="famyrrgstno2" type="output" style="text-align:center; "/>
- <col ref="famynm" type="output" style="text-align:center; "/>
- <col ref="famyrelanm" type="output" style="text-align:center; "/>
- <col ref="deduamt" type="input" format="#,###" style="text-align:right; vertical-align:middle; padding-right:5; "/>
- <col ref="natitaxsvcprntyn" type="checkbox" checkvalue="Y,N"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="deduyy" visibility="hidden"/>
- <col ref="vardeduseq" visibility="hidden"/>
- <col ref="deduitemcd"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="dedupsnseq" visibility="hidden"/>
- <col ref="retireyn" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_vardedulist.colAttribute(grd_vardedulist.col,"ref") == "popup") {
- var recv_list = "famyrrgstno1,famyrrgstno2,famyrelanm,emplno,dedupsnseq,retireyn,deduyy,workym,famynm";
- misfOpenPopUpList("25", grd_vardedulist,"",recv_list);
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_emplnm" ref="/root/send/vardedu/emplnm" navindex="21" class="input_default" style="left:619px; top:18px; width:125px; height:19px; ">
- <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/vardedu/emplno" navindex="20" class="input_default" style="left:524px; top:18px; width:69px; height:19px; ">
- <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:599px; top:18px; 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_deptnm" ref="/root/main/vardedu/emplinfolist/deptnm" navindex="33" class="input_default" disabled="true" style="left:503px; top:100px; width:193px; height:19px; "/>
- <caption id="caption51" class="cell_1" style="left:698px; top:74px; width:70px; height:23px; text-align:left; vertical-align:middle; ">소속</caption>
- <input id="ipt_famyrrgstno1" ref="/root/main/vardedu/emplinfolist/rregno1" navindex="29" class="input_essential" disabled="true" style="left:503px; top:76px; width:83px; height:19px; "/>
- <input id="ipt_famyrrgstno2" ref="/root/main/vardedu/emplinfolist/rregno2" navindex="30" class="input_essential" disabled="true" style="left:606px; top:76px; width:90px; height:19px; "/>
- <caption id="caption74" class="cell_1" style="left:431px; top:74px; width:70px; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption53" class="cell_1" style="left:431px; top:98px; width:70px; height:23px; vertical-align:middle; ">부서</caption>
- <caption id="caption42" class="cell_1" style="left:0px; top:74px; width:70px; height:23px; vertical-align:middle; ">사번</caption>
- <caption id="caption45" class="cell_1" style="left:0px; top:98px; width:70px; height:23px; vertical-align:middle; ">직위</caption>
- <input id="ipt_jobposnm" ref="/root/main/vardedu/emplinfolist/jobposnm" navindex="45" class="input_default" disabled="true" style="left:72px; top:100px; width:180px; height:19px; "/>
- <caption id="caption59" class="search_n_b" style="left:590px; top:77px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_emplno2" ref="/root/main/vardedu/emplinfolist/emplno" navindex="20" class="input_default" disabled="true" style="left:72px; top:76px; width:180px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:254px; top:74px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
- <input id="ipt_emplnm2" ref="/root/main/vardedu/emplinfolist/emplnm" navindex="21" class="input_default" disabled="true" style="left:326px; top:76px; width:103px; height:19px; "/>
- <input id="ipt_instnm" ref="/root/main/vardedu/emplinfolist/instnm" navindex="30" class="input_essential" disabled="true" style="left:770px; top:76px; width:175px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:698px; top:98px; width:70px; height:23px; text-align:left; vertical-align:middle; ">임용일자</caption>
- <input id="ipt_entcodd" ref="/root/main/vardedu/emplinfolist/entcodd" navindex="30" class="input_essential" disabled="true" inputtype="date" style="left:770px; top:100px; width:175px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:947px; top:98px; width:70px; height:23px; text-align:left; vertical-align:middle; ">퇴직일자</caption>
- <input id="ipt_retiredd" ref="/root/main/vardedu/emplinfolist/retiredd" navindex="30" class="input_essential" disabled="true" inputtype="date" style="left:1019px; top:100px; width:175px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:947px; top:74px; width:70px; height:23px; text-align:left; vertical-align:middle; ">직원분류</caption>
- <input id="ipt_grupjoblnnm" ref="/root/main/vardedu/emplinfolist/grupjoblnnm" navindex="30" class="input_essential" disabled="true" style="left:1019px; top:76px; width:175px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:254px; top:98px; width:70px; height:23px; vertical-align:middle; ">직급/호봉</caption>
- <input id="ipt_ojobgradnm" ref="/root/main/vardedu/emplinfolist/ojobgradnm" navindex="33" class="input_default" disabled="true" style="left:326px; top:100px; width:56px; height:19px; "/>
- <input id="ipt_payclsnm" ref="/root/main/vardedu/emplinfolist/payclsnm" navindex="33" class="input_default" disabled="true" style="left:384px; top:100px; width:45px; height:19px; "/>
- <select1 id="cmb_paydeduflag" ref="/root/send/vardedu/deduitemcd" class="combo_s_essential" appearance="minimal" style="left:850px; top:18px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var paydeduflag=cmb_paydeduflag.value;
- //if(paydeduflag =="01" || paydeduflag =="02" || paydeduflag =="03" || paydeduflag =="04" || paydeduflag =="07"){
- if(paydeduflag =="01"){ //보험료
- ipt_dedukind.value="insuamtdeduyn";
- misfComboComCdList("R0258", cmb_r0258);
- }else if(paydeduflag =="02"){//교육비
- ipt_dedukind.value="schodeduyn";
- misfComboComCdList("R0259", cmb_r0259);
- }else if(paydeduflag =="03"){//주택자금
- ipt_dedukind.value="alldedu";
- misfComboComCdList("R0260", cmb_r0260);
- }else if(paydeduflag =="04"){//혼인이사장례
- ipt_dedukind.value="alldedu";
- misfComboComCdList("R0261", cmb_r0261);
- }else if(paydeduflag =="07"){//투자조합
- ipt_dedukind.value="alldedu";
- misfComboComCdList("R0266", cmb_r0266);
- }else{
- if(paydeduflag =="08"){
- ipt_dedukind.value="crcardyn";
- }else if(paydeduflag =="09"){
- ipt_dedukind.value="acdmycostyn";
- }else if(paydeduflag =="10"){
- ipt_dedukind.value="cashrcptyn";
- }else{
- ipt_dedukind.value="alldedu";
- }
- }
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_r0258" navindex="6" class="combo_default" visibility="hidden" appearance="minimal" style="left:1070px; top:630px; width:110px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_paydeduflag" class="search_name" style="left:770px; top:19px; width:83px; height:17px; ">공제항목:</caption>
- <input id="ipt_deduyy" ref="/root/send/vardedu/deduyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:99px; top:18px; width:100px; height:19px; "/>
- <caption id="cap_workym" class="search_name" style="left:228px; top:20px; width:94px; height:17px; ">작업년월:</caption>
- <caption id="caption3" class="search_name" style="left:15px; top:19px; width:94px; height:17px; ">기준년도:</caption>
- <input id="ipt_workym" ref="/root/send/vardedu/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:312px; top:18px; width:100px; height:19px; "/>
- <input id="ipt_dedukind" ref="/root/send/vardedu/dedukind" visibility="hidden" style="left:1070px; top:590px; width:90px; height:19px; "/>
- <select1 id="cmb_r0259" navindex="6" class="combo_default" visibility="hidden" appearance="minimal" style="left:1070px; top:610px; width:110px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_r0260" navindex="6" class="combo_default" visibility="hidden" appearance="minimal" style="left:1070px; top:690px; width:110px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_r0261" navindex="6" class="combo_default" visibility="hidden" appearance="minimal" style="left:1070px; top:670px; width:110px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_r0266" navindex="6" class="combo_default" visibility="hidden" appearance="minimal" style="left:1070px; top:710px; width:110px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_r0000" navindex="6" class="combo_default" visibility="hidden" appearance="minimal" style="left:1070px; top:650px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="root/init/cmb_r0000/comcodelist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_vardedulist);
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
- misfSave("TXRWY00801");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_vardedulist);
- if (updtdata != "") {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|