123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- <?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>
- <yyendtaxadsttrgtpsn>
- <yyendtaxadsttrgtpsnlist/>
- </yyendtaxadsttrgtpsn>
- </main>
- <send>
- <save>
- <yyendtaxadsttrgtpsnlist/>
- </save>
- <yyendtaxadsttrgtpsn>
- <calcyy/>
- <workym/>
- <grupjoblncd/>
- <emplno/>
- <emplnm/>
- <calcinst/>
- <retireyn>N</retireyn>
- </yyendtaxadsttrgtpsn>
- </send>
- <init/>
- <hidden>
- <temp/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_yyendtaxadsttrgtpsnlist);
- misfMsterDetailSet(grd_yyendtaxadsttrgtpsnlist,null, "TRRWY02001" ,"Y");
-
- //grd_yyendtaxadsttrgtpsnlist.fixedcellcheckbox(0, 1) = true;
- var nowdate = getCurrentDate();
- var yy = nowdate.substring(0,4);
- var mm = nowdate.substring(4,6);
- var yyyymm = nowdate.substring(0,6);
-
- if (mm == "01" || mm == "02") {
- yy = parseInt(yy) - 1;
- yyyymm = yy + "12";
- }
-
- ipt_calcyy.value =yy;
- ipt_workym.value = yyyymm;
-
- model.setValue(cmb_calcinst.attribute("ref"), getUserInfo("dutplceinstcd"));
-
- misfComboInstCdListMulti("cmb_calcinst",getCurrentDate(),"","N");
- misfComboComCdListMulti("R0059","cmb_grupjoblncd");
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_calcinst.disabled = false;
- }
- else {
- cmb_calcinst.disabled = true;
- }
- ]]>
- </script>
- <submission id="TRRWY02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendtaxadsttrgtpsn" resultref="/root/main/yyendtaxadsttrgtpsn"/>
- <submission id="TXRWY02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TXRWY02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendtaxadsttrgtpsn" 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="../../../com/batchinfoweb/js/ZSB001.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"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.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; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; 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_yyendtaxadsttrgtpsnlist" nodeset="/root/main/yyendtaxadsttrgtpsn/yyendtaxadsttrgtpsnlist" caption="^사원번호^성명^주민번호^주민번호^기관^직군^부서^직위^직급^호봉^경리과확인여부^입사일자^퇴사일자^중도퇴직여부^정산기관^직군^소속부서코드^직위코드^직급코드^호봉코드^주민번호|^사원번호^성명^앞자리^뒷자리^기관^직군^부서^직위^직급^호봉^경리과확인여부^입사일자^퇴사일자^중도퇴직여부^정산기관^직군^소속부서코드^직위코드^직급코드^호봉코드^주민번호" colsep="^" colwidth="23, 68, 81, 80, 72, 128, 100, 122, 97, 60, 61, 43, 86, 89, 40, 56, 64, 88, 77, 64, 72, 64" dataheight="25" explorerbar="sort" 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" visibility="hidden"/>
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="rregno1"/>
- <col ref="rregno2"/>
- <col ref="calcinstnm"/>
- <col ref="grupjoblnnm"/>
- <col ref="deptnm"/>
- <col ref="jobposnm"/>
- <col ref="jobgradnm"/>
- <col ref="payclsnm"/>
- <col checkvalue="Y,N" disabled="true" ref="actndeptqualyn" type="checkbox"/>
- <col disabled="true" ref="entcodd" type="inputdate"/>
- <col disabled="true" ref="retiredd" type="inputdate"/>
- <col checkvalue="Y,N" disabled="true" ref="retireyn" type="checkbox"/>
- <col ref="calcinst" visibility="hidden"/>
- <col ref="grupjoblncd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="jobposcd" visibility="hidden"/>
- <col ref="jobgradcd" visibility="hidden"/>
- <col ref="payclscd" visibility="hidden"/>
- <col ref="rregno" visibility="hidden"/>
- <col ref="rregno" visibility="hidden"/>
- <col ref="workym" visibility="hidden"/>
- <col ref="calcyy" visibility="hidden"/>
- </datagrid>
- <select1 id="cmb_calcinst" ref="/root/send/yyendtaxadsttrgtpsn/calcinst" class="combo_s_essential" appearance="minimal" style="left:380px; top:18px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:321px; top:18px; width:61px; height:17px; ">기관:</caption>
- <caption id="caption2" class="search_name" style="left:716px; top:18px; width:81px; height:17px; ">사원번호:</caption>
- <input id="ipt_calcyy" ref="/root/send/yyendtaxadsttrgtpsn/calcyy" class="input_s_essential" maxlength="4" style="left:84px; 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/yyendtaxadsttrgtpsn/emplnm" class="input_default" navindex="21" style="left:895px; top:18px; width:70px; 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>
- <select1 id="rdo_retireyn" ref="/root/send/yyendtaxadsttrgtpsn/retireyn" visibility="hidden" overflow="visible" appearance="full" cols="2" 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/yyendtaxadsttrgtpsn/emplno" class="input_default" navindex="20" style="left:800px; 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>
- <input id="ipt_workym" ref="/root/send/yyendtaxadsttrgtpsn/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:232px; top:18px; width:83px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:150px; top:18px; width:104px; height:17px; ">정산년월:</caption>
- <button id="btn_emplsearch" class="icon_search" style="left:875px; 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>
- <select1 id="cmb_grupjoblncd" ref="/root/send/yyendtaxadsttrgtpsn/grupjoblncd" class="combo_s_essential" appearance="minimal" style="left:589px; top:18px; width:101px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:530px; top:18px; width:66px; height:17px; ">직군:</caption>
- <button id="btn_allsel" class="btn2_letter4" visibility="hidden" style="left:942px; top:48px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i = grd_yyendtaxadsttrgtpsnlist.fixedRows; i < grd_yyendtaxadsttrgtpsnlist.rows; i++) {
- grd_yyendtaxadsttrgtpsnlist.valueMatrix(i, grd_yyendtaxadsttrgtpsnlist.colRef("selyn")) = "Y";
- grd_yyendtaxadsttrgtpsnlist.rowStatus(i) = 2;
- }
- ]]>
- </script>
- </button>
- <button id="btn_allselcan" class="btn2_letter6" visibility="hidden" style="left:1008px; top:48px; width:86px; height:19px; ">
- <caption>전체선택취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i = grd_yyendtaxadsttrgtpsnlist.fixedRows; i < grd_yyendtaxadsttrgtpsnlist.rows ; i++) {
- grd_yyendtaxadsttrgtpsnlist.valueMatrix(i, grd_yyendtaxadsttrgtpsnlist.colRef("selyn")) = "N";
- grd_yyendtaxadsttrgtpsnlist.clearStatus();
- }
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:48px; 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_yyendtaxadsttrgtpsnlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </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:80px; height:22px; ">
- <caption>정산작업</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TXRWY02002");
-
- var curdate = getCurrentDate()
- zsbfOpenBatchLogPopup("yyendtaxadstmgr.YYEndTaxAdstBatch", curdate, curdate);
-
- // for (var i = grd_yyendtaxadsttrgtpsnlist.fixedRows; i < grd_yyendtaxadsttrgtpsnlist.rows; i++) {
- // if (grd_yyendtaxadsttrgtpsnlist.valueMatrix(i, grd_yyendtaxadsttrgtpsnlist.colRef("selyn")) == "Y") {
- // grd_yyendtaxadsttrgtpsnlist.rowStatus(i) = "2";
- // }
- // }
- //
- // misfSave("TXRWY02001");
- ]]>
- </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>
|