123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>공제신청내역생성</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <ponyemplform>
- <yyendcalcmanbaselist/>
- </ponyemplform>
- </main>
- <send>
- <save>
- <yyendcalcmanbaselist/>
- </save>
- <yyendcalcmanbase>
- <instcd/>
- <calcyy/>
- <workym/>
- <grupjoblncd/>
- <emplno/>
- <emplnm/>
- <retireyn>N</retireyn>
- <dutplcedeptcd/>
- <actndeptqualyn/>
- </yyendcalcmanbase>
- </send>
- <init>
- <medyn/>
- <endwnyn/>
- <eduyn/>
- <eduyn/>
- <insuyn/>
- <housyn/>
- <mamfunyn/>
- <indpensyn/>
- <pensaveyn/>
- <inveassoyn/>
- <crcardyn/>
- <cashrcptyn/>
- <pacashyn/>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_yyendcalcmanbaselist);
- misfMsterDetailSet(grd_yyendcalcmanbaselist,null, "TRRWY00401" ,"N");
- misfComboComCdList('R0059', cmb_grupjoblncd, "Y");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- var nowdate = getCurrentDate();
- var yy = nowdate.substring(0,4);
- var yyyymm = nowdate.substring(0,6);
-
- model.setValue(ipt_calcyy.attribute("ref") , yy);
- model.setValue(ipt_workym.attribute("ref") , yyyymm);
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRRWY00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendcalcmanbase" resultref="/root/main/ponyemplform"/>
- <submission id="TXRWY02501" 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/yyendtaxadstweb/js/RWY001.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:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1109px; y1:16px; x2:1109px; y2:38px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1124px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:186px; height:14px; ">공제내역 대상자 List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1191px; y2:70px; "/>
- <datagrid id="grd_yyendcalcmanbaselist" nodeset="/root/main/ponyemplform/yyendcalcmanbaselist" caption="^사번^성명^직군^직위^입사일자^퇴사일자^직급^호봉^내외국인구분^ 신청서 제출일^정산분류^귀속년월일^귀속년월일^배우자^부녀자^ 부양수 60세이상^ 부양수 20세이하^ 경로자 65세~69세^ 경로자 70세이상^장애인수^자녀양육 6세이하|^사번^성명^직군^직위^입사일자^퇴사일자^직급^호봉^내외국인구분^ 신청서 제출일^정산분류^귀속년월일^귀속년월일^배우자^부녀자^ 부양수 60세이상^ 부양수 20세이하^ 경로자 65세~69세^ 경로자 70세이상^장애인수^자녀양육 6세이하" colsep="^" colwidth="21, 65, 64, 104, 72, 54, 54, 55, 52, 45, 56, 54, 54, 54, 18, 18, 56, 56, 68, 59, 30, 60" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1191px; height:665px; ">
- <col checkvalue="Y,N" ref="selyn" type="checkbox"/>
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="grupjoblnnm"/>
- <col ref="jobposnm"/>
- <col ref="entcodd"/>
- <col ref="retiredd"/>
- <col ref="jobgradnm"/>
- <col ref="payclsnm"/>
- <col ref="ionatiflagnm" style="text-align:center; "/>
- <col ref="appdocprstdd"/>
- <col ref="retireynnm" style="text-align:center; "/>
- <col ref="fromdd"/>
- <col ref="todd"/>
- <col checkvalue="Y,N" ref="ptneryn" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="maryfmlyn" style="text-align:center; "/>
- <col ref="supppsnno60" format="#,###" style="text-align:right; "/>
- <col ref="ipt_supppsnno20" format="#,###" style="text-align:right; "/>
- <col ref="rptagrfrom65to69agecnt" format="#,###" style="text-align:right; "/>
- <col ref="rptagr70agemorthncnt" format="#,###" style="text-align:right; "/>
- <col ref="handicaprcnt" format="#,###" style="text-align:right; "/>
- <col ref="brngupchldrncnt" format="#,###" style="text-align:right; "/>
- </datagrid>
- <select1 id="cmb_instcd" ref="/root/send/yyendcalcmanbase/instcd" class="combo_s_essential" appearance="minimal" style="left:372px; top:18px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:313px; top:18px; width:61px; height:17px; ">기관:</caption>
- <caption id="caption2" class="search_name" style="left:664px; top:18px; width:81px; height:17px; ">사원번호:</caption>
- <input id="ipt_calcyy" ref="/root/send/yyendcalcmanbase/calcyy" class="input_s_essential" style="left:85px; top:18px; width:51px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:5px; top:18px; width:84px; height:17px; ">기준년도:</caption>
- <input id="ipt_emplnm" ref="/root/send/yyendcalcmanbase/emplnm" class="input_default" navindex="21" style="left:843px; top:18px; width:127px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("EMPLNM", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="rdo_retireyn" ref="/root/send/yyendcalcmanbase/retireyn" disabled="true" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:976px; top:18px; width:119px; height:19px; border-style:solid; ">
- <choices>
- <item>
- <label>연말</label>
- <value>N</value>
- </item>
- <item>
- <label>중도퇴직</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_emplno" ref="/root/send/yyendcalcmanbase/emplno" class="input_default" navindex="20" style="left:748px; 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>
- <input id="ipt_workym" ref="/root/send/yyendcalcmanbase/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:224px; top:18px; width:83px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:142px; top:18px; width:84px; height:17px; ">작업년월:</caption>
- <button id="btn_emplsearch" class="icon_search" style="left:823px; 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>
- <select1 id="cmb_grupjoblncd" ref="/root/send/yyendcalcmanbase/grupjoblncd" class="combo_s_essential" appearance="minimal" style="left:558px; top:18px; width:101px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:499px; top:18px; width:66px; height:17px; ">직군:</caption>
- <button id="btn_allsel" class="btn2_letter4" style="left:1037px; top:48px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i = grd_yyendcalcmanbaselist.fixedRows; i < grd_yyendcalcmanbaselist.rows ; i++) {
- grd_yyendcalcmanbaselist.valueMatrix(i, grd_yyendcalcmanbaselist.colRef("selyn")) = "Y";
- }
- ]]>
- </script>
- </button>
- <button id="btn_allselcan" class="btn2_letter6" style="left:1103px; top:48px; width:86px; height:19px; ">
- <caption>전체선택취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i = grd_yyendcalcmanbaselist.fixedRows; i < grd_yyendcalcmanbaselist.rows ; i++) {
- grd_yyendcalcmanbaselist.valueMatrix(i, grd_yyendcalcmanbaselist.colRef("selyn")) = "N";
- }
- ]]>
- </script>
- </button>
- <select id="chk_medyn" ref="/root/init/medyn" overflow="visible" appearance="full" style="left:195px; top:50px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>의료비</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_endwnyn" ref="/root/init/endwnyn" overflow="visible" appearance="full" style="left:260px; top:50px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>기부금</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_eduyn" ref="/root/init/eduyn" overflow="visible" appearance="full" style="left:320px; top:50px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>교육비</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_pacashyn" ref="/root/init/pacashyn" overflow="visible" appearance="full" style="left:975px; top:50px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>지로</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_insuyn" ref="/root/init/insuyn" overflow="visible" appearance="full" style="left:380px; top:50px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>보험료</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_housyn" ref="/root/init/housyn" overflow="visible" appearance="full" style="left:439px; top:50px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>주택자금</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_mamfunyn" ref="/root/init/mamfunyn" overflow="visible" appearance="full" style="left:514px; top:50px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>혼인/이사/장례</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_indpensyn" ref="/root/init/indpensyn" overflow="visible" appearance="full" style="left:620px; top:50px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인연금</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_pensaveyn" ref="/root/init/pensaveyn" overflow="visible" appearance="full" style="left:685px; top:50px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>연금저축</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_inveassoyn" ref="/root/init/inveassoyn" overflow="visible" appearance="full" style="left:753px; top:50px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>투자조합</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_crcardyn" ref="/root/init/crcardyn" overflow="visible" appearance="full" style="left:822px; top:50px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>신용카드</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_cashrcptyn" ref="/root/init/cashrcptyn" overflow="visible" appearance="full" style="left:897px; top:50px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>현금영수증</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn4_letter4" style="left:1109px; top:3px; width:82px; height:22px; ">
- <caption>공제생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //<submission id="TXRWY02501" ref="/root/send/save" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden/temp"/>
- model.removenode("/root/send/save");
- model.makeNode("/root/send/save/yyendcalcmanbaselist");
- model.makeNode("/root/send/save/setcalcitem/medyn");
- model.makeNode("/root/send/save/setcalcitem/endwnyn");
- model.makeNode("/root/send/save/setcalcitem/eduyn");
- model.makeNode("/root/send/save/setcalcitem/insuyn");
- model.makeNode("/root/send/save/setcalcitem/housyn");
- model.makeNode("/root/send/save/setcalcitem/mamfunyn");
- model.makeNode("/root/send/save/setcalcitem/indpensyn");
- model.makeNode("/root/send/save/setcalcitem/pensaveyn");
- model.makeNode("/root/send/save/setcalcitem/inveassoyn");
- model.makeNode("/root/send/save/setcalcitem/crcardyn");
- model.makeNode("/root/send/save/setcalcitem/cashrcptyn");
- model.makeNode("/root/send/save/setcalcitem/pacashyn");
-
- var varcopy = instance1.selectNodes(grd_yyendcalcmanbaselist.nodeset + "[selyn='Y']");
- var rCSV = getNodeListCSV(varcopy);
-
- model.setValue("/root/send/save/yyendcalcmanbaselist", rCSV);
- model.setValue("/root/send/save/setcalcitem/medyn", model.getValue(chk_medyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/endwnyn", model.getValue(chk_endwnyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/eduyn", model.getValue(chk_eduyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/insuyn", model.getValue(chk_insuyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/housyn", model.getValue(chk_housyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/mamfunyn", model.getValue(chk_mamfunyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/indpensyn", model.getValue(chk_indpensyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/pensaveyn", model.getValue(chk_pensaveyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/inveassoyn", model.getValue(chk_inveassoyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/crcardyn", model.getValue(chk_crcardyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/cashrcptyn", model.getValue(chk_cashrcptyn.attribute("ref")));
- model.setValue("/root/send/save/setcalcitem/pacashyn", model.getValue(chk_pacashyn.attribute("ref")));
-
- model.refresh();
-
- submit("TXRWY02501");
-
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1039px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|