SPRSD08401_세금계산서중복조회.xrw 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>임차장비 리스트</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <taxulist>
  11. <basedd/>
  12. <acptdd/>
  13. <entrregno/>
  14. <cmpynm/>
  15. <prsdnm/>
  16. <totamt/>
  17. <cnt/>
  18. </taxulist>
  19. </main>
  20. <init>
  21. </init>
  22. <send>
  23. <instcd/>
  24. <ubasedd/>
  25. </send>
  26. <temp/>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. fInitialize();
  32. ]]>
  33. </script>
  34. <submission id="TRRSC08402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  38. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  43. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  44. <script type="javascript">
  45. <![CDATA[
  46. function fInitialize()
  47. {
  48. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  49. model.setValue("/root/send/ubasedd",model.getValue("/root/init/ubasedd"));
  50. misfGridInit(grd_taxulist);
  51. submit("TRRSC08402");
  52. }
  53. ]]>
  54. </script>
  55. </xhtml:head>
  56. <xhtml:body pagewidth="731" pageheight="470" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  57. <group id="group3" scroll="auto" style="left:8px; top:0px; width:700px; height:435px; ">
  58. <group id="group2" style="left:0px; top:5px; width:700px; height:15px; "/>
  59. <line id="line1" class="line_1" style="x1:0px; y1:41px; x2:700px; y2:41px; "/>
  60. <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; ">
  61. <col ref="basedd" format="yyyy-mm" style="text-align:center; "/>
  62. <col ref="acptdd" format="yyyy-mm" style="text-align:center; "/>
  63. <col ref="entrregno" format="yyyy-mm-dd" style="text-align:center; "/>
  64. <col ref="cmpynm" format="999-99-99999" style="text-align:center; "/>
  65. <col ref="prsdnm" style="text-align:center; "/>
  66. <col ref="totamt" format="(-)#,##0" style="text-align:center; "/>
  67. <col ref="cnt" style="text-align:center; "/>
  68. <script type="javascript" ev:event="ondblclick">
  69. <![CDATA[
  70. var basedd = grd_taxulist.valueMatrix(grd_taxulist.row , grd_taxulist.colRef("basedd"));
  71. var acptdd = grd_taxulist.valueMatrix(grd_taxulist.row , grd_taxulist.colRef("acptdd"));
  72. var entrregno = grd_taxulist.valueMatrix(grd_taxulist.row , grd_taxulist.colRef("entrregno"));
  73. var totamt = grd_taxulist.valueMatrix(grd_taxulist.row , grd_taxulist.colRef("totamt"));
  74. if ( checkOpener() ) {
  75. opener.model.makeNode("/root/copynode/para_basedd");
  76. opener.model.setValue("/root/copynode/para_basedd", basedd);
  77. opener.model.makeNode("/root/copynode/para_acptdd");
  78. opener.model.setValue("/root/copynode/para_acptdd", acptdd);
  79. opener.model.makeNode("/root/copynode/para_entrregno");
  80. opener.model.setValue("/root/copynode/para_entrregno", entrregno);
  81. opener.model.makeNode("/root/copynode/para_totamt");
  82. opener.model.setValue("/root/copynode/para_totamt", totamt);
  83. opener.model.makeNode("/root/copynode/para_flag");
  84. opener.model.setValue("/root/copynode/para_flag", "F");
  85. } else {
  86. var rtn = messageBox("상위화면을 찾을 수", "E001");
  87. }
  88. model.close();
  89. ]]>
  90. </script>
  91. </datagrid>
  92. <caption id="caption1" class="tit_2" style="left:10px; top:5px; width:240px; height:13px; ">국세청 세금계산서 중복리스트</caption>
  93. <button id="button3" class="btn5_letter5" navindex="33" style="left:622px; top:20px; width:75px; height:19px; ">
  94. <caption>Excel 저장</caption>
  95. <script type="javascript" ev:event="DOMActivate">
  96. <![CDATA[
  97. if( grd_taxulist.rows - grd_taxulist.fixedRows > 0 ) {
  98. var fileName = "세금계산서 검증리스트_" + getCurrentDate();
  99. var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  100. grd_taxulist.saveExcel(fileName, "sheetname:세금계산서 검증;colhiddenextend:true;");
  101. } else {
  102. messageBox("저장 데이터가","I004");
  103. }
  104. ]]>
  105. </script>
  106. </button>
  107. </group>
  108. <group id="group1" scroll="auto" style="left:10px; top:435px; width:700px; height:27px; ">
  109. <button id="btn_cancel" class="btn4_letter2" style="left:644px; top:5px; width:56px; height:22px; ">
  110. <caption>닫기</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. window.close();
  114. ]]>
  115. </script>
  116. </button>
  117. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:700px; y2:0px; "/>
  118. </group>
  119. </xhtml:body>
  120. </xhtml:html>