SMRWC00450_상여지급율등록.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <bnusinfo>
  11. <bnusinfolist/>
  12. </bnusinfo>
  13. <bnusitem>
  14. <bnusitemlist/>
  15. </bnusitem>
  16. <payitem>
  17. <payitemlist/>
  18. </payitem>
  19. </main>
  20. <send>
  21. <bnusinfo>
  22. <saldfrayflag/>
  23. <appdd/>
  24. <prfshipflag/>
  25. <payitemcd/>
  26. <instcd/>
  27. <payclsprfshipflag/>
  28. </bnusinfo>
  29. <save>
  30. <bnusinfolist/>
  31. <bnusitemlist/>
  32. </save>
  33. <payitem>
  34. <appdd/>
  35. <paydeduflag/>
  36. <calcmthd/>
  37. <saldfrayflag/>
  38. <prfshipflag/>
  39. <instcd/>
  40. <payclsprfshipflag/>
  41. <payitemcd/>
  42. <year/>
  43. </payitem>
  44. <bnusitem>
  45. <saldfrayflag/>
  46. <basedd/>
  47. <prfshipflag/>
  48. <payitemcd/>
  49. <bnusflag/>
  50. <paymm/>
  51. <instcd/>
  52. <payclsprfshipflag/>
  53. </bnusitem>
  54. </send>
  55. <init/>
  56. <hidden>
  57. <temp/>
  58. </hidden>
  59. <temp>
  60. <target/>
  61. </temp>
  62. </root>
  63. </instance>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. misfGridInit(grd_payitemtitle);
  67. misfGridInit(grd_bnusinfolist);
  68. misfMsterDetailSet(grd_payitemtitle,null, "TRRWC00405" ,"N");
  69. misfMsterDetailSet(grd_bnusinfolist,grd_payitemtitle, "TRRWC00404" ,"Y");
  70. model.setValue("/root/send/payitem/year", getCurrentDate().substr(0, 4));
  71. //misfComboComCdListMulti("R0061","grd_bnusinfolist.jobkindcd");
  72. //model.setValue(ipt_appdd.attribute("ref") , curdate);
  73. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  74. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  75. misfGetUserAuth();
  76. if (DUTY_PAY_YN == "Y" ) {
  77. cmb_instcd.disabled = false;
  78. }
  79. else {
  80. cmb_instcd.disabled = true;
  81. }
  82. ]]>
  83. </script>
  84. <submission id="TXRWC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  85. <submission id="TRRWC00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payitem" resultref="/root/main/payitem"/>
  86. <submission id="TRRWC00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payitem" resultref="/root/main/bnusinfo"/>
  87. <submission id="TRRWC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bnusitem" resultref="/root/main/bnusitem"/>
  88. </model>
  89. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  92. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  93. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  94. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  95. </xhtml:head>
  96. <xhtml:body>
  97. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  98. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">상여지급율등록</caption>
  99. </group>
  100. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  101. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  102. <line id="line13" class="line_4" style="x1:1109px; y1:16px; x2:1109px; y2:38px; "/>
  103. <caption id="caption3" class="search_name" visibility="hidden" style="left:863px; top:21px; width:86px; height:17px; ">적용일자 :</caption>
  104. <caption id="caption5" class="tit_2" style="left:275px; top:55px; width:157px; height:13px; ">상여지급율</caption>
  105. <line id="line2" class="line_1" style="x1:273px; y1:70px; x2:1194px; y2:70px; "/>
  106. <caption id="caption4" class="search_name" visibility="hidden" style="left:657px; top:19px; width:112px; height:17px; ">호봉구분 :</caption>
  107. <select1 id="cmb_payclsprfshipflag" ref="/root/send/payitem/payclsprfshipflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:744px; top:18px; width:100px; height:19px; ">
  108. <choices>
  109. <itemset>
  110. <label/>
  111. <value/>
  112. </itemset>
  113. </choices>
  114. </select1>
  115. <input id="ipt_appdd" ref="/root/send/payitem/appdd" class="input_s_essential" visibility="hidden" inputtype="date" style="left:950px; top:20px; width:100px; height:19px; "/>
  116. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:16px; width:56px; height:22px; ">
  117. <caption>조회</caption>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. model.setValue("/root/send/payitem/paydeduflag","%");
  121. model.setValue("/root/send/payitem/calcmthd","006");
  122. misfMsterDetailRetrieve();
  123. ]]>
  124. </script>
  125. </button>
  126. <datagrid id="grd_bnusinfolist" nodeset="/root/main/bnusinfo/bnusinfolist" caption="지급일자^근속년수^근속년수^지급율^지급금액^지급기간^지급기간^직종코드^직종명^비고^기관코드^급여항목코드" colsep="^" colwidth="108, 45, 41, 79, 92, 102, 98, 66, 103, 143, 40, 35" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:273px; top:75px; width:921px; height:660px; ">
  127. <col disabled="true" ref="yymmdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
  128. <col disabled="true" ref="gunsokfrom" type="input" style="text-align:center; "/>
  129. <col ref="gunsokto" type="input" style="text-align:center; "/>
  130. <col ref="rate" type="input" format="#,###.00" style="text-align:right; vertical-align:middle; "/>
  131. <col ref="amt" type="input" format="#,###" style="text-align:right; "/>
  132. <col ref="jigubfrom" type="inputdate" style="text-align:center; vertical-align:middle; "/>
  133. <col ref="jigubto" type="inputdate" style="text-align:center; vertical-align:middle; "/>
  134. <col disabled="true" ref="jobkindcd" type="inputbutton"/>
  135. <col ref="jobkindnm"/>
  136. <col ref="remark" type="input"/>
  137. <col ref="instcd" visibility="hidden"/>
  138. <col ref="payitemcd" visibility="hidden"/>
  139. <script type="javascript" ev:event="onbuttonclick">
  140. <![CDATA[
  141. if (grd_bnusinfolist.colAttribute(grd_bnusinfolist.col,"ref") == "jobkindcd" ) { //직종
  142. var recv_list = "jobkindcd,jobkindnm";
  143. rpbfOpenComCdHelp(grd_bnusinfolist,"R0061", recv_list);
  144. model.refresh();
  145. }
  146. ]]>
  147. </script>
  148. </datagrid>
  149. <button id="btn_savegrdbnusinfoexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  150. <caption>엑셀저장</caption>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  154. if (fileName != "")
  155. {
  156. grd_bnusinfolist.saveExcel(fileName);
  157. }
  158. ]]>
  159. </script>
  160. </button>
  161. <button id="btn_grdaddbnusinfo" class="btn2_letter3" style="left:1018px; top:49px; width:53px; height:19px; ">
  162. <caption>행추가</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. misfGridIUD(grd_bnusinfolist, "A");
  166. ]]>
  167. </script>
  168. </button>
  169. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:186px; height:14px; ">상여 지급 항목List</caption>
  170. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:270px; y2:70px; "/>
  171. <datagrid id="grd_payitemtitle" nodeset="/root/main/payitem/payitemlist" caption="급여항목^급여항목코드명^계산기준^기관^caption1" colsep="^" colwidth="81, 151, 36, 31, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:270px; height:660px; ">
  172. <col ref="payitemcd" type="output" style="text-align:center; vertical-align:middle; "/>
  173. <col ref="prntnm" type="output"/>
  174. <col ref="calcbase" visibility="hidden"/>
  175. <col ref="instcd" visibility="hidden"/>
  176. <col ref="year" visibility="hidden"/>
  177. <script type="javascript" ev:event="onrowchanged">
  178. <![CDATA[
  179. //model.setValue("/root/send/payitem/payitemcd", model.getValue("/root/main/payitem/payitemlist[" + grd_payitemtitle.row + "]/payitemcd"));
  180. //submit("TRRWC00404");
  181. misfMsterDetailRetrieve();
  182. ]]>
  183. </script>
  184. </datagrid>
  185. <caption id="caption7" class="search_name" visibility="hidden" style="left:425px; top:19px; width:86px; height:17px; ">급여종류:</caption>
  186. <select1 id="cmb_SalDfrayFlag" ref="/root/send/payitem/saldfrayflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:506px; top:18px; width:125px; height:19px; ">
  187. <choices>
  188. <itemset>
  189. <label/>
  190. <value/>
  191. </itemset>
  192. </choices>
  193. <script type="javascript" ev:event="xforms-value-changed">
  194. <![CDATA[
  195. if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
  196. cmb_instcd.disabled = false;
  197. }
  198. else {
  199. cmb_instcd.disabled = true;
  200. }
  201. ]]>
  202. </script>
  203. </select1>
  204. <button id="btn_grddelbnusinfo" class="btn2_letter3" style="left:1074px; top:49px; width:53px; height:19px; ">
  205. <caption>행삭제</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. misfGridIUD(grd_bnusinfolist, "D");
  209. ]]>
  210. </script>
  211. </button>
  212. <select1 id="cmb_instcd" ref="/root/send/payitem/instcd" class="combo_s_essential" appearance="minimal" style="left:84px; top:18px; width:125px; height:19px; ">
  213. <choices>
  214. <itemset>
  215. <label/>
  216. <value/>
  217. </itemset>
  218. </choices>
  219. </select1>
  220. <caption id="caption8" class="search_name" style="left:25px; top:19px; width:61px; height:17px; ">기관:</caption>
  221. <caption id="caption9" class="search_name" style="left:255px; top:19px; width:86px; height:17px; ">적용년도:</caption>
  222. <input id="input1" ref="/root/send/payitem/year" maxlength="4" format="9999" style="left:340px; top:18px; width:70px; height:19px; text-align:center; ">
  223. <script type="javascript" ev:event="xforms-value-changed">
  224. <![CDATA[
  225. misfGridInit(grd_payitemtitle);
  226. misfGridInit(grd_bnusinfolist);
  227. btn_search.dispatch("DOMActivate");
  228. ]]>
  229. </script>
  230. </input>
  231. </group>
  232. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  233. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  234. <button id="btn_save" class="btn4_letter2" style="left:1074px; top:3px; width:56px; height:22px; ">
  235. <caption>저장</caption>
  236. <script type="javascript" ev:event="DOMActivate">
  237. <![CDATA[
  238. misfSave("TXRWC00402");
  239. ]]>
  240. </script>
  241. </button>
  242. <button id="btn_clear" class="btn4_letter3" style="left:1004px; top:3px; width:68px; height:22px; ">
  243. <caption>초기화</caption>
  244. </button>
  245. <button id="btn_close" class="btn4_letter2" visibility="hidden" style="left:1135px; top:3px; width:56px; height:22px; ">
  246. <caption>종료</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. window.close();
  250. ]]>
  251. </script>
  252. </button>
  253. </group>
  254. </xhtml:body>
  255. </xhtml:html>