123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314 |
- <?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>SMRWY00500_부양가족공제내역등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <suppfamydedu>
- <suppfamydedulist/>
- <famyinfolist/>
- <emplinfolist/>
- </suppfamydedu>
- </main>
- <send>
- <save>
- <suppfamydedulist/>
- </save>
- <suppfamydedu>
- <deduyy/>
- <emplno/>
- <emplnm/>
- <workym/>
- <retireyn>N</retireyn>
- </suppfamydedu>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_famyinfolist);
- misfGridInit(grd_suppfamydedulist);
- misfMsterDetailSet(grd_famyinfolist,null, "TRRWY00501" ,"N");
- misfMsterDetailSet(grd_suppfamydedulist,null, "TRRWY00501" ,"Y");
-
- misfComboComCdListMulti("R0213","grd_suppfamydedulist.famyrelacd");
-
- var nowdate = getCurrentDate();
- var yy = nowdate.substring(0,4);
- ipt_deduyy.value =yy;
- ]]>
- </script>
- <submission id="TRRWY00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/suppfamydedu" resultref="/root/main/suppfamydedu"/>
- <submission id="TXRWY00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" 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:38; width:1195px; height:744px; ">
- <line id="line7" class="line_2" style="x1:0px; y1:167px; x2:230px; y2:167px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:143px; x2:230px; y2:143px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:119px; x2:230px; y2:119px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:95px; x2:230px; y2:95px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:263px; x2:230px; y2:263px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:239px; x2:230px; y2:239px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:215px; x2:230px; y2:215px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:191px; x2:230px; y2:191px; "/>
- <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:1124px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1109px; y1:17px; x2:1109px; y2:39px; "/>
- <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:68px; x2:230px; y2:68px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:288px; x2:1195; y2:288px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:273px; width:148px; height:13px; ">부양가족 공제자 List</caption>
- <button id="btn_grdaddsuppfamydedulist" class="btn2_letter3" style="left:1018px; top:267px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_suppfamydedulist, "A");
- ]]>
- </script>
- </button>
- <button id="btn_savesuppfamydedulistexcel" class="btn2_letter4" style="left:1130px; top:267px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="btn_grddelsuppfamydedulist" class="btn2_letter3" style="left:1074px; top:267px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_suppfamydedulist, "D");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:15px; top:19px; width:94px; height:17px; ">기준년도 :</caption>
- <input id="ipt_deduyy" ref="/root/send/suppfamydedu/deduyy" class="input_s_essential" style="left:100px; top:18px; width:100px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:469px; top:19px; width:86px; height:17px; ">사원번호 :</caption>
- <datagrid id="grd_famyinfolist" nodeset="/root/main/suppfamydedu/famyinfolist" caption="성명^관계^주민번호^주민번호^학력^직업^결혼^사망^비고^사원번호^순번^주민번호|성명^관계^앞자리^뒷자리^학력^직업^결혼^사망^비고^사원번호^순번^주민번호" colsep="^" colwidth="98, 99, 92, 100, 107, 84, 39, 33, 280, 49, 41, 33" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:235px; top:73px; width:960px; height:191px; ">
- <col ref="name"/>
- <col ref="famyrelnm"/>
- <col ref="rregno1"/>
- <col ref="rregno2"/>
- <col ref="scholnm"/>
- <col ref="jobnm"/>
- <col checkvalue="Y,N" disabled="true" ref="maryyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="dethyn" type="checkbox"/>
- <col ref="cmt"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="rregno" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var famyrrgstno1 = "";
- var famyrrgstno2 = "";
- var inputchk = "N";
- var rregno = grd_famyinfolist.valueMatrix(grd_famyinfolist.row, grd_famyinfolist.colRef("rregno"));
- var famynm = grd_famyinfolist.valueMatrix(grd_famyinfolist.row, grd_famyinfolist.colRef("name"));
- var rregno1 = grd_famyinfolist.valueMatrix(grd_famyinfolist.row, grd_famyinfolist.colRef("rregno1"));
- var rregno2 = grd_famyinfolist.valueMatrix(grd_famyinfolist.row, grd_famyinfolist.colRef("rregno2"));
-
- for (var i = 2; i <= grd_suppfamydedulist.rows - 1; i++) {
- famyrrgstno1 = grd_suppfamydedulist.valueMatrix(i, grd_suppfamydedulist.colRef("famyrrgstno1"));
- famyrrgstno2 = grd_suppfamydedulist.valueMatrix(i, grd_suppfamydedulist.colRef("famyrrgstno2"));
-
- if (rregno1 == famyrrgstno1 && rregno2 == famyrrgstno2) {
- inputchk = "Y";
- break;
- }
- }
-
- if (inputchk == "N") {
- misfGridIUD(grd_suppfamydedulist, "A");
- grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famynm")) = famynm;
- grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno1")) = rregno1;
- grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno2")) = rregno2;
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_suppfamydedulist" nodeset="/root/main/suppfamydedu/suppfamydedulist" caption="관계^성명^주민번호^주민번호^국내국외^기본공제^65-69세^70세이상^장애^부녀자^자녀양육비^보험료공제^의료비공제^교육비공제^신용카드^현금영수증^학원비지로^사원번호^공제년도^작업년월^퇴직여부^순번^주소^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^주민번호|관계^성명^앞자리^뒷자리^국내국외^기본공제^65-69세^70세이상^장애^부녀자^자녀양육비^보험료공제^의료비공제^교육비공제^신용카드^현금영수증^학원비지로^사원번호^공제년도^작업년월^퇴직여부^순번^주소^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^주민번호" colsep="^" colwidth="177, 137, 102, 106, 143, 37, 37, 32, 33, 47, 44, 49, 44, 41, 33, 42, 49, 44, 28, 30, 33, 23, 27, 23, 28, 21, 30, 33" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:293px; width:1195px; height:441px; ">
- <col ref="famyrelacd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="famynm" type="input"/>
- <col ref="famyrrgstno1" type="input"/>
- <col ref="famyrrgstno2" type="input"/>
- <col ref="natiinoutflag" type="combo">
- <choices>
- <item>
- <label>국내</label>
- <value>1</value>
- </item>
- <item>
- <label>국외</label>
- <value>0</value>
- </item>
- </choices>
- </col>
- <col checkvalue="1,0" ref="basededuyn" type="checkbox"/>
- <col checkvalue="1,0" ref="rptagrfrom65to69ageyn" type="checkbox"/>
- <col checkvalue="1,0" ref="rptagr70agemorthnyn" type="checkbox"/>
- <col checkvalue="1,0" ref="handcapyn" type="checkbox"/>
- <col checkvalue="1,0" ref="maryfmlyn" type="checkbox"/>
- <col checkvalue="1,0" ref="expsbrngupchldrnyn" type="checkbox"/>
- <col checkvalue="1,0" ref="insuamtdeduyn" type="checkbox"/>
- <col checkvalue="1,0" ref="deduhealcareamtyn" type="checkbox"/>
- <col checkvalue="1,0" ref="schodeduyn" type="checkbox"/>
- <col checkvalue="1,0" ref="crcardyn" type="checkbox"/>
- <col checkvalue="1,0" ref="cashrcptyn" type="checkbox"/>
- <col checkvalue="1,0" ref="acdmycostyn" type="checkbox"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="deduyy" visibility="hidden"/>
- <col ref="workym" visibility="hidden"/>
- <col ref="retireyn" visibility="hidden"/>
- <col ref="dedupsnseq" visibility="hidden"/>
- <col ref="cntcaddr" visibility="hidden"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="famyrrgstno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_suppfamydedulist.colAttribute(grd_suppfamydedulist.col,"ref") == "famyrelacd" ) {
- if (grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrelacd")) == "0" ) {
- grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famynm")) = ipt_emplnm2.value;
- grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno1")) = ipt_famyrrgstno1.value;
- grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno2")) = ipt_famyrrgstno2.value;
- }
-
- // else {
- // grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famynm")) = "";
- // grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno1")) = "";
- // grd_suppfamydedulist.valueMatrix(grd_suppfamydedulist.row, grd_suppfamydedulist.colRef("famyrrgstno2")) = "";
- // }
-
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_emplnm" ref="/root/send/suppfamydedu/emplnm" class="input_default" navindex="21" style="left:649px; top:18px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
- inputEnterKey("ipt_emplnm", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("EMPLNM", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplno" ref="/root/send/suppfamydedu/emplno" class="input_default" navindex="20" style="left:554px; top:18px; width:69px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
- inputEnterKey("ipt_emplno", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplsearch" class="icon_search" style="left:629px; 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();
-
- if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_deptnm" ref="/root/main/suppfamydedu/emplinfolist/deptnm" class="input_default" disabled="true" navindex="33" style="left:72px; top:195px; width:159px; height:19px; "/>
- <caption id="caption51" class="cell_1" style="left:0px; top:145px; width:70px; height:23px; text-align:left; vertical-align:middle; ">소속</caption>
- <input id="ipt_famyrrgstno1" ref="/root/main/suppfamydedu/emplinfolist/rregno1" class="input_essential" disabled="true" navindex="29" style="left:72px; top:123px; width:73px; height:19px; "/>
- <input id="ipt_famyrrgstno2" ref="/root/main/suppfamydedu/emplinfolist/rregno2" class="input_essential" disabled="true" navindex="30" style="left:158px; top:123px; width:73px; height:19px; "/>
- <caption id="caption74" class="cell_1" style="left:0px; top:121px; width:70px; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption53" class="cell_1" style="left:0px; top:193px; width:70px; height:23px; vertical-align:middle; ">부서</caption>
- <caption id="caption42" class="cell_1" style="left:0px; top:73px; width:70px; height:23px; vertical-align:middle; ">사번</caption>
- <caption id="caption45" class="cell_1" style="left:0px; top:169px; width:70px; height:23px; vertical-align:middle; ">직위</caption>
- <input id="ipt_jobposnm" ref="/root/main/suppfamydedu/emplinfolist/jobposnm" class="input_default" disabled="true" navindex="45" style="left:72px; top:171px; width:159px; height:19px; "/>
- <caption id="caption59" class="search_n_b" style="left:146px; top:124px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_emplno2" ref="/root/main/suppfamydedu/emplinfolist/emplno" class="input_default" disabled="true" navindex="20" style="left:72px; top:75px; width:159px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:97px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
- <input id="ipt_emplnm2" ref="/root/main/suppfamydedu/emplinfolist/emplnm" class="input_default" disabled="true" navindex="21" style="left:72px; top:99px; width:159px; height:19px; "/>
- <input id="ipt_instnm" ref="/root/main/suppfamydedu/emplinfolist/instnm" class="input_essential" disabled="true" navindex="30" style="left:72px; top:147px; width:159px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:217px; width:70px; height:23px; text-align:left; vertical-align:middle; ">임용일자</caption>
- <input id="ipt_entcodd" ref="/root/main/suppfamydedu/emplinfolist/entcodd" class="input_essential" disabled="true" navindex="30" inputtype="date" style="left:72px; top:219px; width:159px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:241px; width:70px; height:23px; text-align:left; vertical-align:middle; ">퇴직일자</caption>
- <input id="ipt_retiredd" ref="/root/main/suppfamydedu/emplinfolist/retiredd" class="input_essential" disabled="true" navindex="30" inputtype="date" style="left:72px; top:243px; width:159px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:245px; top:19px; width:86px; height:17px; ">정산년월 :</caption>
- <input id="ipt_workym" ref="/root/send/suppfamydedu/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:330px; top:18px; width:100px; height:19px; "/>
- <select1 id="radio1" ref="/root/send/suppfamydedu/retireyn" appearance="full" cols="2" overflow="visible" style="left:810px; top:18px; width:130px; height:19px; border-style:solid; ">
- <choices>
- <item>
- <label>연말</label>
- <value>N</value>
- </item>
- <item>
- <label>중도퇴직</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <line id="line2" class="line_1" style="x1:235px; y1:68px; x2:1195px; y2:68px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="button36" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRWY00501");
- ]]>
- </script>
- </button>
- <button id="button35" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|