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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  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. <unsllist>
  11. <instcd/>
  12. <selchk/>
  13. <slipdt/>
  14. <slipno/>
  15. <unslwrit/>
  16. <usernm/>
  17. <unsldt/>
  18. <unslno/>
  19. <slipflag/>
  20. <slipkind/>
  21. <slipdeptcd/>
  22. <slipdeptnm/>
  23. <etcnotefact/>
  24. </unsllist>
  25. <apsllist>
  26. <instcd/>
  27. <slipdt/>
  28. <slipno/>
  29. <unslwrit/>
  30. <usernm/>
  31. <unsldt/>
  32. <unslno/>
  33. <slipflag/>
  34. <slipkind/>
  35. <slipdeptcd/>
  36. <slipdeptnm/>
  37. <etcnotefact/>
  38. </apsllist>
  39. <unsllistinfo>
  40. <slipseqno/>
  41. <acntcd/>
  42. <acntnm/>
  43. <custnm/>
  44. <etcnotefact/>
  45. <dramt/>
  46. <cramt/>
  47. <amt/>
  48. <drcrflag/>
  49. <suppitemcd/>
  50. <custflag/>
  51. <custcd/>
  52. <notefactspec1/>
  53. <notefactspec2/>
  54. <notefactspec3/>
  55. <notefactspec4/>
  56. <notefactspec5/>
  57. <notefactspec6/>
  58. <slipdt/>
  59. <slipno/>
  60. <instcd/>
  61. <slipdd/>
  62. <profflag/>
  63. <custbalyn/>
  64. <defrayreqdd/>
  65. </unsllistinfo>
  66. <apsllistinfo>
  67. <slipseqno/>
  68. <acntcd/>
  69. <acntnm/>
  70. <custnm/>
  71. <etcnotefact/>
  72. <dramt/>
  73. <cramt/>
  74. <amt/>
  75. <drcrflag/>
  76. <suppitemcd/>
  77. <custflag/>
  78. <custcd/>
  79. <notefactspec1/>
  80. <notefactspec2/>
  81. <notefactspec3/>
  82. <notefactspec4/>
  83. <notefactspec5/>
  84. <notefactspec6/>
  85. <slipdt/>
  86. <slipno/>
  87. <instcd/>
  88. <profflag/>
  89. <custbalyn/>
  90. <defrayreqdd/>
  91. </apsllistinfo>
  92. </main>
  93. <send>
  94. <data1>
  95. <instcd/>
  96. <ddkind/>
  97. <slipfr/>
  98. <slipto/>
  99. <slipkind/>
  100. <slipdeptcd/>
  101. <slipgubn/>
  102. <framt/>
  103. <toamt/>
  104. </data1>
  105. <data2>
  106. <instcd/>
  107. <slipdt/>
  108. <slipno/>
  109. </data2>
  110. <data3>
  111. <instcd/>
  112. <unsldd/>
  113. <unslno/>
  114. <sanctyn/>
  115. <refreshyn/>
  116. </data3>
  117. <unsllistinfo/>
  118. <apsllistinfo/>
  119. </send>
  120. <hidden>
  121. <condition>
  122. <ddkind>wd</ddkind>
  123. <slipfr/>
  124. <slipto/>
  125. <slipgubn>U</slipgubn>
  126. <slipkind>%</slipkind>
  127. <slipdeptcd/>
  128. <slipdeptnm/>
  129. <slipdt/>
  130. <instcd/>
  131. <framt/>
  132. <toamt/>
  133. </condition>
  134. <unsl>
  135. <drsum/>
  136. <crsum/>
  137. </unsl>
  138. <apsl>
  139. <drsum/>
  140. <crsum/>
  141. </apsl>
  142. </hidden>
  143. <temp/>
  144. </root>
  145. </instance>
  146. <submission id="TRRAD00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/unsllist"/>
  147. <submission id="TRRAD00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/apsllist"/>
  148. <submission id="TRRAD00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/unsllistinfo"/>
  149. <submission id="TRRAD00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/apsllistinfo"/>
  150. <submission id="TXRAD00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/unsllistinfo" resultref="/root/temp"/>
  151. <submission id="TXRAD00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/apsllistinfo" resultref="/root/temp"/>
  152. <submission id="TXRAD00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/temp"/>
  153. <bind id="bind_cpt_apdrsum" ref="/root/hidden/apsl/drsum" calculate="sum(/root/main/apsllistinfo/dramt)"/>
  154. <bind id="bind_cpt_apcrsum" ref="/root/hidden/apsl/crsum" calculate="sum(/root/main/apsllistinfo/cramt)"/>
  155. <bind id="bind_cpt_undrsum" ref="/root/hidden/unsl/drsum" calculate="sum(/root/main/unsllistinfo/dramt)"/>
  156. <bind id="bind_cpt_uncrsum" ref="/root/hidden/unsl/crsum" calculate="sum(/root/main/unsllistinfo/cramt)"/>
  157. <script type="javascript" ev:event="xforms-ready">
  158. <![CDATA[
  159. fCheckAuth();
  160. fInitialize();
  161. ]]>
  162. </script>
  163. </model>
  164. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  165. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  166. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  167. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  168. <script type="javascript">
  169. <![CDATA[
  170. //========================================================================================
  171. //초기화
  172. //========================================================================================
  173. function fInitialize() {
  174. var sToday = getCurrentDate().toString();
  175. model.removenode("/root/main/unsllist");
  176. model.removenode("/root/main/unsllistinfo");
  177. model.removenode("/root/main/apsllist");
  178. model.removenode("/root/main/apsllistinfo");
  179. model.refresh();
  180. model.setValue("/root/hidden/condition/slipfr", sToday);
  181. model.setValue("/root/hidden/condition/slipto", sToday);
  182. model.setValue("/root/hidden/condition/slipdt", sToday);
  183. model.setValue("/root/hidden/condition/instcd", getUserInfo("dutplceinstcd"));
  184. model.refresh();
  185. }
  186. //========================================================================================
  187. //화면 권한 체크
  188. //========================================================================================
  189. function fCheckAuth() {
  190. btn_search.disabled = !checkAuth("R") ;
  191. btn_aprv.disabled = !checkAuth("X") ;
  192. //btn_delete.disabled = !checkAuth("X") ;
  193. //btn_prt.disabled = !checkAuth("P") ;
  194. }
  195. //========================================================================================
  196. //각종 코드 Help Open
  197. //========================================================================================
  198. function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
  199. {
  200. misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
  201. model.refresh();
  202. }
  203. //========================================================================================
  204. //코드 Validation Check
  205. //========================================================================================
  206. function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName)
  207. {
  208. if(event.keyCode == 13 || event.name == "xforms-value-changed")
  209. {
  210. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  211. misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName);
  212. model.refresh();
  213. model.setFocus(pNextIndex);
  214. }
  215. }
  216. ]]>
  217. </script>
  218. </xhtml:head>
  219. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  220. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  221. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:264px; height:14px; ">신용카드매출전표 등 발행금액 집계표관리</caption>
  222. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  223. </group>
  224. <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:744px; ">
  225. <line id="line1" class="line_1" style="x1:10px; y1:147px; x2:580px; y2:146px; "/>
  226. <group id="group4" style="left:0px; top:45px; width:1193px; height:70px; vertical-align:top; ">
  227. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:-2px; width:1192px; height:67px; background-color:#fffbf2; border-color:#ffd799; "/>
  228. <input id="ipt_todate" ref="/root/send/todate" class="input_s_essential" editable="false" inputtype="date" style="left:952px; top:9px; width:95px; height:19px; "/>
  229. <input id="ipt_frdate" ref="/root/send/frdate" class="input_s_essential" editable="false" inputtype="date" style="left:840px; top:9px; width:95px; height:19px; ">
  230. <script type="javascript" ev:event="xforms-value-changed">
  231. <![CDATA[
  232. ]]>
  233. </script>
  234. </input>
  235. <line id="line10" class="line_4" style="x1:1105px; y1:5px; x2:1105px; y2:68px; "/>
  236. <caption id="caption1" class="search_name" style="left:750px; top:10px; width:86px; height:17px; ">작성일자 :</caption>
  237. <caption id="caption2" class="search_name" style="left:661px; top:36px; width:99px; height:17px; ">사업자번호 :</caption>
  238. <caption id="caption3" class="search_name" style="left:10px; top:9px; width:101px; height:17px; ">년 도 :</caption>
  239. <input id="ipt_regnm" ref="/root/send/custnm" navindex="6" imemode="hangul" style="left:889px; top:36px; width:160px; height:19px; ">
  240. <script type="javascript" ev:event="onkeypress">
  241. <![CDATA[
  242. if(event.keyCode == 13)
  243. {
  244. racfCustValidCheck("entrregno,custnm", "name");
  245. }
  246. ]]>
  247. </script>
  248. <script type="javascript" ev:event="xforms-value-changed">
  249. <![CDATA[
  250. racfCustValidCheck("entrregno,custnm", "name");
  251. ]]>
  252. </script>
  253. </input>
  254. <button id="btn_entregnohelp" class="icon_search" style="left:869px; top:36px; width:16px; height:16px; ">
  255. <caption/>
  256. <script type="javascript" ev:event="DOMActivate">
  257. <![CDATA[
  258. misfOpenPopUpList("14", ipt_regno, "", "entrregno,custnm");
  259. model.refresh();
  260. ]]>
  261. </script>
  262. </button>
  263. <input id="ipt_regno" ref="/root/send/entrregno" navindex="5" format="999-99-99999" style="left:765px; top:36px; width:100px; height:19px; text-align:center; ">
  264. <script type="javascript" ev:event="onkeypress">
  265. <![CDATA[
  266. if(event.keyCode == 13)
  267. {
  268. racfCustValidCheck("entrregno,custnm", "code");
  269. }
  270. ]]>
  271. </script>
  272. <script type="javascript" ev:event="xforms-value-changed">
  273. <![CDATA[
  274. racfCustValidCheck("entrregno,custnm", "code");
  275. ]]>
  276. </script>
  277. </input>
  278. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1125px; top:21px; width:56px; height:22px; text-align:left; ">
  279. <caption>조회</caption>
  280. <script type="javascript" ev:event="DOMActivate">
  281. <![CDATA[
  282. fRetrieve();
  283. //alert(model.getValue("/root/send/entrregno"));
  284. ]]>
  285. </script>
  286. </button>
  287. <caption id="caption9" class="search_name" style="left:295px; top:9px; width:106px; height:17px; ">신고 유형 :</caption>
  288. <input id="ipt_yyyy" ref="/root/send/retrparam/yyyy" class="input_s_essential" navindex="1" maxlength="4" style="left:115px; top:9px; width:135px; height:19px; text-align:center; "/>
  289. <select1 id="rdo_reptkind" ref="/root/send/retrparam/reptkind" class="radio_search" navindex="2" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:400px; top:10px; width:320px; height:20px; vertical-align:middle; border-style:none; ">
  290. <choices>
  291. <itemset nodeset="/root/init/init_reptkind/item">
  292. <label ref="label"/>
  293. <value ref="value"/>
  294. </itemset>
  295. </choices>
  296. <script type="javascript" ev:event="xforms-value-changed">
  297. <![CDATA[
  298. fSetDate();
  299. fRetrieve();
  300. ]]>
  301. </script>
  302. </select1>
  303. </group>
  304. <caption id="caption35" class="tit_2" style="left:15px; top:131px; width:227px; height:13px; ">신용카드매출전표 등 발행금액 현황</caption>
  305. <group id="grp_4" scroll="auto" style="left:0px; top:18px; width:1195px; height:27px; ">
  306. <line id="line3" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  307. <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  308. <caption>출력</caption>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. model.setValue("/root/send/retrparam/reptkind",rdo_reptkind.label);
  312. model.setValue("/root/send/retrparam/frdate",model.getValue("/root/send/frdate").substr(0,4) + "-" + model.getValue("/root/send/frdate").substr(4,2) + "-" + model.getValue("/root/send/frdate").substr(6,2));
  313. model.setValue("/root/send/retrparam/todate",model.getValue("/root/send/todate").substr(0,4) + "-" + model.getValue("/root/send/todate").substr(4,2) + "-" + model.getValue("/root/send/todate").substr(6,2));
  314. if(swt_1.selectedIndex == 0)//세금계산서
  315. {
  316. alert(instance1.selectNodes("/root/main/list/addtexlist").length);
  317. if(grd_addtexlist.rows == grd_addtexlist.fixedRows)
  318. {
  319. messageBox("출력할 내용이" ,"I004");
  320. return;
  321. }
  322. if(rdo_billflag.value == '1')//매출처별
  323. {
  324. model.setValue("/root/send/retrparam/title", " 매출처별 세금계산서 명세서 ");
  325. }
  326. else//매입처별
  327. {
  328. model.setValue("/root/send/retrparam/title", " 매입처별 세금계산서 명세서 ");
  329. }
  330. exeReportPreview("RPRAT01101", "XMLSTR", "/root/send/retrparam");
  331. }
  332. else//계산서
  333. {
  334. if(grd_texlist.rows == grd_texlist.fixedRows)
  335. {
  336. messageBox("출력할 내용이" ,"I004");
  337. return;
  338. }
  339. if(rdo_billflag.value == '1')//매출처별
  340. {
  341. model.setValue("/root/send/retrparam/title", " 매출처별 계산서 명세서 ");
  342. }
  343. else//매입처별
  344. {
  345. model.setValue("/root/send/retrparam/title", " 매입처별 계산서 명세서 ");
  346. }
  347. exeReportPreview("RPRAT01102", "XMLSTR", "/root/send/retrparam");
  348. }
  349. ]]>
  350. </script>
  351. </button>
  352. <button id="button39" class="btn4_letter2" style="left:1137px; top:3px; width:56px; height:22px; ">
  353. <caption>저장</caption>
  354. <script type="javascript" ev:event="DOMActivate">
  355. <![CDATA[
  356. fInsAactcdprtlist();
  357. ]]>
  358. </script>
  359. </button>
  360. </group>
  361. <button id="button2" class="btn2_letter3" style="left:1040px; top:124px; width:53px; height:19px; ">
  362. <caption>행추가</caption>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. misfGridIUD(grd_acntcdprntlist, "A");
  366. grd_acntcdprntlist.valueMatrix(grd_acntcdprntlist.rows-1, grd_acntcdprntlist.colRef("prntkind")) = cmb_prntkind.value;
  367. model.refresh();
  368. ]]>
  369. </script>
  370. </button>
  371. <button id="button3" class="btn2_letter3" style="left:1094px; top:124px; width:53px; height:19px; ">
  372. <caption>행삭제</caption>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. misfGridIUD(grd_acntcdprntlist, "D");
  376. model.refresh();
  377. ]]>
  378. </script>
  379. </button>
  380. <input id="ipt_posspsnnm" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:120px; top:185px; width:151px; height:19px; "/>
  381. <caption id="caption10" class="cell_1" style="left:120px; top:160px; width:151px; height:19px; text-align:center; vertical-align:middle; ">합 계</caption>
  382. <caption id="caption5" class="cell_1" style="left:5px; top:185px; width:110px; height:19px; text-align:center; vertical-align:middle; ">합 계</caption>
  383. <caption id="caption7" class="cell_1" style="left:275px; top:160px; width:151px; height:19px; text-align:center; vertical-align:middle; ">신용 직불 기명식 선불카드</caption>
  384. <caption id="caption8" class="cell_1" style="left:430px; top:160px; width:151px; height:19px; text-align:center; vertical-align:middle; ">현금 영수증</caption>
  385. <input id="input1" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:185px; width:151px; height:19px; "/>
  386. <input id="input2" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:275px; top:185px; width:151px; height:19px; "/>
  387. <input id="input3" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:120px; top:210px; width:151px; height:19px; "/>
  388. <caption id="caption11" class="cell_1" style="left:5px; top:210px; width:110px; height:19px; text-align:center; vertical-align:middle; ">과세 매출분</caption>
  389. <input id="input4" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:210px; width:151px; height:19px; "/>
  390. <input id="input5" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:275px; top:210px; width:151px; height:19px; "/>
  391. <caption id="caption12" class="cell_1" style="left:5px; top:235px; width:110px; height:19px; text-align:center; vertical-align:middle; ">면세 매출분</caption>
  392. <input id="input6" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:120px; top:235px; width:151px; height:19px; "/>
  393. <input id="input7" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:235px; width:151px; height:19px; "/>
  394. <input id="input8" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:275px; top:235px; width:151px; height:19px; "/>
  395. <input id="input9" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:260px; width:151px; height:19px; "/>
  396. <input id="input10" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:275px; top:260px; width:151px; height:19px; "/>
  397. <caption id="caption13" class="cell_1" style="left:5px; top:260px; width:110px; height:19px; text-align:center; vertical-align:middle; ">봉 사 료</caption>
  398. <input id="input11" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:120px; top:260px; width:151px; height:19px; "/>
  399. <caption id="caption14" class="cell_1" style="left:5px; top:160px; width:110px; height:19px; text-align:center; vertical-align:middle; ">구 분</caption>
  400. <input id="input12" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:125px; top:320px; width:151px; height:19px; "/>
  401. <caption id="caption16" class="tit_2" style="left:15px; top:296px; width:397px; height:14px; ">신용카드매출전표 등 발행금액 중 세금계산서(계산서) 교부 내역</caption>
  402. <caption id="caption18" class="cell_1" style="left:10px; top:320px; width:119px; height:19px; text-align:center; vertical-align:middle; ">세금계산서 교부금액</caption>
  403. <line id="line4" class="line_1" style="x1:10px; y1:312px; x2:580px; y2:311px; "/>
  404. <input id="input13" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:430px; top:320px; width:151px; height:19px; "/>
  405. <caption id="caption20" class="cell_1" style="left:310px; top:320px; width:119px; height:19px; text-align:center; vertical-align:middle; ">계산서 교부금액</caption>
  406. </group>
  407. <group id="group2" scroll="auto" style="left:0px; top:765px; width:1195px; height:32px; ">
  408. <line id="line2" class="line_6" style="x1:0px; y1:10px; x2:1194px; y2:10px; "/>
  409. </group>
  410. </xhtml:body>
  411. </xhtml:html>