123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- <?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>
- <yyendfilerecord>
- <yyendfilerecordlist/>
- </yyendfilerecord>
- </main>
- <send>
- <yyendfilerecord>
- <calcyy/>
- <workym/>
- <instcd/>
- <retireyn>%</retireyn>
- <cretdd/>
- </yyendfilerecord>
- </send>
- <init/>
- <hidden>
- <temp/>
- </hidden>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- function fSaveTextFile(pFileName)
- {
-
- var instcd = cmb_calcinst.value;
- var sDefaultFileName = "";
-
- if (instcd == "001") {
- sDefaultFileName = pFileName + "1148202.128";
- }
- else if (instcd == "011") {
- sDefaultFileName = pFileName + "1168202.162";
- }
- else if (instcd == "012") {
- sDefaultFileName = pFileName + "1148200.213";
- }
- else if (instcd == "013") {
- sDefaultFileName = pFileName + "1278200.198";
- }
- else if (instcd == "103") {
- sDefaultFileName = pFileName + "1148200.945";
- }
- else if (instcd == "014") {
- sDefaultFileName = pFileName + "1308202.173";
- }
- else if (instcd == "017") {
- sDefaultFileName = pFileName + "1358200.092";
- }
- else {
- sDefaultFileName = name + "";
- }
- var fso = new ActiveXObject("Scripting.FileSystemObject");
-
- var fileName = window.fileDialog("save", "", false, sDefaultFileName, "", "");
-
- if (fileName.length > 0) {
- var oFileStream = fso.OpenTextFile(fileName, 2, true);
-
- if (oFileStream == null) {
- var oFileStream = fso.CreateTextFile(fileName, true);
- }
-
- for(var i=grd_yyendfilerecordlist.fixedRows ; i < grd_yyendfilerecordlist.rows; i++)
- {
- var wData = grd_yyendfilerecordlist.valueMatrix(i, grd_yyendfilerecordlist.colRef("sdata"));
- oFileStream.WriteLine(wData);
- }
- oFileStream.Close();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_yyendfilerecordlist);
- misfMsterDetailSet(grd_yyendfilerecordlist,null, "TRRWY05001" ,"N");
-
- 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;
- ipt_cretdd.value = nowdate.substring(0,8);
-
- model.setValue(cmb_calcinst.attribute("ref"), getUserInfo("dutplceinstcd"));
-
- misfComboInstCdListMulti("cmb_calcinst",getCurrentDate(),"","N");
-
- misfGetUserAuth();
-
- if (DUTY_PAY_YN == "Y" ) {
- cmb_calcinst.disabled = false;
- }
- else {
- cmb_calcinst.disabled = true;
- }
-
- ]]>
- </script>
- <submission id="TRRWY05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendfilerecord" resultref="/root/main/yyendfilerecord"/>
- <submission id="TRRWY05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendfilerecord" resultref="/root/main/yyendfilerecord"/>
- <submission id="TRRWY05003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendfilerecord" resultref="/root/main/yyendfilerecord"/>
- </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"/>
- </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="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_yyendfilerecordlist" nodeset="/root/main/yyendfilerecord/yyendfilerecordlist" caption="레코드자료|레코드자료" colsep="^" colwidth="5152" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1191px; height:665px; ">
- <col ref="sdata"/>
- </datagrid>
- <select1 id="cmb_calcinst" ref="/root/send/yyendfilerecord/instcd" class="combo_s_essential" appearance="minimal" style="left:500px; top:18px; width:165px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:441px; top:18px; width:61px; height:17px; ">기관:</caption>
- <input id="ipt_calcyy" ref="/root/send/yyendfilerecord/calcyy" class="input_s_essential" style="left:86px; top:18px; width:66px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:5px; top:18px; width:84px; height:17px; ">기준년도:</caption>
- <select1 id="rdo_retireyn" ref="/root/send/yyendfilerecord/retireyn" visibility="visible" appearance="full" cols="3" overflow="visible" style="left:920px; top:18px; width:175px; height:19px; border-style:solid; ">
- <choices>
- <item>
- <label>전체</label>
- <value>%</value>
- </item>
- <item>
- <label>연말</label>
- <value>N</value>
- </item>
- <item>
- <label>중도퇴직</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_workym" ref="/root/send/yyendfilerecord/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:280px; top:18px; width:123px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:198px; top:18px; width:84px; height:17px; ">정산년월:</caption>
- <button id="btn_createfile" class="btn5_letter6" style="left:885px; top:48px; width:86px; height:19px; ">
- <caption>정산File생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- submit("TRRWY05001");
-
- fSaveTextFile("C");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:695px; top:18px; width:84px; height:17px; ">제출일자:</caption>
- <input id="ipt_cretdd" ref="/root/send/yyendfilerecord/cretdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:777px; top:18px; width:128px; height:19px; "/>
- <button id="btn_medifile" class="btn5_letter7" style="left:975px; top:48px; width:97px; height:19px; ">
- <caption>의료비File생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- submit("TRRWY05002");
-
- fSaveTextFile("CA");
- ]]>
- </script>
- </button>
- <button id="btn_edwnfile" class="btn5_letter7" style="left:1075px; top:48px; width:97px; height:19px; ">
- <caption>기부금File생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- submit("TRRWY05003");
-
- fSaveTextFile("H");
- ]]>
- </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_clear" class="btn4_letter3" style="left:1119px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|