SMRWY04200_근로소득원천징수부(급여기준)출력.xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. </send>
  16. <main>
  17. <list>
  18. <print>
  19. <printdata/>
  20. <printdata2/>
  21. <printdata3/>
  22. </print>
  23. </list>
  24. </main>
  25. <init/>
  26. <temp/>
  27. <print/>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. fInitialize();
  33. ]]>
  34. </script>
  35. <submission id="TRRWY04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/print"/>
  36. </model>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  41. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  42. <script type="javascript">
  43. <![CDATA[
  44. function fInitialize()
  45. {
  46. model.resetInstanceNode("/root/PrintRfehemht");
  47. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  48. var nowdate = getCurrentDate();
  49. var yy = nowdate.substring(0,4);
  50. var mm = nowdate.substring(4,6);
  51. var yyyymm = nowdate.substring(0,6);
  52. if (mm == "01" || mm == "02") {
  53. yy = parseInt(yy) - 1;
  54. yyyymm = yy + "12";
  55. }
  56. ipt_calcyy.value =yy;
  57. ipt_workym.value = yyyymm;
  58. // ipt_calcyy.value = getCurrentDate().toDate().getDateFormat("YYYY");
  59. // ipt_workym.value = getCurrentDate().toDate("YYYYMM").getDateFormat("YYYYMM")-1;
  60. cmb_instcd.value = getUserInfo("dutplceinstcd");
  61. makeReportPreview(0,120,1195,660);
  62. misfGetUserAuth();
  63. if (DUTY_PAY_YN == "Y" ) {
  64. cmb_instcd.disabled = false;
  65. }
  66. else {
  67. cmb_instcd.disabled = true;
  68. }
  69. model.refresh();
  70. }
  71. ]]>
  72. </script>
  73. </xhtml:head>
  74. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  75. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  76. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:222px; height:14px; ">근로소득원천징수부출력(급여기준)</caption>
  77. </group>
  78. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  79. <line id="line12" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  80. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  81. <caption>초기화</caption>
  82. <script type="javascript" ev:event="DOMActivate">
  83. <![CDATA[
  84. fInitialize();
  85. ]]>
  86. </script>
  87. </button>
  88. </group>
  89. <group id="group5" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  90. <group id="group6" style="left:0px; top:10px; width:1194px; height:40px; vertical-align:top; ">
  91. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:38px; "/>
  92. <caption id="cap_calcyy" class="search_name" style="left:335px; top:9px; width:86px; height:17px; ">정산년도 :</caption>
  93. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1125px; top:8px; width:56px; height:22px; text-align:left; ">
  94. <caption>조회</caption>
  95. <script type="javascript" ev:event="DOMActivate">
  96. <![CDATA[
  97. if(!isRequiredControls("cmb_instcd"))return;
  98. if(!isRequiredControls("ipt_emplno"))return;
  99. model.resetInstanceNode("/root/print/PrintRfehemht");
  100. submit("TRRWY04201");
  101. exeReportPreview("RPRWY03300", "XMLSTR");
  102. model.refresh();
  103. ]]>
  104. </script>
  105. </button>
  106. <line id="line14" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
  107. <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; "/>
  108. <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; "/>
  109. <caption id="cap_emplno" class="search_name" style="left:756px; top:9px; width:88px; height:17px; ">사원번호:</caption>
  110. <button id="btn_emplno" class="icon_search" style="left:929px; top:8px; width:16px; height:16px; ">
  111. <caption/>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. var recv_list = "emplno,emplnm" ;
  115. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  116. model.refresh();
  117. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  118. btn_search.dispatch("DOMActivate");
  119. }
  120. ]]>
  121. </script>
  122. </button>
  123. <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; ">
  124. <script type="javascript" ev:event="onkeyup">
  125. <![CDATA[
  126. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  127. inputEnterKey("ipt_emplno", "xforms-value-changed");
  128. inputEnterKey("btn_search", "DOMActivate");
  129. }
  130. ]]>
  131. </script>
  132. <script type="javascript" ev:event="xforms-value-changed">
  133. <![CDATA[
  134. if(ipt_emplno.value.length == 0) {
  135. ipt_emplnm.value = "";
  136. }
  137. else {
  138. var recv_list = "emplno,emplnm" ;
  139. rpbfValidationCheck("EMPLNO", recv_list);
  140. }
  141. model.refresh();
  142. ]]>
  143. </script>
  144. </input>
  145. <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; ">
  146. <script type="javascript" ev:event="onkeyup">
  147. <![CDATA[
  148. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  149. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  150. inputEnterKey("btn_search", "DOMActivate");
  151. }
  152. ]]>
  153. </script>
  154. <script type="javascript" ev:event="xforms-value-changed">
  155. <![CDATA[
  156. if(ipt_emplnm.value.length == 0) {
  157. ipt_emplno.value = "";
  158. }
  159. else {
  160. var recv_list = "emplno,emplnm" ;
  161. rpbfValidationCheck("EMPLNM", recv_list);
  162. }
  163. model.refresh();
  164. ]]>
  165. </script>
  166. </input>
  167. <caption id="cap_instcd" class="search_name" style="left:15; top:9; width:86px; height:17px; ">기관코드 :</caption>
  168. <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; ">
  169. <choices>
  170. <itemset>
  171. <label/>
  172. <value/>
  173. </itemset>
  174. </choices>
  175. </select1>
  176. <caption id="cap_workym" class="search_name" style="left:541px; top:9px; width:86px; height:17px; ">정산년월 :</caption>
  177. </group>
  178. <caption id="caption22" class="tit_2" style="left:5px; top:59px; width:234px; height:14px; ">근로소득 원천징수부 내역(급여기준)</caption>
  179. <line id="line19" class="line_1" style="x1:0px; y1:74px; x2:1194px; y2:74px; "/>
  180. </group>
  181. </xhtml:body>
  182. </xhtml:html>