123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>임차장비 리스트</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <taxulist>
- <basedd/>
- <acptdd/>
- <entrregno/>
- <cmpynm/>
- <prsdnm/>
- <totamt/>
- <cnt/>
- </taxulist>
- </main>
- <init>
- </init>
- <send>
- <instcd/>
- <ubasedd/>
- </send>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSC08402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/ubasedd",model.getValue("/root/init/ubasedd"));
-
- misfGridInit(grd_taxulist);
-
- submit("TRRSC08402");
-
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="731" pageheight="470" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:700px; height:435px; ">
- <group id="group2" style="left:0px; top:5px; width:700px; height:15px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:41px; x2:700px; y2:41px; "/>
- <datagrid id="grd_taxulist" nodeset="/root/main/taxulist" caption="기준일자^작성일자^사업자등록번호^상호^대표자^총금액^중복건수" colsep="^" colwidth="80, 80, 100, 150, 60, 120,60" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" navindex="9" style="left:0px; top:45px; width:700px; height:387px; ">
- <col ref="basedd" format="yyyy-mm" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy-mm" style="text-align:center; "/>
- <col ref="entrregno" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cmpynm" format="999-99-99999" style="text-align:center; "/>
- <col ref="prsdnm" style="text-align:center; "/>
- <col ref="totamt" format="(-)#,##0" style="text-align:center; "/>
- <col ref="cnt" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var basedd = grd_taxulist.valueMatrix(grd_taxulist.row , grd_taxulist.colRef("basedd"));
- var acptdd = grd_taxulist.valueMatrix(grd_taxulist.row , grd_taxulist.colRef("acptdd"));
- var entrregno = grd_taxulist.valueMatrix(grd_taxulist.row , grd_taxulist.colRef("entrregno"));
- var totamt = grd_taxulist.valueMatrix(grd_taxulist.row , grd_taxulist.colRef("totamt"));
- if ( checkOpener() ) {
- opener.model.makeNode("/root/copynode/para_basedd");
- opener.model.setValue("/root/copynode/para_basedd", basedd);
- opener.model.makeNode("/root/copynode/para_acptdd");
- opener.model.setValue("/root/copynode/para_acptdd", acptdd);
- opener.model.makeNode("/root/copynode/para_entrregno");
- opener.model.setValue("/root/copynode/para_entrregno", entrregno);
- opener.model.makeNode("/root/copynode/para_totamt");
- opener.model.setValue("/root/copynode/para_totamt", totamt);
- opener.model.makeNode("/root/copynode/para_flag");
- opener.model.setValue("/root/copynode/para_flag", "F");
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
- model.close();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:10px; top:5px; width:240px; height:13px; ">국세청 세금계산서 중복리스트</caption>
- <button id="button3" class="btn5_letter5" navindex="33" style="left:622px; top:20px; width:75px; height:19px; ">
- <caption>Excel 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_taxulist.rows - grd_taxulist.fixedRows > 0 ) {
- var fileName = "세금계산서 검증리스트_" + getCurrentDate();
- var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_taxulist.saveExcel(fileName, "sheetname:세금계산서 검증;colhiddenextend:true;");
- } else {
- messageBox("저장 데이터가","I004");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:10px; top:435px; width:700px; height:27px; ">
- <button id="btn_cancel" class="btn4_letter2" style="left:644px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:700px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|