123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <decltaxtotamt>
- <decltaxtotamtlist/>
- </decltaxtotamt>
- </main>
- <init>
- <temp/>
- </init>
- <send>
- <decltaxtotamt>
- <calcyy/>
- <emplno/>
- <emplnm/>
- <prfshipflag/>
- <deptcd/>
- <deptnm/>
- <instcd/>
- <queryflag>B</queryflag>
- </decltaxtotamt>
- <attach>
- <file/>
- <calcyy/>
- <queryflag/>
- </attach>
- </send>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- /* Combo Data Setting
- misfComboComCdListMulti(공통코드군, Combo) */
-
- misfGridInit(grd_decltaxtotamtlist);
- //model.removeNodeset(grd_yyendapplist.nodeset);
- model.refresh();
-
-
-
- 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_deduyy.value =yy;
- cmb_instcd.value = getUserInfo("dutplceinstcd");
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- misfComboComCdListMulti("R0058","cmb_prfshipflag");
-
- addComboItem( "cmb_prfshipflag", "[ 전체 ]", "", "above");
- model.setValue(cmb_prfshipflag.attribute("ref"), "");
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
- ]]>
- </script>
- <submission id="TRRWY06001" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/attach" resultref="/root/main/decltaxtotamt"/>
- <submission id="TRRWY06002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/decltaxtotamt" resultref="/root/main/decltaxtotamt"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- <script type="javascript">
- <![CDATA[
- var fso=new ActiveXObject("Scripting.FileSystemObject");
- function fExcelUpload() {
-
- var maxsize = upload1.attribute("filesize");
- var filename = window.fileDialog("open", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- var filelist = filename.split("|");
- model.removeNodeset("/root/main/list/filelist");
- model.removeNodeset("/root/send/attach");
- //타이틀을 획득한다.
- var s = new String(filelist[filelist.length-1]);
- var ss = s.split("\\");
- if(filename !=""){
- //작업 전 row를 추가 >파일명 유/무에 따른 분기>
- for(var i = 0 ; i < filelist.length ; i++ ){
- grd_attach.addRow(false);
-
- if(filelist[i] == ""){
- //alert(grd_attach.rows - 1);
- grd_attach.removeRow(false);
- grd_attach.refresh();
- }else{
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- //파일크기('tfHelper.checkFileSize' 참조)
- var fileCnt = upload1.getFileCount();
- var lastIndex = fileCnt - 1;
- var fileSize = upload1.getFileSize(lastIndex);
- grd_attach.textmatrix(grd_attach.rows - 1,1) = fileSize;
-
- if (!checkFileSize(upload1)){
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- return;
- }
- }
- }
-
- model.makeValue("/root/send/attach/calcyy",ipt_deduyy.value);
- model.makeValue("/root/send/attach/queryflag","A");
-
- openLoadingBar("파일업로드 작업중입니다... ") ;
- submit("TRRWY06001");
- closeLoadingBar();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <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:40px; width:1195px; height:740px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRWY06002");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:48px; "/>
- <line id="line9" class="line_1" style="x1:2px; y1:74px; x2:1192px; y2:74px; "/>
- <caption id="caption34" class="tit_2" style="left:5px; top:58px; width:144px; height:14px; ">신고 자료 List</caption>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:53px; 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_decltaxtotamtlist.saveExcel(fileName);
- window.exec(fileName);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_decltaxtotamtlist" nodeset="/root/main/decltaxtotamt/decltaxtotamtlist" caption="사번^성명^주민번호^소득월^소득금액|사번^성명^주민번호^소득월^소득금액" colsep="^" colwidth="107, 124, 158, 100, 169" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectfontcolorstyle="invert" selectionmode="free" style="left:0px; top:80px; width:1193px; height:658px; ">
- <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
- <col ref="emplnm"/>
- <col ref="rregno" format="999999-9999999" style="text-align:center; vertical-align:middle; "/>
- <col ref="payym" format="yyyy-mm" style="text-align:center; vertical-align:middle; "/>
- <col ref="taxtotamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
- </datagrid>
- <input id="ipt_deduyy" ref="/root/send/decltaxtotamt/calcyy" class="input_s_essential" style="left:82px; top:18px; width:50px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:2px; top:19px; width:84px; height:17px; ">기준년도:</caption>
- <input id="ipt_emplnm" ref="/root/send/decltaxtotamt/emplnm" class="input_default" navindex="21" style="left:979px; top:18px; width:61px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
- inputEnterKey("ipt_emplno", "xforms-value-changed");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("EMPLNM", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_emplno" class="search_name" style="left:839px; top:19px; width:56px; height:17px; ">사번:</caption>
- <input id="ipt_emplno" ref="/root/send/decltaxtotamt/emplno" class="input_default" navindex="20" style="left:894px; top:18px; width:64px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
- inputEnterKey("ipt_emplno", "xforms-value-changed");
- }
- ]]>
- </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:959px; 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_prfshipflag" ref="/root/send/decltaxtotamt/prfshipflag" class="combo_s_essential" appearance="minimal" style="left:437px; top:19px; width:85px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:358px; top:19px; width:81px; height:17px; ">교직구분:</caption>
- <caption id="caption4" class="search_name" style="left:554px; top:21px; width:61px; height:17px; ">부서:</caption>
- <input id="ipt_deptnm" ref="/root/send/decltaxtotamt/deptnm" class="input_default" style="left:710px; top:19px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_deptcd" class="icon_search" style="left:689px; top:19px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "deptcd,deptnm";
- var instcd = cmb_instcd.value;
- rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/send/decltaxtotamt/deptcd" class="input_default" style="left:610px; top:19px; width:74px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="41943040" validate="true" style="left:890px; top:50px; width:25px; height:20px; "/>
- <button id="btn_upload" class="btn5_letter5" style="left:1045px; top:53px; width:75px; height:19px; ">
- <caption>excel조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExcelUpload();
- ]]>
- </script>
- </button>
- <datagrid id="grd_attach" nodeset="/root/send/attach" class="datagrid1" visibility="hidden" caption="File Name^File Size" colsep="^" colwidth="403, 93" dataheight="23" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:605px; top:430px; width:510px; height:100px; ">
- <col ref="file" style="text-align:center; "/>
- <col ref="filesize" format="#,###" style="text-align:right; "/>
- </datagrid>
- <select1 id="cmb_instcd" ref="/root/send/decltaxtotamt/instcd" class="combo_s_essential" appearance="minimal" style="left:205px; top:18px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:151px; top:19px; width:55px; height:17px; ">기관:</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
- </xhtml:body>
- </xhtml:html>
|