SMRAT01300_신용카드매출전표등발행금액집계표관리.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>신용카드매출전표등발행금액집계표관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <temp/>
  12. </list>
  13. <cardlist>
  14. <carddata>
  15. <instcd/>
  16. <addtaxyy/>
  17. <addtaxpnt/>
  18. <taxcrcard/>
  19. <taxrcpt/>
  20. <noncrcard/>
  21. <nonrcpt/>
  22. <svccrcard/>
  23. <svcrcpt/>
  24. <taxiss/>
  25. <stmntiss/>
  26. <chk/>
  27. </carddata>
  28. </cardlist>
  29. </main>
  30. <send>
  31. <instcd/>
  32. <addtaxyy/>
  33. <addtaxpnt/>
  34. <save>
  35. <carddata/>
  36. </save>
  37. <yyyy/>
  38. <reptkind/>
  39. </send>
  40. <target/>
  41. <init>
  42. <addtaxpnt>
  43. <item>
  44. <label>1기예정</label>
  45. <value>1</value>
  46. </item>
  47. <item>
  48. <label>1기확정</label>
  49. <value>2</value>
  50. </item>
  51. <item>
  52. <label>2기예정</label>
  53. <value>3</value>
  54. </item>
  55. <item>
  56. <label>2기확정</label>
  57. <value>4</value>
  58. </item>
  59. </addtaxpnt>
  60. </init>
  61. </root>
  62. </instance>
  63. <script type="javascript" ev:event="xforms-ready">
  64. <![CDATA[
  65. fCheckAuth();
  66. fInitialize();
  67. ]]>
  68. </script>
  69. <submission id="TRRAT01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cardlist"/>
  70. <submission id="TXRAT01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/carddata" resultref="/root/main/list/temp"/>
  71. <submission id="TRRAT01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  72. </model>
  73. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  77. <script type="javascript">
  78. <![CDATA[
  79. //========================================================================================
  80. //초기화
  81. //========================================================================================
  82. function fInitialize() {
  83. var sToday = getCurrentDate().toString();
  84. model.refresh();
  85. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  86. model.setValue("/root/send/addtaxyy", model.getValue("/root/target/yyyy"));
  87. model.setValue("/root/init/addtaxpnt", model.getValue("/root/target/reptkind"));
  88. model.setValue("/root/send/addtaxpnt", model.getValue("/root/target/reptkind"));
  89. model.refresh();
  90. fRetrieve();
  91. }
  92. //========================================================================================
  93. //화면 권한 체크
  94. //========================================================================================
  95. function fCheckAuth() {
  96. //btn_search.disabled = !checkAuth("R") ;
  97. //btn_aprv.disabled = !checkAuth("X") ;
  98. //btn_delete.disabled = !checkAuth("X") ;
  99. //btn_prt.disabled = !checkAuth("P") ;
  100. }
  101. //========================================================================================
  102. //각종 코드 Help Open
  103. //========================================================================================
  104. function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
  105. {
  106. misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
  107. model.refresh();
  108. }
  109. //========================================================================================
  110. //코드 Validation Check
  111. //========================================================================================
  112. function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName)
  113. {
  114. if(event.keyCode == 13 || event.name == "xforms-value-changed")
  115. {
  116. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  117. misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName);
  118. model.refresh();
  119. model.setFocus(pNextIndex);
  120. }
  121. }
  122. //========================================================================================
  123. // 조회
  124. //========================================================================================
  125. function fRetrieve()
  126. {
  127. // model.reset("/root/main/ndedlist/data1");
  128. // model.reset("/root/main/ndedlist/data2");
  129. model.reset("/root/main/cardlist/carddata");
  130. model.refresh();
  131. submit("TRRAT01301");
  132. // 등록된 데이타가 없는 경우 처리
  133. var rowcnt = datagrid1.rows;
  134. if ( rowcnt == 1 ) {
  135. misfGridIUD(datagrid1, "A");
  136. model.setValue("/root/main/cardlist/carddata/instcd", getUserInfo("dutplceinstcd"));
  137. model.setValue("/root/main/cardlist/carddata/addtaxyy", model.getValue("/root/target/yyyy"));
  138. model.setValue("/root/main/cardlist/carddata/addtaxpnt", model.getValue("/root/target/reptkind"));
  139. }
  140. }
  141. //========================================================================================
  142. // 저장
  143. //========================================================================================
  144. function fSave( pram )
  145. {
  146. model.reset("/root/main/list/temp");
  147. model.reset("/root/send/save/carddata");
  148. var tmpstatus = model.getValue("/root/main/cardlist/carddata/chk");
  149. if ( tmpstatus == "s" && pram != "d") {
  150. datagrid1.rowStatus(1) = 2 ;
  151. }
  152. model.setValue("/root/send/save/carddata", datagrid1.getUpdateData());
  153. model.refresh();
  154. misfSave("TXRAT01302");
  155. fRetrieve();
  156. }
  157. ]]>
  158. </script>
  159. </xhtml:head>
  160. <xhtml:body pagewidth="620" pageheight="430" guideline="1,1213;1,211;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  161. <group id="group3" scroll="auto" style="left:0px; top:20px; width:605px; height:385px; ">
  162. <group id="group4" style="left:10px; top:50px; width:585px; height:85px; vertical-align:top; ">
  163. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:5px; width:575px; height:75px; background-color:#fffbf2; border-color:#ffd799; "/>
  164. <line id="line10" class="line_4" style="x1:500px; y1:5px; x2:500px; y2:78px; "/>
  165. <caption id="caption3" class="search_name" style="left:10px; top:20px; width:101px; height:20px; ">년 도 :</caption>
  166. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:515px; top:20px; width:56px; height:22px; text-align:left; ">
  167. <caption>조회</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. fRetrieve();
  171. ]]>
  172. </script>
  173. </button>
  174. <caption id="caption9" class="search_name" style="left:10px; top:50px; width:106px; height:17px; ">신고 유형 :</caption>
  175. <input id="ipt_yyyy" ref="/root/send/addtaxyy" class="input_s_essential" navindex="5" maxlength="4" style="left:120px; top:20px; width:135px; height:19px; text-align:center; "/>
  176. <select1 id="rdo_reptkind" ref="/root/send/addtaxpnt" class="radio_search" navindex="6" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:120px; top:50px; width:370px; height:20px; vertical-align:middle; border-style:none; ">
  177. <choices>
  178. <itemset nodeset="/root/init/addtaxpnt/item">
  179. <label ref="label"/>
  180. <value ref="value"/>
  181. </itemset>
  182. </choices>
  183. </select1>
  184. </group>
  185. <group id="grp_4" scroll="auto" style="left:0px; top:10px; width:595px; height:35px; ">
  186. <line id="line3" class="line_6" style="x1:0px; y1:30px; x2:575px; y2:30px; "/>
  187. <button id="btn_print" class="btn6_letter2" navindex="1" style="left:10px; top:5px; width:56px; height:22px; ">
  188. <caption>출력</caption>
  189. <script type="javascript" ev:event="DOMActivate">
  190. <![CDATA[
  191. model.setValue("/root/send/yyyy", model.getValue("/root/send/addtaxyy"));
  192. model.setValue("/root/send/reptkind", model.getValue("/root/send/addtaxpnt"));
  193. submit("TRRAT01303");
  194. exeReportPreview("RPRAT01301", "XMLSTR");
  195. ]]>
  196. </script>
  197. </button>
  198. <button id="button39" class="btn4_letter2" navindex="2" style="left:405px; top:5px; width:56px; height:22px; ">
  199. <caption>저장</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. //fInsAactcdprtlist();
  203. fSave("s");
  204. ]]>
  205. </script>
  206. </button>
  207. <button id="btn_del" class="btn4_letter2" navindex="3" style="left:465px; top:5px; width:56px; height:22px; ">
  208. <caption>삭제</caption>
  209. <script type="javascript" ev:event="DOMActivate">
  210. <![CDATA[
  211. misfGridIUD(datagrid1, "D");
  212. model.refresh();
  213. fSave("d");
  214. ]]>
  215. </script>
  216. </button>
  217. <button id="btn_close" class="btn4_letter2" navindex="4" style="left:525px; top:5px; width:56px; height:22px; ">
  218. <caption>닫기</caption>
  219. <script type="javascript" ev:event="DOMActivate">
  220. <![CDATA[
  221. window.close();
  222. ]]>
  223. </script>
  224. </button>
  225. </group>
  226. <line id="line2" class="line_6" style="x1:10px; y1:375px; x2:585px; y2:375px; "/>
  227. <input id="input7" ref="/root/main/cardlist/carddata/nonrcpt" class="input_default" disabled="false" navindex="11" editable="true" format="#,###" style="left:295px; top:235px; width:151px; height:19px; text-align:right; "/>
  228. <input id="input8" ref="/root/main/cardlist/carddata/noncrcard" class="input_default" disabled="false" navindex="10" editable="true" format="#,###" style="left:135px; top:235px; width:151px; height:19px; text-align:right; "/>
  229. <input id="input9" ref="/root/main/cardlist/carddata/svcrcpt" class="input_default" disabled="false" navindex="13" editable="true" format="#,###" style="left:295px; top:260px; width:151px; height:19px; text-align:right; "/>
  230. <caption id="caption20" class="cell_1" style="left:295px; top:345px; width:119px; height:19px; text-align:center; vertical-align:middle; ">계산서 교부금액</caption>
  231. <input id="input10" ref="/root/main/cardlist/carddata/svccrcard" class="input_default" disabled="false" navindex="12" editable="true" format="#,###" style="left:135px; top:260px; width:151px; height:19px; text-align:right; "/>
  232. <input id="input12" ref="/root/main/cardlist/carddata/taxiss" class="input_default" disabled="false" navindex="14" editable="true" format="#,###" style="left:135px; top:345px; width:151px; height:19px; text-align:right; "/>
  233. <caption id="caption11" class="cell_1" style="left:10px; top:210px; width:119px; height:19px; text-align:center; vertical-align:middle; ">과세 매출분</caption>
  234. <input id="input13" ref="/root/main/cardlist/carddata/stmntiss" class="input_default" disabled="false" navindex="15" editable="true" format="#,###" style="left:420px; top:345px; width:151px; height:19px; text-align:right; "/>
  235. <caption id="caption12" class="cell_1" style="left:10px; top:235px; width:119px; height:19px; text-align:center; vertical-align:middle; ">면세 매출분</caption>
  236. <caption id="caption13" class="cell_1" style="left:10px; top:260px; width:119px; height:19px; text-align:center; vertical-align:middle; ">봉 사 료</caption>
  237. <caption id="caption2" class="tit_2" style="left:15px; top:151px; width:227px; height:13px; ">신용카드매출전표 등 발행금액 현황</caption>
  238. <caption id="caption14" class="cell_1" style="left:10px; top:185px; width:119px; height:19px; text-align:center; vertical-align:middle; ">구 분</caption>
  239. <line id="line4" class="line_1" style="x1:5px; y1:170px; x2:580px; y2:169px; "/>
  240. <caption id="caption16" class="tit_2" style="left:15px; top:321px; width:397px; height:13px; ">신용카드매출전표 등 발행금액 중 세금계산서(계산서) 교부 내역</caption>
  241. <caption id="caption7" class="cell_1" style="left:135px; top:185px; width:151px; height:19px; text-align:center; vertical-align:middle; ">신용 직불 기명식 선불카드</caption>
  242. <line id="line5" class="line_1" style="x1:10px; y1:340px; x2:585px; y2:339px; "/>
  243. <caption id="caption8" class="cell_1" style="left:295px; top:185px; width:151px; height:19px; text-align:center; vertical-align:middle; ">현금 영수증</caption>
  244. <caption id="caption18" class="cell_1" style="left:10px; top:345px; width:119px; height:19px; text-align:center; vertical-align:middle; ">세금계산서 교부금액</caption>
  245. <input id="input4" ref="/root/main/cardlist/carddata/taxrcpt" class="input_default" disabled="false" navindex="9" editable="true" format="#,###" style="left:295px; top:210px; width:151px; height:19px; text-align:right; "/>
  246. <input id="input5" ref="/root/main/cardlist/carddata/taxcrcard" class="input_default" disabled="false" navindex="8" editable="true" format="#,###" style="left:135px; top:210px; width:151px; height:19px; text-align:right; "/>
  247. </group>
  248. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:255px; height:14px; vertical-align:middle; ">신용카드매출전표등발행금액집계표관리</caption>
  249. <datagrid id="datagrid1" nodeset="/root/main/cardlist/carddata" visibility="hidden" caption="1^2^3^4^5^6^7^8^9^10^11" colsep="^" colwidth="20,20,20,20,20,20,20,20,20,20,20" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:420px; top:280px; width:175px; height:40px; ">
  250. <col ref="instcd"/>
  251. <col ref="addtaxyy"/>
  252. <col ref="addtaxpnt"/>
  253. <col ref="taxcrcard"/>
  254. <col ref="taxrcpt"/>
  255. <col ref="noncrcard"/>
  256. <col ref="nonrcpt"/>
  257. <col ref="svccrcard"/>
  258. <col ref="svcrcpt"/>
  259. <col ref="taxiss"/>
  260. <col ref="stmntiss"/>
  261. <col ref="chk"/>
  262. </datagrid>
  263. </xhtml:body>
  264. </xhtml:html>