123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- <?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>
- <list>
- <print>
- <printdata/>
- <hospisdata/>
- </print>
- </list>
- <codeinfo>
- <codelist/>
- </codeinfo>
- <filecreat>
- <filedata/>
- </filecreat>
- </main>
- <send>
- <instcd/>
- <sanctslipdd/>
- <yymm/>
- <bupo/>
- <singogubn1/>
- <singogubn2/>
- <singogubn3/>
- <singogubn4/>
- <singogubn5/>
- <singogubn6/>
- <ilgal/>
- <myungse/>
- </send>
- <init>
- <baseinfo>
- <singogubn>
- <cdnm/>
- <cdid/>
- </singogubn>
- </baseinfo>
- </init>
- <temp/>
- <print/>
- <hidden>
- <filename/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- //baseinfo();
-
- ]]>
- </script>
- <submission id="TRRAS00270" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/print"/>
- <submission id="TRRAS15001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/codeinfo"/>
- <submission id="TRRAS00271" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/filecreat"/>
- </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/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
-
- model.resetInstanceNode("/root/PrintRfehemht");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- //ipt_sanctslipdd.value = getCurrentDate().toDate("YYYYMM").getDateFormat("YYYYMM");
- //ipt_sanctslipdd.value = getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMM");
- ipt_sanctslipdd.value = getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMM")
- ipt_yymm.value = getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMM")
-
- cmb_instcd.value = getUserInfo("dutplceinstcd");
-
- model.setValue("/root/send/bupo", " N");
- model.setValue("/root/send/singogubn1", "Y");
- model.setValue("/root/send/singogubn2", "N");
- model.setValue("/root/send/singogubn3", "N");
- model.setValue("/root/send/singogubn4", "N");
- model.setValue("/root/send/singogubn5", "N");
- model.setValue("/root/send/singogubn6", "N");
- model.setValue("/root/send/ilgal", "N");
- model.setValue("/root/send/myungse", "N");
- model.refresh();
-
-
-
- makeReportPreview(0,160,1195,610);
- exeReportPreview("RPRAT01300", "XMLSTR");
-
-
- //misfGetUserAuth();
-
- /* if (DUTY_PAY_YN == "Y" ) {
- cmb_instcd.disabled = false;
- }
- else {
- cmb_instcd.disabled = true;
- }
-
- model.refresh(); */
- }
-
- function baseinfo(){
- addComboItem("cmb_singogubn","매월","1","1");
- addComboItem("cmb_singogubn","반기","2","2");
- addComboItem("cmb_singogubn","수정","3","3");
- addComboItem("cmb_singogubn","연말","4","4");
- addComboItem("cmb_singogubn","소득처분","5","5");
- addComboItem("cmb_singogubn","환급신청","6","6");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">원천징수이행상황신고서</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line12" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter5" style="left:1032px; top:3px; width:92px; height:22px; ">
- <caption>신고서작성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMRAS15000","","","","","", "", "" );
- //model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="group6" style="left:0px; top:5px; width:1194px; height:80px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:80px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1125px; top:29px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var flag = model.getValue("/root/main/codeinfo/codelist/makeflag");
-
- if(!isRequiredControls("cmb_instcd"))return;
-
- submit("TRRAS00270");
- // submit("TRRAS15001");
- model.makeNode("/root/main/list/print/printdata/singogubn1");
- model.makeNode("/root/main/list/print/printdata/singogubn2");
- model.makeNode("/root/main/list/print/printdata/singogubn3");
- model.makeNode("/root/main/list/print/printdata/singogubn4");
- model.makeNode("/root/main/list/print/printdata/singogubn5");
- model.makeNode("/root/main/list/print/printdata/singogubn6");
- model.makeNode("/root/main/list/print/printdata/bupo");
- model.makeNode("/root/main/list/print/printdata/ilgal");
- model.makeNode("/root/main/list/print/printdata/myungse");
-
- model.setValue("/root/main/list/print/printdata/singogubn1", model.getValue("/root/send/singogubn1"));
- model.setValue("/root/main/list/print/printdata/singogubn2", model.getValue("/root/send/singogubn2"));
- model.setValue("/root/main/list/print/printdata/singogubn3", model.getValue("/root/send/singogubn3"));
- model.setValue("/root/main/list/print/printdata/singogubn4", model.getValue("/root/send/singogubn4"));
- model.setValue("/root/main/list/print/printdata/singogubn5", model.getValue("/root/send/singogubn5"));
- model.setValue("/root/main/list/print/printdata/singogubn6", model.getValue("/root/send/singogubn6"));
- model.setValue("/root/main/list/print/printdata/bupo", model.getValue("/root/send/bupo"));
- model.setValue("/root/main/list/print/printdata/ilgal", model.getValue("/root/send/ilgal"));
- model.setValue("/root/main/list/print/printdata/myungse", model.getValue("/root/send/myungse"));
-
- //copyNodesetType("/root/main/list/print", "/root/main/codeinfo", "before");
- /* model.makeNode("/root/main/list/print/codelist/makeflag");
- model.makeNode("/root/main/list/print/codelist/inwon");
- model.makeNode("/root/main/list/print/codelist/makepay");
- model.makeNode("/root/main/list/print/codelist/maketax");
- model.makeNode("/root/main/list/print/codelist/yymm");
-
- model.makeNode("/root/main/list/print/codelist/makeflag2");
- model.makeNode("/root/main/list/print/codelist/inwon2");
- model.makeNode("/root/main/list/print/codelist/makepay2");
- model.makeNode("/root/main/list/print/codelist/maketax2");
- model.makeNode("/root/main/list/print/codelist/yymm2");
-
- model.makeNode("/root/main/list/print/codelist/makeflag3");
- model.makeNode("/root/main/list/print/codelist/inwon3");
- model.makeNode("/root/main/list/print/codelist/makepay3");
- model.makeNode("/root/main/list/print/codelist/maketax3");
- model.makeNode("/root/main/list/print/codelist/yymm3");
-
- model.makeNode("/root/main/list/print/codelist/makeflag4");
- model.makeNode("/root/main/list/print/codelist/inwon4");
- model.makeNode("/root/main/list/print/codelist/makepay4");
- model.makeNode("/root/main/list/print/codelist/maketax4");
- model.makeNode("/root/main/list/print/codelist/yymm4");
-
- //if(flag == "1"){
- model.setValue("/root/main/list/print/codelist/inwon", model.getValue("/root/main/codeinfo/codelist[makeflag='1']/inwon"));
- model.setValue("/root/main/list/print/codelist/makepay", model.getValue("/root/main/codeinfo/codelist[makeflag='1']/makepay"));
- model.setValue("/root/main/list/print/codelist/maketax", model.getValue("/root/main/codeinfo/codelist[makeflag='1']/maketax"));
- model.setValue("/root/main/list/print/codelist/yymm", model.getValue("/root/main/codeinfo/codelist[makeflag='1']/yymm"));
- //}
- //else if(flag == "2"){
- model.setValue("/root/main/list/print/codelist/inwon2", model.getValue("/root/main/codeinfo/codelist[makeflag='2']/inwon"));
- model.setValue("/root/main/list/print/codelist/makepay2", model.getValue("/root/main/codeinfo/codelist[makeflag='2']/makepay"));
- model.setValue("/root/main/list/print/codelist/maketax2", model.getValue("/root/main/codeinfo/codelist[makeflag='2']/maketax"));
- model.setValue("/root/main/list/print/codelist/yymm2", model.getValue("/root/main/codeinfo/codelist[makeflag='2']/yymm"));
- //}
- //else if(flag == "3"){
- model.setValue("/root/main/list/print/codelist/inwon3", model.getValue("/root/main/codeinfo/codelist[makeflag='3']/inwon"));
- model.setValue("/root/main/list/print/codelist/makepay3", model.getValue("/root/main/codeinfo/codelist[makeflag='3']/makepay"));
- model.setValue("/root/main/list/print/codelist/maketax3", model.getValue("/root/main/codeinfo/codelist[makeflag='3']/maketax"));
- model.setValue("/root/main/list/print/codelist/yymm3", model.getValue("/root/main/codeinfo/codelist[makeflag='3']/yymm"));
- //}
- //else if(flag == "4"){
- model.setValue("/root/main/list/print/codelist/inwon4", model.getValue("/root/main/codeinfo/codelist[makeflag='4']/inwon"));
- model.setValue("/root/main/list/print/codelist/makepay4", model.getValue("/root/main/codeinfo/codelist[makeflag='4']/makepay"));
- model.setValue("/root/main/list/print/codelist/maketax4", model.getValue("/root/main/codeinfo/codelist[makeflag='4']/maketax"));
- model.setValue("/root/main/list/print/codelist/yymm4", model.getValue("/root/main/codeinfo/codelist[makeflag='4']/yymm"));
- //}
- //model.refresh();*/
-
- exeReportPreview("RPRAT01300", "XMLSTR");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line14" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:72px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_instcd" class="search_name" style="left:6px; top:16px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:95px; top:15px; width:161px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_sanctslipdd" class="search_name" style="left:311px; top:16px; width:86px; height:17px; ">정산년월 :</caption>
- <caption id="cap_singogubn" class="search_name" style="left:537px; top:16px; width:86px; height:17px; ">신고구분 :</caption>
- <input id="ipt_yymm" ref="/root/send/yymm" class="input_s_essential" visibility="hidden" inputtype="date" format="yyyy-mm" style="left:399px; top:15px; width:81px; height:19px; text-align:center; "/>
- <caption id="caption3" style="left:625px; top:16px; width:26px; height:20px; ">매월</caption>
- <bool id="bool3" checkvalue="Y,N" ref="/root/send/singogubn1" style="left:652px; top:15px; width:18px; height:19px; "/>
- <bool id="bool4" checkvalue="Y,N" ref="/root/send/singogubn2" style="left:697px; top:15px; width:18px; height:19px; "/>
- <caption id="caption4" style="left:670px; top:16px; width:26px; height:20px; ">반기</caption>
- <bool id="bool5" checkvalue="Y,N" ref="/root/send/singogubn3" style="left:740px; top:15px; width:18px; height:19px; "/>
- <caption id="caption5" style="left:714px; top:16px; width:26px; height:20px; ">수정</caption>
- <bool id="bool6" checkvalue="Y,N" ref="/root/send/singogubn4" style="left:784px; top:15px; width:18px; height:19px; "/>
- <caption id="caption7" style="left:757px; top:16px; width:26px; height:20px; ">연말</caption>
- <bool id="bool7" checkvalue="Y,N" ref="/root/send/singogubn5" style="left:852px; top:15px; width:18px; height:19px; "/>
- <caption id="caption8" style="left:800px; top:16px; width:50px; height:20px; ">소득처분</caption>
- <bool id="bool8" checkvalue="Y,N" ref="/root/send/singogubn6" style="left:921px; top:15px; width:18px; height:19px; "/>
- <caption id="caption9" style="left:869px; top:16px; width:50px; height:20px; ">환급신청</caption>
- <bool id="bool1" checkvalue="Y,N" ref="/root/send/bupo" style="left:90px; top:47px; width:25px; height:20px; "/>
- <caption id="caption1" class="search_name" style="left:6px; top:48px; width:86px; height:17px; ">부표작성 :</caption>
- <bool id="bool9" checkvalue="Y,N" ref="/root/send/ilgal" style="left:256px; top:47px; width:25px; height:20px; "/>
- <caption id="caption10" class="search_name" style="left:148px; top:48px; width:115px; height:17px; ">일괄납부여부 :</caption>
- <input id="ipt_sanctslipdd" ref="/root/send/sanctslipdd" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:399px; top:15px; width:81px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/yymm", model.getValue("/root/send/sanctslipdd"));
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:311px; top:48px; width:115px; height:17px; ">승계명세여부 :</caption>
- <bool id="bool2" checkvalue="Y,N" ref="/root/send/myungse" style="left:422px; top:47px; width:25px; height:20px; "/>
- </group>
- <caption id="caption22" class="tit_2" style="left:5px; top:101px; width:201px; height:13px; ">원천징수이행상황신고서</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:116px; x2:1194px; y2:116px; "/>
- <button id="button2" class="btn2_letter4" style="left:1129px; top:95px; width:64px; height:19px; ">
- <caption>파일생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", "", false, getCurrentDate() + ".201", "", "All Files (*.*)|*.*|Text Files(*.txt)|*.txt");
- if (fileName != "")
- {
- //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
- var param = "&instcd=" + model.getValue("/root/send/instcd");
- param += "&sanctslipdd=" + model.getValue("/root/send/sanctslipdd");
- param += "&yymm=" + model.getValue("/root/send/yymm");
- param += "&bupo=" + model.getValue("/root/send/bupo");
- param += "&singogubn1=" + model.getValue("/root/send/singogubn1");
- param += "&singogubn2=" + model.getValue("/root/send/singogubn2");
- param += "&singogubn3=" + model.getValue("/root/send/singogubn3");
- param += "&singogubn4=" + model.getValue("/root/send/singogubn4");
- param += "&singogubn5=" + model.getValue("/root/send/singogubn5");
- param += "&singogubn6=" + model.getValue("/root/send/singogubn6");
- param += "&ilgal=" + model.getValue("/root/send/ilgal");
- param += "&myungse=" + model.getValue("/root/send/myungse");
-
-
- model.download(getActionURL("TRRAS00271") + param, fileName, true);
-
- window.exec(fileName);
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|