SMRWP01520_급여명세서출력.xrw 8.1 KB

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