SMRWP01510_급여명세서출력.xrw 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. <print>
  11. <printdata/>
  12. <printdata2/>
  13. <printdata3/>
  14. </print>
  15. </main>
  16. <init/>
  17. <send>
  18. <payamt>
  19. <payym/>
  20. <saldfrayflag/>
  21. <emplno/>
  22. <emplnm/>
  23. <instcd/>
  24. </payamt>
  25. </send>
  26. <hidden/>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. /* Combo Data Setting
  32. misfComboComCdListMulti(공통코드군, Combo) */
  33. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  34. misfComboComCdListMulti("R0112","cmb_SalDfrayFlag");
  35. makeReportPreview(0,100,1195,650);
  36. // cmb_instcd.select(0);
  37. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  38. cmb_SalDfrayFlag.select(0);
  39. var today = getCurrentDate();
  40. ipt_payym.value = parseInt(today.substring(0, 6));
  41. model.setValue("/root/send/payamt/emplno", getUserId());
  42. model.setValue("/root/send/payamt/emplnm", getUserName());
  43. model.refresh();
  44. /*
  45. misfGetUserAuth();
  46. if (DUTY_PAY_YN == "Y" ) {
  47. cmb_instcd.disabled = false;
  48. }
  49. else {
  50. cmb_instcd.disabled = true;
  51. }
  52. model.setFocus("ipt_emplnos");
  53. */
  54. ]]>
  55. </script>
  56. <submission id="TRRWP01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/print"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  62. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  63. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  64. </xhtml:head>
  65. <xhtml:body style="margin-left:8; margin-right:8; ">
  66. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  67. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">급여 명세서 출력</caption>
  68. </group>
  69. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  70. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  71. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  72. <caption>조회</caption>
  73. <script type="javascript" ev:event="DOMActivate">
  74. <![CDATA[
  75. submit("TRRWP01503");
  76. if (model.getValue("/root/send/payamt/saldfrayflag") == "1" || model.getValue("/root/send/payamt/saldfrayflag") == "2" || model.getValue("/root/send/payamt/saldfrayflag") == "A"){
  77. //if (model.getValue("root/init/validation/empllist/holyordflag") == "1"){
  78. exeReportPreview("RPRWP01501", "XMLSTR");
  79. //}else{
  80. //exeReportPreview("RPRWP01503", "XMLSTR");
  81. //}
  82. }else{
  83. exeReportPreview("RPRWP01501", "XMLSTR");
  84. }
  85. /*
  86. if (cmb_instcd.value == "014") {
  87. exeReportPreview("RPRWP01501", "XMLSTR");
  88. }
  89. else if (cmb_instcd.value == "017") {
  90. exeReportPreview("RPRWP01502", "XMLSTR");
  91. }
  92. else {
  93. exeReportPreview("RPRWP01500", "XMLSTR");
  94. }
  95. */
  96. ]]>
  97. </script>
  98. </button>
  99. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
  100. <button id="btn_emplno" class="icon_search" visibility="hidden" style="left:878px; top:18px; width:16px; height:16px; ">
  101. <caption/>
  102. <script type="javascript" ev:event="DOMActivate">
  103. <![CDATA[
  104. var recv_list = "emplno,emplnm" ;
  105. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","N");
  106. model.refresh();
  107. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  108. //btn_search.dispatch("DOMActivate");
  109. ipt_emplnos.dispatch("xforms-value-changed");
  110. }
  111. ]]>
  112. </script>
  113. </button>
  114. <caption id="caption1" class="search_name" style="left:725px; top:19px; width:63px; height:17px; ">사번 :</caption>
  115. <input id="ipt_emplnos" ref="/root/send/payamt/emplno" class="input_default" disabled="true" style="left:786px; top:18px; width:87px; height:19px; ">
  116. <script type="javascript" ev:event="onkeyup">
  117. <![CDATA[
  118. if (ipt_emplnos.currentText != null && ipt_emplnos.currentText != "" ) {
  119. inputEnterKey("ipt_emplnos", "xforms-value-changed");
  120. }
  121. ]]>
  122. </script>
  123. <script type="javascript" ev:event="xforms-value-changed">
  124. <![CDATA[
  125. var recv_list = "emplno,emplnm" ;
  126. rpbfValidationCheck("EMPLNO", recv_list);
  127. model.refresh();
  128. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  129. btn_search.dispatch("DOMActivate");
  130. }
  131. ]]>
  132. </script>
  133. </input>
  134. <input id="ipt_emplnms" ref="/root/send/payamt/emplnm" class="input_default" disabled="true" style="left:897px; top:18px; width:141px; height:19px; ">
  135. <script type="javascript" ev:event="onkeyup">
  136. <![CDATA[
  137. if (ipt_emplnms.currentText != null && ipt_emplnms.currentText != "" ) {
  138. inputEnterKey("ipt_emplnms", "xforms-value-changed");
  139. }
  140. ]]>
  141. </script>
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. var recv_list = "emplno,emplnm" ;
  145. rpbfValidationCheck("EMPLNM", recv_list);
  146. model.refresh();
  147. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  148. btn_search.dispatch("DOMActivate");
  149. }
  150. ]]>
  151. </script>
  152. </input>
  153. <caption id="caption21" class="search_name" style="left:505px; top:19px; width:86px; height:17px; ">급여종류:</caption>
  154. <select1 id="cmb_SalDfrayFlag" ref="/root/send/payamt/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:586px; top:18px; width:125px; height:19px; ">
  155. <choices>
  156. <itemset>
  157. <label/>
  158. <value/>
  159. </itemset>
  160. </choices>
  161. <script type="javascript" ev:event="xforms-value-changed">
  162. <![CDATA[
  163. if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
  164. cmb_instcd.disabled = false;
  165. }
  166. else {
  167. cmb_instcd.disabled = true;
  168. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  169. model.refresh();
  170. }
  171. ]]>
  172. </script>
  173. </select1>
  174. <caption id="caption22" class="search_name" style="left:310px; top:19px; width:85px; height:17px; ">지급월:</caption>
  175. <input id="ipt_payym" ref="/root/send/payamt/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:379px; top:18px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  176. <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:144px; height:14px; ">급여명세서</caption>
  177. <line id="line193" class="line_1" style="x1:2px; y1:66px; x2:1192px; y2:66px; "/>
  178. <select1 id="cmb_instcd" ref="/root/send/payamt/instcd" class="combo_s_essential" appearance="minimal" style="left:109px; top:18px; width:179px; height:19px; ">
  179. <choices>
  180. <itemset>
  181. <label/>
  182. <value/>
  183. </itemset>
  184. </choices>
  185. </select1>
  186. <caption id="cap_instcd" class="search_name" style="left:20px; top:19px; width:85px; height:17px; ">기 관 :</caption>
  187. </group>
  188. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  189. </xhtml:body>
  190. </xhtml:html>