SMRWC01000_근속년수기준내역.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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. <send>
  10. <payitem>
  11. <appdd/>
  12. <paydeduflag/>
  13. <calcmthd/>
  14. <saldfrayflag/>
  15. <instcd/>
  16. </payitem>
  17. <save>
  18. <dutyyylist/>
  19. </save>
  20. <dutyyy>
  21. <payitemcd/>
  22. <appdd/>
  23. <saldfrayflag/>
  24. <instcd/>
  25. </dutyyy>
  26. </send>
  27. <main>
  28. <dutyyy>
  29. <dutyyylist/>
  30. </dutyyy>
  31. <payitem>
  32. <payitemlist/>
  33. </payitem>
  34. </main>
  35. <init/>
  36. <hiddeen>
  37. <temp/>
  38. </hiddeen>
  39. <temp>
  40. <target/>
  41. </temp>
  42. </root>
  43. </instance>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. //btn_save. disabled = !checkAuth("X");
  47. misfGridInit(grd_payitemtitle);
  48. misfGridInit(grd_dutyyylist);
  49. misfMsterDetailSet(grd_payitemtitle,null, "TRRWC01002" ,"N");
  50. misfMsterDetailSet(grd_dutyyylist,grd_payitemtitle, "TRRWC01001" ,"Y");
  51. if(instance1.selectNodes("/root/temp/target/*").length > 0)
  52. {
  53. btn_close.visible = true;
  54. ipt_appdd.value = model.getValue("/root/temp/target/appdd");
  55. cmb_SalDfrayFlag.value = model.getValue("/root/temp/target/saldfrayflag");
  56. cmb_instcd.value = model.getValue("/root/temp/target/instcd");
  57. misfComboComCdListMulti("R0105,R0323","grd_dutyyylist.rate_amtflag,cmb_SalDfrayFlag");
  58. btn_search.dispatch("DOMActivate");
  59. }
  60. else {
  61. var curdate = getCurrentDate();
  62. model.setValue(ipt_appdd.attribute("ref") , curdate);
  63. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  64. misfComboComCdListMulti("R0105,R0112","grd_dutyyylist.rate_amtflag,cmb_SalDfrayFlag");
  65. }
  66. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  67. misfGetUserAuth();
  68. if (DUTY_PAY_YN == "Y" ) {
  69. cmb_instcd.disabled = false;
  70. }
  71. else {
  72. cmb_instcd.disabled = true;
  73. }
  74. ]]>
  75. </script>
  76. <submission id="TRRWC01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutyyy" resultref="/root/main/dutyyy"/>
  77. <submission id="TRRWC01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payitem" resultref="/root/main/payitem"/>
  78. <submission id="TXRWC01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  79. </model>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  83. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  84. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  85. </xhtml:head>
  86. <xhtml:body style="margin-left:8; margin-right:8; ">
  87. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  88. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">근속년수급여기준등록</caption>
  89. </group>
  90. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  91. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  92. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  93. <caption>조회</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. model.setValue("/root/send/payitem/paydeduflag","%");
  97. model.setValue("/root/send/payitem/calcmthd","005");
  98. misfMsterDetailRetrieve();
  99. ]]>
  100. </script>
  101. </button>
  102. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  103. <caption id="caption3" class="search_name" style="left:9px; top:18px; width:86px; height:17px; ">적용일자 :</caption>
  104. <caption id="caption5" class="tit_2" style="left:5px; top:55px; width:186px; height:14px; ">근속년수 기준 지급 항목List</caption>
  105. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:355px; y2:70px; "/>
  106. <datagrid id="grd_payitemtitle" nodeset="/root/main/payitem/payitemlist" caption="급여항목^급여항목코드명^계산기준^적용일자^지급구분^기관|급여항목^급여항목코드명^계산기준^적용일자^지급구분^기관" colsep="^" colwidth="107, 204, 36, 48, 43, 32" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:355px; height:660px; ">
  107. <col ref="payitemcd" type="output" style="text-align:center; vertical-align:middle; "/>
  108. <col ref="prntnm" type="output"/>
  109. <col ref="calcbase" visibility="hidden"/>
  110. <col ref="appdd" visibility="hidden"/>
  111. <col ref="saldfrayflag" visibility="hidden"/>
  112. <col ref="instcd" visibility="hidden"/>
  113. <script type="javascript" ev:event="onrowchanged">
  114. <![CDATA[
  115. misfMsterDetailRetrieve();
  116. ]]>
  117. </script>
  118. </datagrid>
  119. <datagrid id="grd_dutyyylist" nodeset="/root/main/dutyyy/dutyyylist" caption="근속년수(From)^근속년수(To)^율_금액구분^율_금액^적용일자^기관코드^급여항목코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^지급구분|근속년수(From)^근속년수(To)^율_금액구분^율_금액^적용일자^기관코드^급여항목코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^지급구분" colsep="^" colwidth="140, 137, 212, 130, 152, 40, 41, 38, 61, 39, 45, 37" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:360px; top:75px; width:833px; height:660px; ">
  120. <col ref="dutyyno" type="input" format="999" style="text-align:center; vertical-align:middle; "/>
  121. <col ref="dutyynoto" type="input" format="999" style="text-align:center; vertical-align:middle; "/>
  122. <col id="rate_amtflag" ref="rate_amtflag" type="combo">
  123. <choices>
  124. <itemset>
  125. <label/>
  126. <value/>
  127. </itemset>
  128. </choices>
  129. </col>
  130. <col ref="rate_amt" type="input" format="#,###" style="text-align:right; vertical-align:middle; "/>
  131. <col ref="appdd" type="inputdate" style="text-align:center; vertical-align:middle; "/>
  132. <col ref="instcd" visibility="hidden"/>
  133. <col ref="payitemcd" visibility="hidden"/>
  134. <col ref="fstrgstrid" visibility="hidden"/>
  135. <col ref="fstrgstdt" visibility="hidden"/>
  136. <col ref="lastupdtrid" visibility="hidden"/>
  137. <col ref="lastupdtdt" visibility="hidden"/>
  138. <col ref="saldfrayflag" visibility="hidden"/>
  139. </datagrid>
  140. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  141. <caption>엑셀저장</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  145. if (fileName != "")
  146. {
  147. grd_dutyyylist.saveExcel(fileName);
  148. }
  149. ]]>
  150. </script>
  151. </button>
  152. <input id="ipt_appdd" ref="/root/send/payitem/appdd" class="input_s_essential" inputtype="date" style="left:96px; top:17px; width:130px; height:19px; ">
  153. <script type="javascript" ev:event="xforms-value-changed">
  154. <![CDATA[
  155. btn_search.dispatch("DOMActivate");
  156. ]]>
  157. </script>
  158. </input>
  159. <button id="btn_grddelpayitemtitle" class="btn2_letter3" style="left:1074px; top:49px; width:53px; height:19px; ">
  160. <caption>행삭제</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. misfGridIUD(grd_dutyyylist, "D");
  164. ]]>
  165. </script>
  166. </button>
  167. <button id="btn_grdaddpayitemtitle" class="btn2_letter3" style="left:1018px; top:49px; width:53px; height:19px; ">
  168. <caption>행추가</caption>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. misfGridIUD(grd_dutyyylist, "A");
  172. ]]>
  173. </script>
  174. </button>
  175. <line id="line3" class="line_1" style="x1:360px; y1:70px; x2:1193px; y2:70px; "/>
  176. <caption id="caption1" class="tit_2" style="left:360px; top:55px; width:186px; height:14px; ">근속년수별 지급 금액 List</caption>
  177. <caption id="caption2" class="search_name" style="left:485px; top:18px; width:86px; height:17px; ">급여종류:</caption>
  178. <select1 id="cmb_SalDfrayFlag" ref="/root/send/payitem/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:566px; top:17px; width:125px; height:19px; ">
  179. <choices>
  180. <itemset>
  181. <label/>
  182. <value/>
  183. </itemset>
  184. </choices>
  185. <script type="javascript" ev:event="xforms-value-changed">
  186. <![CDATA[
  187. if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
  188. cmb_instcd.disabled = false;
  189. }
  190. else {
  191. cmb_instcd.disabled = true;
  192. }
  193. btn_search.dispatch("DOMActivate");
  194. ]]>
  195. </script>
  196. </select1>
  197. <select1 id="cmb_instcd" ref="/root/send/payitem/instcd" class="combo_s_essential" appearance="minimal" style="left:325px; top:17px; width:125px; height:19px; ">
  198. <choices>
  199. <itemset>
  200. <label/>
  201. <value/>
  202. </itemset>
  203. </choices>
  204. </select1>
  205. <caption id="caption8" class="search_name" style="left:266px; top:18px; width:61px; height:17px; ">기관:</caption>
  206. </group>
  207. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  208. <button id="btn_save" class="btn4_letter2" style="left:1071px; top:3px; width:56px; height:22px; ">
  209. <caption>저장</caption>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. misfSave("TXRWC01001");
  213. ]]>
  214. </script>
  215. </button>
  216. <button id="btn_init" class="btn4_letter3" style="left:1003px; top:3px; width:68px; height:22px; ">
  217. <caption>초기화</caption>
  218. <script type="javascript" ev:event="DOMActivate">
  219. <![CDATA[
  220. misfGridInit(grd_payitemtitle);
  221. misfGridInit(grd_dutyyylist);
  222. ]]>
  223. </script>
  224. </button>
  225. <line id="line1" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  226. <button id="btn_close" class="btn4_letter2" visibility="hidden" style="left:1135px; top:3px; width:56px; height:22px; ">
  227. <caption>종료</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. window.close();
  231. ]]>
  232. </script>
  233. </button>
  234. </group>
  235. </xhtml:body>
  236. </xhtml:html>