SMRWP00600_급여계산.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. <paycalc/>
  11. </main>
  12. <send>
  13. <paycalc>
  14. <saldfrayflag/>
  15. <idflag>I</idflag>
  16. <payym/>
  17. <paydd/>
  18. <dutdeptcd/>
  19. <deptnm/>
  20. <emplno/>
  21. <emplnm/>
  22. <instcd/>
  23. </paycalc>
  24. </send>
  25. <init/>
  26. <hidden/>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. var curdate = getCurrentDate();
  32. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  33. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  34. model.setValue(ipt_paydd.attribute("ref") , curdate.substr(0,6) + "25" );
  35. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
  36. misfComboComCdListMulti("R0112","cmb_saldfrayflag");
  37. //opt_message.text = "작업 왕료여부는 결과보기를 클릭해서 조회 하십시요.";
  38. cmb_saldfrayflag.value = "1";
  39. model.refresh();
  40. model.setFocus("cmb_saldfrayflag");
  41. ]]>
  42. </script>
  43. <submission id="TXRWP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paycalc" resultref="/root/hidden/temp"/>
  44. </model>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  48. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  49. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  50. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  51. </xhtml:head>
  52. <xhtml:body guideline="2,10;">
  53. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  54. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">급여계산</caption>
  55. </group>
  56. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:694px; ">
  57. <line id="line203" class="line_1" style="x1:10px; y1:25px; x2:290px; y2:25px; "/>
  58. <caption id="caption278" class="tit_2" style="left:10px; top:10px; width:157px; height:13px; ">급여계산</caption>
  59. <caption id="caption11" class="cell_1" style="left:10px; top:129px; width:87px; height:23px; vertical-align:middle; ">부서</caption>
  60. <input id="ipt_payym" ref="/root/send/paycalc/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:100px; top:103px; width:185px; height:19px; ">
  61. <script type="javascript" ev:event="xforms-value-changed">
  62. <![CDATA[
  63. ipt_paydd.value = ipt_payym.value + "25";
  64. ]]>
  65. </script>
  66. </input>
  67. <caption id="caption7" class="cell_1" style="left:10px; top:101px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
  68. <select1 id="rdo_idflag" ref="/root/send/paycalc/idflag" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:100px; top:78px; width:95px; height:20px; border-style:none; ">
  69. <choices>
  70. <item>
  71. <label>생성</label>
  72. <value>I</value>
  73. </item>
  74. <item>
  75. <label>삭제</label>
  76. <value>D</value>
  77. </item>
  78. </choices>
  79. </select1>
  80. <caption id="caption17" class="cell_1" style="left:10px; top:153px; width:87px; height:23px; vertical-align:middle; ">사번</caption>
  81. <caption id="caption8" class="cell_1" style="left:10px; top:77px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
  82. <button id="btn_deptcd" class="icon_search" style="left:158px; top:130px; width:16px; height:16px; ">
  83. <caption/>
  84. <script type="javascript" ev:event="DOMActivate">
  85. <![CDATA[
  86. var recv_list = "dutdeptcd,deptnm";
  87. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list);
  88. model.refresh();
  89. ]]>
  90. </script>
  91. </button>
  92. <input id="ipt_deptcd" ref="/root/send/paycalc/dutdeptcd" class="input_default" style="left:99px; top:129px; width:55px; height:19px; ">
  93. <script type="javascript" ev:event="xforms-value-changed">
  94. <![CDATA[
  95. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  96. model.refresh();
  97. ]]>
  98. </script>
  99. </input>
  100. <input id="ipt_deptnm" ref="/root/send/paycalc/deptnm" class="input_default" style="left:179px; top:129px; width:106px; height:19px; ">
  101. <script type="javascript" ev:event="xforms-value-changed">
  102. <![CDATA[
  103. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  104. model.refresh();
  105. ]]>
  106. </script>
  107. </input>
  108. <button id="btn_emplno" class="icon_search" style="left:158px; top:155px; width:16px; height:16px; ">
  109. <caption/>
  110. <script type="javascript" ev:event="DOMActivate">
  111. <![CDATA[
  112. var recv_list = "emplno,emplnm" ;
  113. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  114. model.refresh();
  115. ]]>
  116. </script>
  117. </button>
  118. <input id="ipt_emplno" ref="/root/send/paycalc/emplno" class="input_default" style="left:99px; top:154px; width:55px; height:19px; ">
  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. ]]>
  125. </script>
  126. </input>
  127. <input id="ipt_emplnm" ref="/root/send/paycalc/emplnm" class="input_default" style="left:179px; top:154px; width:106px; height:19px; ">
  128. <script type="javascript" ev:event="xforms-value-changed">
  129. <![CDATA[
  130. var recv_list = "emplno,emplnm" ;
  131. rpbfValidationCheck("EMPLNM", recv_list);
  132. model.refresh();
  133. ]]>
  134. </script>
  135. </input>
  136. <caption id="caption1" class="cell_1" style="left:10px; top:30px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
  137. <select1 id="cmb_saldfrayflag" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:100px; top:31px; width:185px; height:19px; ">
  138. <choices>
  139. <itemset>
  140. <label/>
  141. <value/>
  142. </itemset>
  143. </choices>
  144. <script type="javascript" ev:event="xforms-value-changed">
  145. <![CDATA[
  146. if ( cmb_saldfrayflag.value == "5" ) {
  147. caption2.visible = true;
  148. ipt_paydd.visible = true;
  149. }
  150. else {
  151. caption2.visible = false;
  152. ipt_paydd.visible = false;
  153. }
  154. if (cmb_saldfrayflag.value == "2") {
  155. addComboItem( "cmb_instcd", "[-- 전체 --]", "%", "above");
  156. model.setValue(cmb_instcd.attribute("ref"), "%");
  157. }
  158. else {
  159. misfComboComCdListMulti("R0112,Z0007","cmb_saldfrayflag,cmb_instcd");
  160. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "bnuspayflag");
  161. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "divcalcflag");
  162. // var curdate = getCurrentDate();
  163. // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  164. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  165. // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
  166. }
  167. model.refresh();
  168. ]]>
  169. </script>
  170. </select1>
  171. <input id="ipt_paydd" ref="/root/send/paycalc/paydd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:181px; width:185px; height:19px; "/>
  172. <caption id="caption2" class="cell_1" visibility="hidden" style="left:10px; top:178px; width:87px; height:26px; vertical-align:middle; ">명절일자</caption>
  173. <select1 id="cmb_instcd" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:100px; top:56px; width:185px; height:19px; ">
  174. <choices>
  175. <itemset>
  176. <label/>
  177. <value/>
  178. </itemset>
  179. </choices>
  180. </select1>
  181. <caption id="caption3" class="cell_1" style="left:10px; top:55px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
  182. <output id="opt_message" style="left:295px; top:130px; width:284px; height:19px; "/>
  183. </group>
  184. <group id="grp_btn" scroll="auto" style="left:0px; top:220px; width:1195px; height:27px; ">
  185. <button id="btn_save" class="btn4_letter2" style="left:110px; top:3px; width:56px; height:22px; ">
  186. <caption>작업</caption>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. submit("TXRWP00601");
  190. var curdate = getCurrentDate()
  191. zsbfOpenBatchLogPopup("paybnusmgr.PayCalcBatch", curdate, curdate);
  192. ]]>
  193. </script>
  194. </button>
  195. <button id="button1" class="btn4_letter7" style="left:170px; top:3px; width:116px; height:22px; ">
  196. <caption>공제초과자조회</caption>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. modal("SMRWP02600","","","","","", "" );
  200. ]]>
  201. </script>
  202. </button>
  203. </group>
  204. </xhtml:body>
  205. </xhtml:html>