SMRWP00400_특별처리자등록.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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. <payspectret>
  11. <payspectretlist1/>
  12. <payspectretlist2/>
  13. </payspectret>
  14. </main>
  15. <send>
  16. <payspectret>
  17. <emplno/>
  18. <emplnm/>
  19. <saldfrayflag/>
  20. <payym/>
  21. <spcltretflag/>
  22. </payspectret>
  23. <save>
  24. <payspectretlist1/>
  25. <payspectretlist2/>
  26. </save>
  27. </send>
  28. </root>
  29. </instance>
  30. <submission id="TRRWP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payspectret" resultref="/root/main/payspectret"/>
  31. <submission id="TXRWP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. misfGridInit(grd_payspectretlist1);
  35. misfGridInit(grd_payspectretlist2);
  36. misfMsterDetailSet(grd_payspectretlist1, null, "TRRWP00401" ,"Y");
  37. misfMsterDetailSet(grd_payspectretlist2, null, "TRRWP00401" ,"Y");
  38. var curdate = getCurrentDate();
  39. //model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  40. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6) + "17");
  41. model.setValue(cmb_SalDfrayFlag.attribute("ref") , "1");
  42. misfComboComCdListMulti("R0112","cmb_SalDfrayFlag");
  43. cmb_spcltretflag.value = "1";
  44. model.setFocus("ipt_emplnos");
  45. ]]>
  46. </script>
  47. </model>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  52. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  53. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  54. </xhtml:head>
  55. <xhtml:body style="margin-left:8; margin-right:8; ">
  56. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  57. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">특별처리자등록</caption>
  58. </group>
  59. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  60. <line id="line1" class="line_3" style="x1:0px; y1:740px; x2:590px; y2:740px; "/>
  61. <line id="line9" class="line_1" style="x1:0px; y1:62px; x2:590px; y2:62px; "/>
  62. <caption id="caption34" class="tit_2" style="left:6px; top:48px; width:144px; height:13px; ">지급항목</caption>
  63. <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
  64. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  65. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  66. <caption>조회</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. misfMsterDetailRetrieve();
  70. ]]>
  71. </script>
  72. </button>
  73. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  74. <input id="ipt_payym" ref="/root/send/payspectret/payym" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:634px; top:6px; width:124px; height:19px; text-align:center; vertical-align:middle; "/>
  75. <caption id="caption2" class="search_name" style="left:5px; top:6px; width:63px; height:17px; ">사번 :</caption>
  76. <caption id="caption10" class="search_name" style="left:330px; top:6px; width:86px; height:17px; ">급여종류:</caption>
  77. <caption id="caption30" class="search_name" style="left:550px; top:6px; width:81px; height:17px; ">지급일자:</caption>
  78. <button id="btn_emplno" class="icon_search" style="left:158px; top:6px; width:16px; height:16px; ">
  79. <caption/>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. var recv_list = "emplno,emplnm" ;
  83. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","N");
  84. model.refresh();
  85. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  86. btn_search.dispatch("DOMActivate");
  87. }
  88. ]]>
  89. </script>
  90. </button>
  91. <input id="ipt_emplnos" ref="/root/send/payspectret/emplno" class="input_default" style="left:66px; top:6px; width:87px; height:19px; ">
  92. <script type="javascript" ev:event="onkeyup">
  93. <![CDATA[
  94. if (ipt_emplnos.currentText != null && ipt_emplnos.currentText != "" ) {
  95. inputEnterKey("ipt_emplnos", "xforms-value-changed");
  96. }
  97. ]]>
  98. </script>
  99. <script type="javascript" ev:event="xforms-value-changed">
  100. <![CDATA[
  101. var recv_list = "emplno,emplnm" ;
  102. rpbfValidationCheck("EMPLNO", recv_list);
  103. model.refresh();
  104. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  105. btn_search.dispatch("DOMActivate");
  106. }
  107. ]]>
  108. </script>
  109. </input>
  110. <select1 id="cmb_SalDfrayFlag" ref="/root/send/payspectret/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:411px; top:6px; width:125px; height:19px; ">
  111. <choices>
  112. <itemset>
  113. <label/>
  114. <value/>
  115. </itemset>
  116. </choices>
  117. </select1>
  118. <input id="ipt_emplnms" ref="/root/send/payspectret/emplnm" class="input_default" style="left:177px; top:6px; width:141px; height:19px; ">
  119. <script type="javascript" ev:event="onkeyup">
  120. <![CDATA[
  121. if (ipt_emplnms.currentText != null && ipt_emplnms.currentText != "" ) {
  122. inputEnterKey("ipt_emplnms", "xforms-value-changed");
  123. }
  124. ]]>
  125. </script>
  126. <script type="javascript" ev:event="xforms-value-changed">
  127. <![CDATA[
  128. var recv_list = "emplno,emplnm" ;
  129. rpbfValidationCheck("EMPLNM", recv_list);
  130. model.refresh();
  131. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  132. btn_search.dispatch("DOMActivate");
  133. }
  134. ]]>
  135. </script>
  136. </input>
  137. <caption id="caption7" class="search_name" visibility="hidden" style="left:775px; top:6px; width:58px; height:17px; ">구분:</caption>
  138. <select1 id="cmb_spcltretflag" ref="/root/send/payspectret/spcltretflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:831px; top:6px; width:125px; height:19px; ">
  139. <choices>
  140. <item>
  141. <label>특별처리</label>
  142. <value>1</value>
  143. </item>
  144. <item>
  145. <label>전월착오분</label>
  146. <value>2</value>
  147. </item>
  148. </choices>
  149. </select1>
  150. </group>
  151. <datagrid id="grd_payspectretlist1" nodeset="/root/main/payspectret/payspectretlist1" caption="급여항목^급여항목명^금액^비고^사원번호^지급공제구분^급여종류^지급년월^구분" colsep="^" colwidth="83, 139, 87, 237, 35, 42, 35, 27, 33" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:67px; width:590px; height:670px; ">
  152. <col ref="payitemcd"/>
  153. <col ref="payitemnm"/>
  154. <col ref="payitemamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  155. <col ref="cmt" type="input"/>
  156. <col ref="emplno" visibility="hidden"/>
  157. <col ref="paydeduflag" visibility="hidden"/>
  158. <col ref="saldfrayflag" visibility="hidden"/>
  159. <col ref="payym" visibility="hidden"/>
  160. <col ref="paydd" visibility="hidden"/>
  161. <col ref="spcltretflag" visibility="hidden"/>
  162. <col ref="oldpayym" visibility="hidden"/>
  163. <col ref="oldpaydd" visibility="hidden"/>
  164. <script type="javascript" ev:event="onaftersort">
  165. <![CDATA[
  166. grd_payspectretlist1.gridToInstance();
  167. ]]>
  168. </script>
  169. </datagrid>
  170. <line id="line2" class="line_1" style="x1:600px; y1:62px; x2:1190px; y2:62px; "/>
  171. <datagrid id="grd_payspectretlist2" nodeset="/root/main/payspectret/payspectretlist2" caption="급여항목^급여항목명^금액^비고^사원번호^지급공제구분^급여종류^지급년월^구분" colsep="^" colwidth="73, 131, 115, 228, 35, 42, 35, 27, 33" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:600px; top:67px; width:590px; height:670px; ">
  172. <col ref="payitemcd"/>
  173. <col ref="payitemnm"/>
  174. <col ref="payitemamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  175. <col ref="cmt" type="input"/>
  176. <col ref="emplno" visibility="hidden"/>
  177. <col ref="paydeduflag" visibility="hidden"/>
  178. <col ref="saldfrayflag" visibility="hidden"/>
  179. <col ref="payym" visibility="hidden"/>
  180. <col ref="paydd" visibility="hidden"/>
  181. <col ref="spcltretflag" visibility="hidden"/>
  182. <col ref="oldpayym" visibility="hidden"/>
  183. <col ref="oldpaydd" visibility="hidden"/>
  184. <script type="javascript" ev:event="onaftersort">
  185. <![CDATA[
  186. grd_payspectretlist2.gridToInstance();
  187. ]]>
  188. </script>
  189. </datagrid>
  190. <caption id="caption1" class="tit_2" style="left:606px; top:48px; width:144px; height:14px; ">공제항목</caption>
  191. <line id="line3" class="line_3" style="x1:600px; y1:740px; x2:1190px; y2:740px; "/>
  192. </group>
  193. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  194. <button id="btn_save" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
  195. <caption>저장</caption>
  196. <script type="javascript" ev:event="DOMActivate">
  197. <![CDATA[
  198. misfSave("TXRWP00401");
  199. ]]>
  200. </script>
  201. </button>
  202. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  203. </group>
  204. <button id="btn_inputexcel" class="btn2_letter6" style="left:1010px; top:55px; width:76px; height:19px; ">
  205. <caption>전체 0원적용</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. for (var i = 1; i < grd_payspectretlist1.rows; i ++){
  209. grd_payspectretlist1.rowStatus(i) = 2;
  210. model.setValue("/root/main/payspectret/payspectretlist1[" + i + "]/payitemamt", "0");
  211. }
  212. for (var i = 1; i < grd_payspectretlist2.rows; i ++){
  213. grd_payspectretlist2.rowStatus(i) = 2;
  214. model.setValue("/root/main/payspectret/payspectretlist2[" + i + "]/payitemamt", "0");
  215. }
  216. model.refresh();
  217. ]]>
  218. </script>
  219. </button>
  220. </xhtml:body>
  221. </xhtml:html>