SMRWP00200_급여월차작업.xrw 9.2 KB

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