SMRWP00700_근태자료계산.xrw 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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>SMRWP00600_급여계산</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. cmb_saldfrayflag.value = "1";
  38. //opt_message.text = "작업 왕료여부는 결과보기를 클릭해서 조회 하십시요.";
  39. model.refresh();
  40. model.setFocus("cmb_saldfrayflag");
  41. ]]>
  42. </script>
  43. <submission id="TXRWP00701" 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. <line id="line1" class="line_3" style="x1:10px; y1:179px; x2:290px; y2:179px; "/>
  59. <caption id="caption278" class="tit_2" style="left:10px; top:10px; width:157px; height:14px; ">근태자료계산</caption>
  60. <caption id="caption11" class="cell_1" style="left:10px; top:129px; width:87px; height:23px; vertical-align:middle; ">부서</caption>
  61. <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; ">
  62. <script type="javascript" ev:event="xforms-value-changed">
  63. <![CDATA[
  64. ipt_paydd.value = ipt_payym.value + "25";
  65. ]]>
  66. </script>
  67. </input>
  68. <caption id="caption7" class="cell_1" style="left:10px; top:101px; width:87px; height:26px; vertical-align:middle; ">작업년월</caption>
  69. <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; ">
  70. <choices>
  71. <item>
  72. <label>생성</label>
  73. <value>I</value>
  74. </item>
  75. <item>
  76. <label>삭제</label>
  77. <value>D</value>
  78. </item>
  79. </choices>
  80. </select1>
  81. <caption id="caption17" class="cell_1" style="left:10px; top:153px; width:87px; height:23px; vertical-align:middle; ">사번</caption>
  82. <caption id="caption8" class="cell_1" style="left:10px; top:77px; width:87px; height:23px; vertical-align:middle; ">작업구분</caption>
  83. <button id="btn_deptcd" class="icon_search" style="left:158px; top:130px; width:16px; height:16px; ">
  84. <caption/>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. var recv_list = "dutdeptcd,deptnm";
  88. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list);
  89. model.refresh();
  90. ]]>
  91. </script>
  92. </button>
  93. <input id="ipt_deptcd" ref="/root/send/paycalc/dutdeptcd" class="input_default" style="left:99px; top:129px; width:55px; height:19px; ">
  94. <script type="javascript" ev:event="xforms-value-changed">
  95. <![CDATA[
  96. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  97. model.refresh();
  98. ]]>
  99. </script>
  100. </input>
  101. <input id="ipt_deptnm" ref="/root/send/paycalc/deptnm" class="input_default" style="left:179px; top:129px; width:106px; height:19px; ">
  102. <script type="javascript" ev:event="xforms-value-changed">
  103. <![CDATA[
  104. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  105. model.refresh();
  106. ]]>
  107. </script>
  108. </input>
  109. <button id="btn_emplno" class="icon_search" style="left:158px; top:155px; width:16px; height:16px; ">
  110. <caption/>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. var recv_list = "emplno,emplnm" ;
  114. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  115. model.refresh();
  116. ]]>
  117. </script>
  118. </button>
  119. <input id="ipt_emplno" ref="/root/send/paycalc/emplno" class="input_default" style="left:99px; top:154px; width:55px; height:19px; ">
  120. <script type="javascript" ev:event="xforms-value-changed">
  121. <![CDATA[
  122. var recv_list = "emplno,emplnm" ;
  123. rpbfValidationCheck("EMPLNO", recv_list);
  124. model.refresh();
  125. ]]>
  126. </script>
  127. </input>
  128. <input id="ipt_emplnm" ref="/root/send/paycalc/emplnm" class="input_default" style="left:179px; top:154px; width:106px; height:19px; ">
  129. <script type="javascript" ev:event="xforms-value-changed">
  130. <![CDATA[
  131. var recv_list = "emplno,emplnm" ;
  132. rpbfValidationCheck("EMPLNM", recv_list);
  133. model.refresh();
  134. ]]>
  135. </script>
  136. </input>
  137. <caption id="caption1" class="cell_1" style="left:10px; top:30px; width:87px; height:23px; vertical-align:middle; ">지급구분</caption>
  138. <select1 id="cmb_saldfrayflag" ref="/root/send/paycalc/saldfrayflag" class="combo_default" appearance="minimal" style="left:100px; top:32px; width:185px; height:19px; ">
  139. <choices>
  140. <itemset>
  141. <label/>
  142. <value/>
  143. </itemset>
  144. </choices>
  145. <script type="javascript" ev:event="xforms-value-changed">
  146. <![CDATA[
  147. if (cmb_saldfrayflag.value == "2") {
  148. addComboItem( "cmb_instcd", "[-- 전체 --]", "%", "above");
  149. model.setValue(cmb_instcd.attribute("ref"), "%");
  150. }
  151. else {
  152. misfComboComCdListMulti("R0112,Z0007","cmb_saldfrayflag,cmb_instcd");
  153. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "bnuspayflag");
  154. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "divcalcflag");
  155. // var curdate = getCurrentDate();
  156. // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  157. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  158. // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
  159. }
  160. model.refresh();
  161. ]]>
  162. </script>
  163. </select1>
  164. <input id="ipt_paydd" ref="/root/send/paycalc/paydd" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:410px; top:132px; width:185px; height:19px; "/>
  165. <caption id="caption2" class="cell_1" visibility="hidden" style="left:320px; top:130px; width:87px; height:26px; vertical-align:middle; ">지급일자</caption>
  166. <select1 id="cmb_instcd" ref="/root/send/paycalc/instcd" class="combo_default" appearance="minimal" style="left:99px; top:55px; width:185px; height:19px; ">
  167. <choices>
  168. <itemset>
  169. <label/>
  170. <value/>
  171. </itemset>
  172. </choices>
  173. </select1>
  174. <caption id="caption3" class="cell_1" style="left:10px; top:55px; width:87px; height:21px; vertical-align:middle; ">기관</caption>
  175. <output id="opt_message" style="left:320px; top:100px; width:310px; height:19px; "/>
  176. </group>
  177. <group id="grp_btn" scroll="auto" style="left:0px; top:195px; width:1195px; height:27px; ">
  178. <button id="btn_save" class="btn4_letter2" style="left:233px; top:3px; width:56px; height:22px; ">
  179. <caption>작업</caption>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. submit("TXRWP00701");
  183. var curdate = getCurrentDate();
  184. zsbfOpenBatchLogPopup("paybaseinfomgr.PayDutCalcBatch", curdate, curdate);
  185. ]]>
  186. </script>
  187. </button>
  188. </group>
  189. </xhtml:body>
  190. </xhtml:html>