123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- <?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>
- <yyendcalcbase>
- <yyendcalcbaselist/>
- </yyendcalcbase>
- <yyendcalcrslt>
- <yyendcalcrsltlist/>
- </yyendcalcrslt>
- </main>
- <send>
- <yyendcalcbase>
- <calcyy/>
- <calcinst/>
- <retireyn>N</retireyn>
- <deptnm/>
- <emplnm/>
- <deptcd/>
- <emplno/>
- <workym/>
- </yyendcalcbase>
- <yyendcalcrslt>
- <emplno/>
- <calcyy/>
- <calcseq/>
- </yyendcalcrslt>
- </send>
- <init/>
- <hidden>
- <temp/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_yyendcalcbaselist);
- misfGridInit(grd_yyendcalcrsltlist);
-
- misfMsterDetailSet(grd_yyendcalcbaselist,null, "TRRWY01101" ,"N");
- misfMsterDetailSet(grd_yyendcalcrsltlist,grd_yyendcalcbaselist, "TRRWY02102" ,"N");
-
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYY");
-
- //model.setValue(ipt_calcyy.attribute("ref") , cvtdate.getAddDate(0,"M").getDateFormat("YYYY"));
- model.setValue(ipt_calcyy.attribute("ref") , curdate.substr(0,4));
- model.setValue(ipt_workym.attribute("ref") , curdate.substr(0,6));
- model.setValue(cmb_calcinst.attribute("ref"), getUserInfo("dutplceinstcd"));
-
- misfComboInstCdListMulti("cmb_calcinst",getCurrentDate(),"","N");
- for(licol = 0; licol < grd_yyendcalcrsltlist.cols ; licol++)
- if(grd_yyendcalcrsltlist.colRef("calcnm") != licol)grd_yyendcalcrsltlist.mergecol(licol) = false;
-
- grd_yyendcalcrsltlist.mergecells = "bycol";
-
- grd_yyendcalcrsltlist.subtotalposition = "after";
-
- misfGetUserAuth();
-
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_calcinst.disabled = false;
- }
- else {
- cmb_calcinst.disabled = true;
- }
- ]]>
- </script>
- <submission id="TRRWY01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendcalcbase" resultref="/root/main/yyendcalcbase"/>
- <submission id="TRRWY02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendcalcrslt" resultref="/root/main/yyendcalcrslt"/>
- </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/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면이 다른 폼에 의해 불려졌을때 실행!!
- function fAfterRetrive()
- {
- return;
- grd_yyendcalcrsltlist.subtotal("clear", 0, 0);
- grd_yyendcalcrsltlist.subtotal("sum",grd_yyendcalcrsltlist.colRef("calcnm") , grd_yyendcalcrsltlist.colRef("calcamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- grd_yyendcalcrsltlist.subtotal("sum",grd_yyendcalcrsltlist.colRef("calcnm") , grd_yyendcalcrsltlist.colRef("sumcalcamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
- }
- ]]>
- </script>
- </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; "/>
- <caption id="caption3" class="search_name" style="left:8px; top:19px; width:57px; height:17px; ">년도:</caption>
- <input id="ipt_calcyy" ref="/root/send/yyendcalcbase/calcyy" class="input_s_essential" maxlength="4" style="left:64px; top:18px; width:66px; height:19px; "/>
- <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[
- //submit("TRRWY01101");
- misfMsterDetailRetrieve();
- fAfterRetrive();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:134px; height:14px; ">연말 정산 인원 List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1190px; y2:70px; "/>
- <datagrid id="grd_yyendcalcbaselist" nodeset="/root/main/yyendcalcbase/yyendcalcbaselist" caption="사원번호^성명^주민번호^주민번호^부서^직위^직책^직급^호봉^년도^차수^중도퇴직^기관|사원번호^성명^앞자리^뒷자리^부서^직위^직책^직급^호봉^년도^차수^중도퇴직^기관" colsep="^" colwidth="94, 109, 104, 104, 248, 155, 141, 106, 89, 21, 19, 34, 28" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1190px; height:170px; ">
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="rregno1"/>
- <col ref="rregno2"/>
- <col ref="deptnm"/>
- <col ref="jobposnm"/>
- <col ref="jobrespnm"/>
- <col ref="jobgradnm"/>
- <col ref="payclsnm"/>
- <col ref="calcyy" visibility="hidden"/>
- <col ref="calcseq" visibility="hidden"/>
- <col ref="retireyn" visibility="hidden"/>
- <col ref="calcinst" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- fAfterRetrive();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_calcinst" ref="/root/send/yyendcalcbase/calcinst" class="combo_s_essential" appearance="minimal" style="left:405px; top:18px; width:170px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:346px; top:19px; width:61px; height:17px; ">기관:</caption>
- <caption id="caption13" class="search_name" style="left:580px; top:19px; width:60px; height:17px; ">부서:</caption>
- <output id="opt_deptnm" ref="/root/send/yyendcalcbase/deptnm" class="output_fix" style="left:735px; top:18px; width:117px; height:19px; "/>
- <button id="btn_deptcd" class="icon_search" disabled="false" style="left:717px; top:18px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "deptcd,deptnm";
- rpbfOpenDeptCdHelp(ipt_deptcd,recv_list);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/send/yyendcalcbase/deptcd" class="input_s_essential" disabled="false" navindex="5" style="left:637px; top:18px; width:77px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* 부서코드,명 입력시 Validation Check
- misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="opt_emplnm" ref="/root/send/yyendcalcbase/emplnm" class="output_fix" style="left:1020px; top:18px; width:80px; height:19px; "/>
- <input id="ipt_emplno" ref="/root/send/yyendcalcbase/emplno" class="input_s_essential" disabled="false" navindex="5" style="left:922px; top:18px; width:77px; 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_emplno" class="icon_search" disabled="false" style="left:1002px; 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>
- <caption id="caption2" class="search_name" style="left:860px; top:19px; width:60px; height:17px; ">사번:</caption>
- <select1 id="rdo_retireyn" ref="/root/send/yyendcalcbase/retireyn" class="radio_search" disabled="false" navindex="54" visibility="hidden" overflow="visible" appearance="full" cols="2" itemheight="18" itemwidth="53" style="left:1070px; top:20px; width:30px; height:19px; text-align:center; border-style:solid; ">
- <choices>
- <item>
- <label>중도퇴직</label>
- <value>Y</value>
- </item>
- <item>
- <label>연말</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="tit_2" style="left:5px; top:250px; width:115px; height:14px; ">근로 소득 List</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:265px; x2:1190px; y2:265px; "/>
- <datagrid id="grd_yyendcalcrsltlist" nodeset="/root/main/yyendcalcrslt/yyendcalcrsltlist" caption="소득구분명^소득및공제항목명^소득및공제금액^소득공제입력금액" colsep="^" colwidth="153, 393, 303, 303" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:270px; width:1190px; height:470px; ">
- <col ref="calcnm"/>
- <col ref="calcflagnm"/>
- <col ref="calcamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="sumcalcamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
- </datagrid>
- <caption id="caption5" class="search_name" style="left:155px; top:19px; width:86px; height:17px; ">정산년월 :</caption>
- <input id="ipt_workym" ref="/root/send/yyendcalcbase/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:240px; top:18px; width:80px; height:19px; "/>
- </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_clear" class="btn4_letter3" style="left:1124px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|