SMRAS14000_원천징수이행상황신고서.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  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. <print>
  12. <printdata/>
  13. <hospisdata/>
  14. </print>
  15. </list>
  16. <codeinfo>
  17. <codelist/>
  18. </codeinfo>
  19. <filecreat>
  20. <filedata/>
  21. </filecreat>
  22. </main>
  23. <send>
  24. <instcd/>
  25. <sanctslipdd/>
  26. <yymm/>
  27. <bupo/>
  28. <singogubn1/>
  29. <singogubn2/>
  30. <singogubn3/>
  31. <singogubn4/>
  32. <singogubn5/>
  33. <singogubn6/>
  34. <ilgal/>
  35. <myungse/>
  36. </send>
  37. <init>
  38. <baseinfo>
  39. <singogubn>
  40. <cdnm/>
  41. <cdid/>
  42. </singogubn>
  43. </baseinfo>
  44. </init>
  45. <temp/>
  46. <print/>
  47. <hidden>
  48. <filename/>
  49. </hidden>
  50. </root>
  51. </instance>
  52. <script type="javascript" ev:event="xforms-ready">
  53. <![CDATA[
  54. fInitialize();
  55. //baseinfo();
  56. ]]>
  57. </script>
  58. <submission id="TRRAS00270" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/print"/>
  59. <submission id="TRRAS15001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/codeinfo"/>
  60. <submission id="TRRAS00271" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/filecreat"/>
  61. </model>
  62. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  66. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  67. <script type="javascript">
  68. <![CDATA[
  69. function fInitialize()
  70. {
  71. model.resetInstanceNode("/root/PrintRfehemht");
  72. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  73. //ipt_sanctslipdd.value = getCurrentDate().toDate("YYYYMM").getDateFormat("YYYYMM");
  74. //ipt_sanctslipdd.value = getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMM");
  75. ipt_sanctslipdd.value = getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMM")
  76. ipt_yymm.value = getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMM")
  77. cmb_instcd.value = getUserInfo("dutplceinstcd");
  78. model.setValue("/root/send/bupo", " N");
  79. model.setValue("/root/send/singogubn1", "Y");
  80. model.setValue("/root/send/singogubn2", "N");
  81. model.setValue("/root/send/singogubn3", "N");
  82. model.setValue("/root/send/singogubn4", "N");
  83. model.setValue("/root/send/singogubn5", "N");
  84. model.setValue("/root/send/singogubn6", "N");
  85. model.setValue("/root/send/ilgal", "N");
  86. model.setValue("/root/send/myungse", "N");
  87. model.refresh();
  88. makeReportPreview(0,160,1195,610);
  89. exeReportPreview("RPRAT01300", "XMLSTR");
  90. //misfGetUserAuth();
  91. /* if (DUTY_PAY_YN == "Y" ) {
  92. cmb_instcd.disabled = false;
  93. }
  94. else {
  95. cmb_instcd.disabled = true;
  96. }
  97. model.refresh(); */
  98. }
  99. function baseinfo(){
  100. addComboItem("cmb_singogubn","매월","1","1");
  101. addComboItem("cmb_singogubn","반기","2","2");
  102. addComboItem("cmb_singogubn","수정","3","3");
  103. addComboItem("cmb_singogubn","연말","4","4");
  104. addComboItem("cmb_singogubn","소득처분","5","5");
  105. addComboItem("cmb_singogubn","환급신청","6","6");
  106. }
  107. ]]>
  108. </script>
  109. </xhtml:head>
  110. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  111. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  112. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">원천징수이행상황신고서</caption>
  113. </group>
  114. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  115. <line id="line12" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  116. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  117. <caption>초기화</caption>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. fInitialize();
  121. ]]>
  122. </script>
  123. </button>
  124. <button id="button1" class="btn4_letter5" style="left:1032px; top:3px; width:92px; height:22px; ">
  125. <caption>신고서작성</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. open("SMRAS15000","","","","","", "", "" );
  129. //model.refresh();
  130. ]]>
  131. </script>
  132. </button>
  133. </group>
  134. <group id="group5" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  135. <group id="group6" style="left:0px; top:5px; width:1194px; height:80px; vertical-align:top; ">
  136. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:80px; "/>
  137. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1125px; top:29px; width:56px; height:22px; text-align:left; ">
  138. <caption>조회</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. var flag = model.getValue("/root/main/codeinfo/codelist/makeflag");
  142. if(!isRequiredControls("cmb_instcd"))return;
  143. submit("TRRAS00270");
  144. // submit("TRRAS15001");
  145. model.makeNode("/root/main/list/print/printdata/singogubn1");
  146. model.makeNode("/root/main/list/print/printdata/singogubn2");
  147. model.makeNode("/root/main/list/print/printdata/singogubn3");
  148. model.makeNode("/root/main/list/print/printdata/singogubn4");
  149. model.makeNode("/root/main/list/print/printdata/singogubn5");
  150. model.makeNode("/root/main/list/print/printdata/singogubn6");
  151. model.makeNode("/root/main/list/print/printdata/bupo");
  152. model.makeNode("/root/main/list/print/printdata/ilgal");
  153. model.makeNode("/root/main/list/print/printdata/myungse");
  154. model.setValue("/root/main/list/print/printdata/singogubn1", model.getValue("/root/send/singogubn1"));
  155. model.setValue("/root/main/list/print/printdata/singogubn2", model.getValue("/root/send/singogubn2"));
  156. model.setValue("/root/main/list/print/printdata/singogubn3", model.getValue("/root/send/singogubn3"));
  157. model.setValue("/root/main/list/print/printdata/singogubn4", model.getValue("/root/send/singogubn4"));
  158. model.setValue("/root/main/list/print/printdata/singogubn5", model.getValue("/root/send/singogubn5"));
  159. model.setValue("/root/main/list/print/printdata/singogubn6", model.getValue("/root/send/singogubn6"));
  160. model.setValue("/root/main/list/print/printdata/bupo", model.getValue("/root/send/bupo"));
  161. model.setValue("/root/main/list/print/printdata/ilgal", model.getValue("/root/send/ilgal"));
  162. model.setValue("/root/main/list/print/printdata/myungse", model.getValue("/root/send/myungse"));
  163. //copyNodesetType("/root/main/list/print", "/root/main/codeinfo", "before");
  164. /* model.makeNode("/root/main/list/print/codelist/makeflag");
  165. model.makeNode("/root/main/list/print/codelist/inwon");
  166. model.makeNode("/root/main/list/print/codelist/makepay");
  167. model.makeNode("/root/main/list/print/codelist/maketax");
  168. model.makeNode("/root/main/list/print/codelist/yymm");
  169. model.makeNode("/root/main/list/print/codelist/makeflag2");
  170. model.makeNode("/root/main/list/print/codelist/inwon2");
  171. model.makeNode("/root/main/list/print/codelist/makepay2");
  172. model.makeNode("/root/main/list/print/codelist/maketax2");
  173. model.makeNode("/root/main/list/print/codelist/yymm2");
  174. model.makeNode("/root/main/list/print/codelist/makeflag3");
  175. model.makeNode("/root/main/list/print/codelist/inwon3");
  176. model.makeNode("/root/main/list/print/codelist/makepay3");
  177. model.makeNode("/root/main/list/print/codelist/maketax3");
  178. model.makeNode("/root/main/list/print/codelist/yymm3");
  179. model.makeNode("/root/main/list/print/codelist/makeflag4");
  180. model.makeNode("/root/main/list/print/codelist/inwon4");
  181. model.makeNode("/root/main/list/print/codelist/makepay4");
  182. model.makeNode("/root/main/list/print/codelist/maketax4");
  183. model.makeNode("/root/main/list/print/codelist/yymm4");
  184. //if(flag == "1"){
  185. model.setValue("/root/main/list/print/codelist/inwon", model.getValue("/root/main/codeinfo/codelist[makeflag='1']/inwon"));
  186. model.setValue("/root/main/list/print/codelist/makepay", model.getValue("/root/main/codeinfo/codelist[makeflag='1']/makepay"));
  187. model.setValue("/root/main/list/print/codelist/maketax", model.getValue("/root/main/codeinfo/codelist[makeflag='1']/maketax"));
  188. model.setValue("/root/main/list/print/codelist/yymm", model.getValue("/root/main/codeinfo/codelist[makeflag='1']/yymm"));
  189. //}
  190. //else if(flag == "2"){
  191. model.setValue("/root/main/list/print/codelist/inwon2", model.getValue("/root/main/codeinfo/codelist[makeflag='2']/inwon"));
  192. model.setValue("/root/main/list/print/codelist/makepay2", model.getValue("/root/main/codeinfo/codelist[makeflag='2']/makepay"));
  193. model.setValue("/root/main/list/print/codelist/maketax2", model.getValue("/root/main/codeinfo/codelist[makeflag='2']/maketax"));
  194. model.setValue("/root/main/list/print/codelist/yymm2", model.getValue("/root/main/codeinfo/codelist[makeflag='2']/yymm"));
  195. //}
  196. //else if(flag == "3"){
  197. model.setValue("/root/main/list/print/codelist/inwon3", model.getValue("/root/main/codeinfo/codelist[makeflag='3']/inwon"));
  198. model.setValue("/root/main/list/print/codelist/makepay3", model.getValue("/root/main/codeinfo/codelist[makeflag='3']/makepay"));
  199. model.setValue("/root/main/list/print/codelist/maketax3", model.getValue("/root/main/codeinfo/codelist[makeflag='3']/maketax"));
  200. model.setValue("/root/main/list/print/codelist/yymm3", model.getValue("/root/main/codeinfo/codelist[makeflag='3']/yymm"));
  201. //}
  202. //else if(flag == "4"){
  203. model.setValue("/root/main/list/print/codelist/inwon4", model.getValue("/root/main/codeinfo/codelist[makeflag='4']/inwon"));
  204. model.setValue("/root/main/list/print/codelist/makepay4", model.getValue("/root/main/codeinfo/codelist[makeflag='4']/makepay"));
  205. model.setValue("/root/main/list/print/codelist/maketax4", model.getValue("/root/main/codeinfo/codelist[makeflag='4']/maketax"));
  206. model.setValue("/root/main/list/print/codelist/yymm4", model.getValue("/root/main/codeinfo/codelist[makeflag='4']/yymm"));
  207. //}
  208. //model.refresh();*/
  209. exeReportPreview("RPRAT01300", "XMLSTR");
  210. model.refresh();
  211. ]]>
  212. </script>
  213. </button>
  214. <line id="line14" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:72px; border-color:#ffe4bb; border-left-style:solid; "/>
  215. <caption id="cap_instcd" class="search_name" style="left:6px; top:16px; width:86px; height:17px; ">기관코드 :</caption>
  216. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:95px; top:15px; width:161px; height:19px; text-align:left; ">
  217. <choices>
  218. <itemset>
  219. <label/>
  220. <value/>
  221. </itemset>
  222. </choices>
  223. </select1>
  224. <caption id="cap_sanctslipdd" class="search_name" style="left:311px; top:16px; width:86px; height:17px; ">정산년월 :</caption>
  225. <caption id="cap_singogubn" class="search_name" style="left:537px; top:16px; width:86px; height:17px; ">신고구분 :</caption>
  226. <input id="ipt_yymm" ref="/root/send/yymm" class="input_s_essential" visibility="hidden" inputtype="date" format="yyyy-mm" style="left:399px; top:15px; width:81px; height:19px; text-align:center; "/>
  227. <caption id="caption3" style="left:625px; top:16px; width:26px; height:20px; ">매월</caption>
  228. <bool id="bool3" checkvalue="Y,N" ref="/root/send/singogubn1" style="left:652px; top:15px; width:18px; height:19px; "/>
  229. <bool id="bool4" checkvalue="Y,N" ref="/root/send/singogubn2" style="left:697px; top:15px; width:18px; height:19px; "/>
  230. <caption id="caption4" style="left:670px; top:16px; width:26px; height:20px; ">반기</caption>
  231. <bool id="bool5" checkvalue="Y,N" ref="/root/send/singogubn3" style="left:740px; top:15px; width:18px; height:19px; "/>
  232. <caption id="caption5" style="left:714px; top:16px; width:26px; height:20px; ">수정</caption>
  233. <bool id="bool6" checkvalue="Y,N" ref="/root/send/singogubn4" style="left:784px; top:15px; width:18px; height:19px; "/>
  234. <caption id="caption7" style="left:757px; top:16px; width:26px; height:20px; ">연말</caption>
  235. <bool id="bool7" checkvalue="Y,N" ref="/root/send/singogubn5" style="left:852px; top:15px; width:18px; height:19px; "/>
  236. <caption id="caption8" style="left:800px; top:16px; width:50px; height:20px; ">소득처분</caption>
  237. <bool id="bool8" checkvalue="Y,N" ref="/root/send/singogubn6" style="left:921px; top:15px; width:18px; height:19px; "/>
  238. <caption id="caption9" style="left:869px; top:16px; width:50px; height:20px; ">환급신청</caption>
  239. <bool id="bool1" checkvalue="Y,N" ref="/root/send/bupo" style="left:90px; top:47px; width:25px; height:20px; "/>
  240. <caption id="caption1" class="search_name" style="left:6px; top:48px; width:86px; height:17px; ">부표작성 :</caption>
  241. <bool id="bool9" checkvalue="Y,N" ref="/root/send/ilgal" style="left:256px; top:47px; width:25px; height:20px; "/>
  242. <caption id="caption10" class="search_name" style="left:148px; top:48px; width:115px; height:17px; ">일괄납부여부 :</caption>
  243. <input id="ipt_sanctslipdd" ref="/root/send/sanctslipdd" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:399px; top:15px; width:81px; height:19px; text-align:center; ">
  244. <script type="javascript" ev:event="xforms-value-changed">
  245. <![CDATA[
  246. model.setValue("/root/send/yymm", model.getValue("/root/send/sanctslipdd"));
  247. ]]>
  248. </script>
  249. </input>
  250. <caption id="caption2" class="search_name" style="left:311px; top:48px; width:115px; height:17px; ">승계명세여부 :</caption>
  251. <bool id="bool2" checkvalue="Y,N" ref="/root/send/myungse" style="left:422px; top:47px; width:25px; height:20px; "/>
  252. </group>
  253. <caption id="caption22" class="tit_2" style="left:5px; top:101px; width:201px; height:13px; ">원천징수이행상황신고서</caption>
  254. <line id="line19" class="line_1" style="x1:0px; y1:116px; x2:1194px; y2:116px; "/>
  255. <button id="button2" class="btn2_letter4" style="left:1129px; top:95px; width:64px; height:19px; ">
  256. <caption>파일생성</caption>
  257. <script type="javascript" ev:event="DOMActivate">
  258. <![CDATA[
  259. var fileName = window.fileDialog ("save", "", false, getCurrentDate() + ".201", "", "All Files (*.*)|*.*|Text Files(*.txt)|*.txt");
  260. if (fileName != "")
  261. {
  262. //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
  263. var param = "&instcd=" + model.getValue("/root/send/instcd");
  264. param += "&sanctslipdd=" + model.getValue("/root/send/sanctslipdd");
  265. param += "&yymm=" + model.getValue("/root/send/yymm");
  266. param += "&bupo=" + model.getValue("/root/send/bupo");
  267. param += "&singogubn1=" + model.getValue("/root/send/singogubn1");
  268. param += "&singogubn2=" + model.getValue("/root/send/singogubn2");
  269. param += "&singogubn3=" + model.getValue("/root/send/singogubn3");
  270. param += "&singogubn4=" + model.getValue("/root/send/singogubn4");
  271. param += "&singogubn5=" + model.getValue("/root/send/singogubn5");
  272. param += "&singogubn6=" + model.getValue("/root/send/singogubn6");
  273. param += "&ilgal=" + model.getValue("/root/send/ilgal");
  274. param += "&myungse=" + model.getValue("/root/send/myungse");
  275. model.download(getActionURL("TRRAS00271") + param, fileName, true);
  276. window.exec(fileName);
  277. }
  278. ]]>
  279. </script>
  280. </button>
  281. </group>
  282. </xhtml:body>
  283. </xhtml:html>