SMRWY04300_근로소득원천징수영수증출력(연말).xrw 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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. <send>
  10. <instcd/>
  11. <emplno/>
  12. <emplnm/>
  13. <calcyy/>
  14. <workym/>
  15. <retireyn>N</retireyn>
  16. <yyendcalcyn>
  17. <emplno/>
  18. </yyendcalcyn>
  19. </send>
  20. <main>
  21. <list>
  22. <print>
  23. <printdata/>
  24. <printdata2/>
  25. </print>
  26. </list>
  27. <yyendcalcyn>
  28. <yyendcalcynlist/>
  29. </yyendcalcyn>
  30. <yyendinstcd>
  31. <yyendinstcdlist/>
  32. </yyendinstcd>
  33. </main>
  34. <init/>
  35. <temp/>
  36. <print/>
  37. </root>
  38. </instance>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. fInitialize();
  42. ]]>
  43. </script>
  44. <submission id="TRRWY04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/print"/>
  45. <submission id="TRRWY02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendcalcyn" resultref="/root/main/yyendcalcyn"/>
  46. <submission id="TRRWY04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/yyendinstcd"/>
  47. </model>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  52. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  53. <script type="javascript">
  54. <![CDATA[
  55. function fInitialize()
  56. {
  57. model.resetInstanceNode("/root/PrintRfehemht");
  58. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  59. var nowdate = getCurrentDate();
  60. var yy = nowdate.substring(0,4);
  61. var mm = nowdate.substring(4,6);
  62. var yyyymm = nowdate.substring(0,6);
  63. //if (mm == "01" || mm == "02") {
  64. yy = parseInt(yy) - 1;
  65. yyyymm = yy + "12";
  66. //}
  67. ipt_calcyy.value =yy;
  68. ipt_workym.value = yyyymm;
  69. // ipt_calcyy.value = getCurrentDate().toDate().getDateFormat("YYYY");
  70. // ipt_workym.value = getCurrentDate().toDate("YYYYMM").getDateFormat("YYYYMM")-1;
  71. cmb_instcd.value = getUserInfo("dutplceinstcd");
  72. ipt_emplno.value = getUserInfo("userid");
  73. ipt_emplnm.value = getUserInfo("usernm");
  74. fAuthCheck();
  75. makeReportPreview(0,120,1195,660);
  76. model.refresh();
  77. }
  78. function fAuthCheck() {
  79. model.setValue("/root/send/yyendcalcyn/emplno", getUserInfo("userid"));
  80. submit("TRRWY04301");
  81. var instcd = model.getValue("/root/main/yyendinstcd/yyendinstcdlist/calcinst");
  82. if (instcd != "") {
  83. cmb_instcd.value = instcd;
  84. }
  85. submit("TRRWY02303");
  86. if (model.getValue("/root/main/yyendcalcyn/yyendcalcynlist/yyendcalcyn") == "Y") {
  87. // cmb_instcd.disabled = false;
  88. ipt_emplno.disabled = false;
  89. btn_emplno.disabled = false;
  90. ipt_emplnm.disabled = false;
  91. // ipt_deduyy.disabled = false;
  92. // ipt_workym.disabled = false;
  93. // btn_cnfmyncan.visible = true;
  94. //btn_cnfmyn.text = "전송취소";
  95. }
  96. else {
  97. // cmb_instcd.disabled = true;
  98. ipt_emplno.disabled = true;
  99. btn_emplno.disabled = true;
  100. ipt_emplnm.disabled = true;
  101. // btn_cnfmyncan.visible = false;
  102. //btn_cnfmyn.text = "재무팀전송";
  103. }
  104. }
  105. ]]>
  106. </script>
  107. </xhtml:head>
  108. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  109. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  110. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">근로소득원천징수영수증출력</caption>
  111. </group>
  112. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  113. <line id="line12" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  114. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  115. <caption>초기화</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. fInitialize();
  119. ]]>
  120. </script>
  121. </button>
  122. </group>
  123. <group id="group5" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  124. <group id="group6" style="left:0px; top:10px; width:1194px; height:40px; vertical-align:top; ">
  125. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:38px; "/>
  126. <caption id="cap_calcyy" class="search_name" style="left:335px; top:9px; width:86px; height:17px; ">정산년도 :</caption>
  127. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1125px; top:8px; width:56px; height:22px; text-align:left; ">
  128. <caption>조회</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. if(!isRequiredControls("cmb_instcd"))return;
  132. model.resetInstanceNode("/root/print/PrintRfehemht");
  133. submit("TRRWY04001");
  134. if (ipt_calcyy.value >= "2009") {
  135. exeReportPreview("RPRWY03202", "XMLSTR");
  136. }
  137. else {
  138. exeReportPreview("RPRWY03200", "XMLSTR");
  139. }
  140. model.refresh();
  141. ]]>
  142. </script>
  143. </button>
  144. <line id="line14" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
  145. <input id="ipt_calcyy" ref="/root/send/calcyy" class="input_s_essential" inputtype="date" maxlength="4" format="yyyy" style="left:424px; top:8px; width:95px; height:19px; text-align:center; ">
  146. <script type="javascript" ev:event="xforms-value-changed">
  147. <![CDATA[
  148. ipt_workym.value = ipt_calcyy.value+"12";
  149. ]]>
  150. </script>
  151. </input>
  152. <input id="ipt_workym" ref="/root/send/workym" class="input_s_essential" inputtype="date" maxlength="6" format="yyyy-mm" style="left:629px; top:8px; width:95px; height:19px; text-align:center; "/>
  153. <caption id="cap_emplno" class="search_name" style="left:756px; top:9px; width:95px; height:17px; ">사원번호 :</caption>
  154. <button id="btn_emplno" class="icon_search" style="left:929px; top:8px; width:16px; height:16px; ">
  155. <caption/>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. var recv_list = "emplno,emplnm" ;
  159. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  160. model.refresh();
  161. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  162. btn_search.dispatch("DOMActivate");
  163. }
  164. ]]>
  165. </script>
  166. </button>
  167. <input id="ipt_emplno" ref="/root/send/emplno" class="input_search" navindex="2" style="left:846px; top:8px; width:80px; height:19px; text-align:center; ">
  168. <script type="javascript" ev:event="onkeyup">
  169. <![CDATA[
  170. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  171. inputEnterKey("ipt_emplno", "xforms-value-changed");
  172. inputEnterKey("btn_search", "DOMActivate");
  173. }
  174. ]]>
  175. </script>
  176. <script type="javascript" ev:event="xforms-value-changed">
  177. <![CDATA[
  178. if(ipt_emplno.value.length == 0) {
  179. ipt_emplnm.value = "";
  180. }
  181. else {
  182. var recv_list = "emplno,emplnm" ;
  183. rpbfValidationCheck("EMPLNO", recv_list);
  184. }
  185. model.refresh();
  186. ]]>
  187. </script>
  188. </input>
  189. <input id="ipt_emplnm" ref="/root/send/emplnm" class="input_search" navindex="3" style="left:950px; top:8px; width:98px; height:19px; text-align:center; ">
  190. <script type="javascript" ev:event="onkeyup">
  191. <![CDATA[
  192. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  193. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  194. inputEnterKey("btn_search", "DOMActivate");
  195. }
  196. ]]>
  197. </script>
  198. <script type="javascript" ev:event="xforms-value-changed">
  199. <![CDATA[
  200. if(ipt_emplnm.value.length == 0) {
  201. ipt_emplno.value = "";
  202. }
  203. else {
  204. var recv_list = "emplno,emplnm" ;
  205. rpbfValidationCheck("EMPLNM", recv_list);
  206. }
  207. model.refresh();
  208. ]]>
  209. </script>
  210. </input>
  211. <caption id="cap_instcd" class="search_name" style="left:15; top:9; width:86px; height:17px; ">기관코드 :</caption>
  212. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:104px; top:8px; width:203px; height:19px; text-align:center; ">
  213. <choices>
  214. <itemset>
  215. <label/>
  216. <value/>
  217. </itemset>
  218. </choices>
  219. </select1>
  220. <caption id="cap_workym" class="search_name" style="left:541px; top:9px; width:86px; height:17px; ">정산년월 :</caption>
  221. </group>
  222. <caption id="caption22" class="tit_2" style="left:5px; top:59px; width:201px; height:14px; ">근로소득 원천징수 내역</caption>
  223. <line id="line19" class="line_1" style="x1:0px; y1:74px; x2:1194px; y2:74px; "/>
  224. </group>
  225. </xhtml:body>
  226. </xhtml:html>