SMRWP01500_급여명세서출력.xrw 7.7 KB

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