123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- <?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>
- <etcorchlist/>
- </list>
- </main>
- <init/>
- <send>
- <reqparams>
- <frdd/>
- <todd/>
- <instcd/>
- <chrgflag/>
- <instcdflag/>
- <groupid/>
- </reqparams>
- <fileparams>
- <type/>
- <taxoffice>504</taxoffice>
- <presenter>2</presenter>
- <presenterno/>
- <hometaxid>KNUHACC</hometaxid>
- <taxprgcode>9000</taxprgcode>
- <companyno>5018206653</companyno>
- <companynm>경북대학교병원</companynm>
- <companynmsize/>
- <deptnm>기획조정팀 재무파트</deptnm>
- <name>오성호</name>
- <tel>0534205046</tel>
- <companyrow>1</companyrow>
- <period>1</period>
- <empty/>
- <president>백운이</president>
- <email>acc@hmail.knu.ac.kr</email>
- <totcnt/>
- <totpayamt/>
- <totneedpay/>
- <tottaxpay/>
- <totincmtax/>
- <totresdntax/>
- <totsumtax/>
- <totfreetax/>
- </fileparams>
- </send>
- <init>
- </init>
- <hidden>
- <resultflag/>
- </hidden>
- <temp>
- <filelist/>
- </temp>
- </root>
- </instance>
- <bind id="bind1" ref="/root/send/fileparams/totcnt" calculate="sum(/root/main/list/etcorchlist/cnt)"/>
- <bind id="bind2" ref="/root/send/fileparams/totpayamt" calculate="sum(/root/main/list/etcorchlist/paytotamt)"/>
- <bind id="bind3" ref="/root/send/fileparams/totneedpay" calculate="sum(/root/main/list/etcorchlist/needpay)"/>
- <bind id="bind4" ref="/root/send/fileparams/tottaxpay" calculate="sum(/root/main/list/etcorchlist/taxpay)"/>
- <bind id="bind5" ref="/root/send/fileparams/totincmtax" calculate="sum(/root/main/list/etcorchlist/incmtax)"/>
- <bind id="bind6" ref="/root/send/fileparams/totresdntax" calculate="sum(/root/main/list/etcorchlist/resdntax)"/>
- <bind id="bind7" ref="/root/send/fileparams/totsumtax" calculate="sum(/root/main/list/etcorchlist/sumtax)"/>
- <bind id="bind8" ref="/root/send/fileparams/totfreetax" calculate="sum(/root/main/list/etcorchlist/freetax)"/>
- <submission id="TRRAT00511" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqparams" resultref="/root/main/list"/>
- <submission id="TRRAT00512" mediatype="application/x-www-form-urlencoded" method="get" ref="/root/send/fileparams" resultref="/root/temp"/>
- </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="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 2011.09.26 cyw 해당실무자만이 메뉴접근 가능하도록 수정.
- misfComboComCdList("030R0018",cmb_gruptype);
- var cnt = getNodesetCount("/root/init/cmb_gruptype/comcodelist");
- var chk = 0;
- for(var i = 1; i <= cnt; i++ ){
- if( model.getValue("/root/init/cmb_gruptype/comcodelist[" + i + "]/cdid") == getUserId() ){
- chk++;
- }
- }
-
- if( chk > 0 ){
- group2.disabled = false;
- }else{
- group2.disabled = true;
- messageBox("해당 화면에 권한이 없습니다.", "C000");
- }
-
- misfComboInstCdListMulti("cmb_instcd", getCurrentDate(), "", "N");
- var today = getCurrentDate();
- // var cur_yymm = parseInt(today.substring(0, 6));
- model.setValue("/root/send/reqparams/frdd", today);
- model.setValue("/root/send/reqparams/todd", today);
- //2011.08.31 cyw 통합으로 조회되도록 수정
- addComboItem("cmb_instcd", "통합(본원+칠곡)", "all", "above");
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/reqparams/chrgflag", "B");
- model.refresh();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,763;" 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:15px; width:1195px; height:748px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1193px; height:38px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1117px; top:13px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/list/etcorchlist");
- submit("TRRAT00511");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1095px; y1:13px; x2:1095px; y2:34px; "/>
- <caption id="cap_payinst" class="search_name" style="left:15px; top:16px; width:86px; height:17px; ">소속기관 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/reqparams/instcd" class="combo_s_essential" appearance="minimal" style="left:106px; top:15px; width:134px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" class="search_name" style="left:275px; top:15px; width:86px; height:17px; ">조회기간 :</caption>
- <input id="frdd" ref="/root/send/reqparams/frdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:365px; top:15px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption4" style="left:473px; top:17px; width:15px; height:20px; text-align:center; ">~</caption>
- <input id="todd" ref="/root/send/reqparams/todd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:496px; top:15px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption29" class="search_name" style="left:625px; top:15px; width:90px; height:17px; ">소득구분 :</caption>
- <select1 id="rdo_chrgflag" ref="/root/send/reqparams/chrgflag" class="radio_search" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:717px; top:15px; width:243px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>사업소득</label>
- <value>B</value>
- </item>
- <item>
- <label>기타소득</label>
- <value>C</value>
- </item>
- <item>
- <label>일용소득</label>
- <value>A</value>
- </item>
- </choices>
- </select1>
- <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:209px; height:13px; ">전자매체생성</caption>
- <line id="line193" class="line_1" style="x1:0px; y1:69px; x2:1190px; y2:69px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:74px; width:97px; height:23px; text-align:center; vertical-align:middle; ">법인명(상호)</caption>
- <input id="input1" ref="/root/send/fileparams/companynm" class="input_default" style="left:100px; top:76px; width:150px; height:19px; text-align:left; "/>
- <caption id="caption9" class="cell_1" style="left:254px; top:74px; width:97px; height:23px; text-align:center; vertical-align:middle; ">사업자등록번호</caption>
- <input id="input2" ref="/root/send/fileparams/companyno" class="input_default" style="left:354px; top:76px; width:150px; height:19px; text-align:left; "/>
- <caption id="caption13" class="cell_1" style="left:508px; top:74px; width:97px; height:23px; text-align:center; vertical-align:middle; ">홈택스 ID</caption>
- <input id="input6" ref="/root/send/fileparams/hometaxid" class="input_default" style="left:608px; top:76px; width:150px; height:19px; text-align:left; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:99px; width:97px; height:23px; text-align:center; vertical-align:middle; ">담당자 성명</caption>
- <input id="input3" ref="/root/send/fileparams/name" class="input_default" style="left:100px; top:101px; width:150px; height:19px; text-align:left; "/>
- <caption id="caption11" class="cell_1" style="left:254px; top:99px; width:97px; height:23px; text-align:center; vertical-align:middle; ">담당자 부서</caption>
- <input id="input4" ref="/root/send/fileparams/deptnm" class="input_default" style="left:354px; top:101px; width:150px; height:19px; text-align:left; "/>
- <caption id="caption12" class="cell_1" style="left:508px; top:99px; width:97px; height:23px; text-align:center; vertical-align:middle; ">담당자 전화번호</caption>
- <input id="input5" ref="/root/send/fileparams/tel" class="input_default" style="left:608px; top:101px; width:150px; height:19px; text-align:left; "/>
- <button id="btn_save" class="btn4_letter6" style="left:1084px; top:77px; width:104px; height:22px; ">
- <caption>전산매체생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var tempfilenm = "";
- var param = "";
- var strEntrregno = model.getValue("/root/send/fileparams/companyno");
-
- if(model.getValue("/root/send/reqparams/chrgflag") == "B"){ //사업소득
- tempfilenm = "F" + strEntrregno.substr(0,7) + "." + strEntrregno.substr(7,3);
- model.setValue("/root/send/fileparams/type", "24");
- model.setValue("/root/send/fileparams/companynmsize", "30");
- model.setValue("/root/send/fileparams/empty", "25");
- }else if(model.getValue("/root/send/reqparams/chrgflag") == "C"){ //기타소득
- tempfilenm = "G" + strEntrregno.substr(0,7) + "." + strEntrregno.substr(7,3);
- model.setValue("/root/send/fileparams/type", "23");
- model.setValue("/root/send/fileparams/companynmsize", "30");
- model.setValue("/root/send/fileparams/empty", "5");
- }else if(model.getValue("/root/send/reqparams/chrgflag") == "A"){ //일용소득
- tempfilenm = "I" + strEntrregno.substr(0,7) + "." + strEntrregno.substr(7,3);
- model.setValue("/root/send/fileparams/type", "28");
- model.setValue("/root/send/fileparams/companynmsize", "40");
- model.setValue("/root/send/fileparams/empty", "64");
- }
- var fileName = window.fileDialog ("save", "", false, tempfilenm, "", "All Files (*.*)|*.*|Text Files(*.txt)|*.txt");
- if(tempfilenm != "" && fileName != "") {
- param += "&instcd=" + model.getValue("/root/send/reqparams/instcd");
- param += "&chrgflag=" + model.getValue("/root/send/reqparams/chrgflag");
- param += "&frdd=" + model.getValue("/root/send/reqparams/frdd");
- param += "&todd=" + model.getValue("/root/send/reqparams/todd");
- param += "&type=" + model.getValue("/root/send/fileparams/type");
- param += "&taxoffice=" + model.getValue("/root/send/fileparams/taxoffice");
- param += "&presenter=" + model.getValue("/root/send/fileparams/presenter");
- param += "&presenterno=" + model.getValue("/root/send/fileparams/presenterno");
- param += "&hometaxid=" + model.getValue("/root/send/fileparams/hometaxid");
- param += "&taxprgcode=" + model.getValue("/root/send/fileparams/taxprgcode");
- param += "&companyno=" + model.getValue("/root/send/fileparams/companyno");
- param += "&companynm=" + model.getValue("/root/send/fileparams/companynm");
- param += "&companynmsize=" + model.getValue("/root/send/fileparams/companynmsize");
- param += "&deptnm=" + model.getValue("/root/send/fileparams/deptnm");
- param += "&name=" + model.getValue("/root/send/fileparams/name");
- param += "&tel=" + model.getValue("/root/send/fileparams/tel");
- param += "&companyrow=" + model.getValue("/root/send/fileparams/companyrow");
- param += "&period=" + model.getValue("/root/send/fileparams/period");
- param += "&empty=" + model.getValue("/root/send/fileparams/empty");
- param += "&president=" + model.getValue("/root/send/fileparams/president");
- param += "&email=" + model.getValue("/root/send/fileparams/email");
- param += "&totcnt=" + model.getValue("/root/send/fileparams/totcnt");
- param += "&totpayamt=" + model.getValue("/root/send/fileparams/totpayamt");
- param += "&totfreetax=" + model.getValue("/root/send/fileparams/totfreetax");
- param += "&totneedpay=" + model.getValue("/root/send/fileparams/totneedpay");
- param += "&tottaxpay=" + model.getValue("/root/send/fileparams/tottaxpay");
- param += "&totincmtax=" + model.getValue("/root/send/fileparams/totincmtax");
- param += "&totresdntax=" + model.getValue("/root/send/fileparams/totresdntax");
- param += "&totsumtax=" + model.getValue("/root/send/fileparams/totsumtax");
-
-
- model.download(getActionURL("TRRAT00512") + encodeURI(param), fileName, true);
- window.exec("notepad.exe", fileName);
- }
- ]]>
- </script>
- </button>
- <caption id="caption14" class="cell_1" style="left:0px; top:127px; width:70px; height:23px; text-align:center; vertical-align:middle; ">구 분</caption>
- <caption id="caption19" class="cell_1" style="left:0px; top:151px; width:70px; height:20px; text-align:center; vertical-align:middle; ">합 계</caption>
- <line id="line10" class="line_3" style="x1:71px; y1:127px; x2:71px; y2:171px; "/>
- <caption id="caption15" class="cell_1" style="left:73px; top:127px; width:46px; height:23px; text-align:center; vertical-align:middle; ">건수</caption>
- <output id="output6" ref="/root/send/fileparams/totcnt" format="(-)#,###" style="left:73px; top:151px; width:46px; height:19px; text-align:right; margin-right:1; "/>
- <line id="line11" class="line_3" style="x1:120px; y1:127px; x2:120px; y2:171px; "/>
- <caption id="caption18" class="cell_1" style="left:122px; top:127px; width:97px; height:23px; text-align:center; vertical-align:middle; ">총지급금액</caption>
- <output id="output8" ref="/root/send/fileparams/totpayamt" format="(-)#,###.##" style="left:122px; top:151px; width:97px; height:19px; text-align:right; margin-right:1; "/>
- <line id="line1" class="line_3" style="x1:220px; y1:127px; x2:220px; y2:171px; "/>
- <caption id="caption2" class="cell_1" style="left:222px; top:127px; width:97px; height:23px; text-align:center; vertical-align:middle; ">총필요경비</caption>
- <output id="output1" ref="/root/send/fileparams/totneedpay" format="(-)#,###.##" style="left:222px; top:151px; width:97px; height:19px; text-align:right; margin-right:1; "/>
- <line id="line2" class="line_3" style="x1:320px; y1:127px; x2:320px; y2:171px; "/>
- <caption id="caption3" class="cell_1" style="left:322px; top:127px; width:97px; height:23px; text-align:center; vertical-align:middle; ">총소득금액</caption>
- <line id="line3" class="line_3" style="x1:420px; y1:127px; x2:420px; y2:171px; "/>
- <output id="output2" ref="/root/send/fileparams/tottaxpay" format="(-)#,###.##" style="left:322px; top:151px; width:97px; height:19px; text-align:right; margin-right:1; "/>
- <caption id="caption5" class="cell_1" style="left:422px; top:127px; width:97px; height:23px; text-align:center; vertical-align:middle; ">총소득세</caption>
- <line id="line4" class="line_3" style="x1:520px; y1:127px; x2:520px; y2:171px; "/>
- <output id="output3" ref="/root/send/fileparams/totincmtax" format="(-)#,###.##" style="left:422px; top:151px; width:97px; height:19px; text-align:right; margin-right:1; "/>
- <caption id="caption7" class="cell_1" style="left:522px; top:127px; width:87px; height:23px; text-align:center; vertical-align:middle; ">총주민세</caption>
- <line id="line5" class="line_3" style="x1:610px; y1:127px; x2:610px; y2:171px; "/>
- <output id="output4" ref="/root/send/fileparams/totresdntax" format="(-)#,###.##" style="left:522px; top:151px; width:87px; height:19px; text-align:right; margin-right:1; "/>
- <caption id="caption8" class="cell_1" style="left:612px; top:127px; width:97px; height:23px; text-align:center; vertical-align:middle; ">총원천징수세액</caption>
- <line id="line6" class="line_3" style="x1:710px; y1:127px; x2:710px; y2:171px; "/>
- <output id="output5" ref="/root/send/fileparams/totsumtax" format="(-)#,###.##" style="left:612px; top:151px; width:97px; height:19px; text-align:right; margin-right:1; "/>
- <datagrid id="grd_etcorchlist" nodeset="/root/main/list/etcorchlist" dragmode="true" caption="소득자명^건수^지급금액^필요경비^소득금액^소득세^주민세^원천징수세액^주민번호^주소^사업장 상호^사업자번호^사업자주소" colsep="^" colwidth="70, 50, 100, 100, 100, 100, 90, 100, 120, 300, 150, 120, 250" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheight="16" rowsep="|" style="left:0px; top:176px; width:1190px; height:567px; ">
- <col disabled="true" ref="name" style="text-align:center; "/>
- <col disabled="true" ref="cnt" style="text-align:center; "/>
- <col disabled="true" ref="paytotamt" format="#,###.##" style="text-align:right; "/>
- <col disabled="true" ref="needpay" format="#,###.##" style="text-align:right; "/>
- <col disabled="true" ref="taxpay" format="#,###.##" style="text-align:right; "/>
- <col disabled="true" ref="incmtax" format="#,###.##" style="text-align:right; "/>
- <col disabled="true" ref="resdntax" format="#,###.##" style="text-align:right; "/>
- <col disabled="true" ref="sumtax" format="#,###.##" style="text-align:right; "/>
- <col disabled="true" ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
- <col disabled="true" ref="addr" style="text-align:left; "/>
- <col disabled="true" ref="custnm" style="text-align:center; "/>
- <col disabled="true" ref="entrregno" format="999-99-99999" style="text-align:center; "/>
- <col disabled="true" ref="custaddr" style="text-align:left; "/>
- </datagrid>
- <line id="line7" class="line_3" style="x1:0px; y1:70px; x2:0px; y2:172px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:124px; x2:1189px; y2:124px; "/>
- <line id="line9" class="line_3" style="x1:1189px; y1:124px; x2:1189px; y2:173px; "/>
- <caption id="caption16" class="cell_1" style="left:762px; top:74px; width:97px; height:23px; text-align:center; vertical-align:middle; ">대표자 성명</caption>
- <input id="input7" ref="/root/send/fileparams/president" class="input_default" style="left:862px; top:76px; width:150px; height:19px; text-align:left; "/>
- <caption id="caption17" class="cell_1" style="left:508px; top:99px; width:97px; height:23px; text-align:center; vertical-align:middle; ">담당자 전화번호</caption>
- <input id="input8" ref="/root/send/fileparams/tel" class="input_default" style="left:608px; top:101px; width:150px; height:19px; text-align:left; "/>
- <input id="input9" ref="/root/send/fileparams/email" class="input_default" style="left:862px; top:101px; width:150px; height:19px; text-align:left; "/>
- <caption id="caption20" class="cell_1" style="left:762px; top:99px; width:97px; height:23px; text-align:center; vertical-align:middle; ">E-MAIL</caption>
- <line id="line12" class="line_3" style="x1:0px; y1:173px; x2:1190px; y2:173px; "/>
- <select1 id="cmb_gruptype" ref="/root/send/reqparams/groupid" class="combo_s_essential" navindex="-1" visibility="hidden" appearance="minimal" style="left:135px; top:45px; width:66px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_gruptype/comcodelist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <!--
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
- -->
- </xhtml:body>
- </xhtml:html>
|