SMRWC01900_급여지급공제출력순서관리.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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. <payitemtitle>
  11. <appdd/>
  12. <saldfrayflag/>
  13. <instcd/>
  14. </payitemtitle>
  15. <save>
  16. <payitemtitlelist/>
  17. </save>
  18. </send>
  19. <main>
  20. <payitemtitle>
  21. <payitemtitlelist/>
  22. </payitemtitle>
  23. </main>
  24. <init/>
  25. <hiddeen>
  26. <temp/>
  27. </hiddeen>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. //btn_save. disabled = !checkAuth("X");
  33. misfGridInit(grd_payitemtitle);
  34. misfMsterDetailSet(grd_payitemtitle,null, "TRRWC00101" ,"Y");
  35. var curdate = getCurrentDate();
  36. model.setValue(ipt_appdd.attribute("ref") , curdate);
  37. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  38. //model.setValue(ipt_deptcd.attribute("ref") , getUserInfo("posdeptcd"));
  39. //model.setValue(ipt_deptnm.attribute("ref") , getUserInfo("posdeptnm"));
  40. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  41. misfComboComCdListMulti("R0112,R0099,R0100,R0101,R0102,R0104,R0103","cmb_SalDfrayFlag,grd_payitemtitle.paydeduflag,grd_payitemtitle.calcmthd,grd_payitemtitle.calcbase,grd_payitemtitle.calcflag,grd_payitemtitle.taxfalg,grd_payitemtitle.restflag");
  42. misfGetUserAuth();
  43. if (DUTY_PAY_YN == "Y" ) {
  44. cmb_instcd.disabled = false;
  45. }
  46. else {
  47. cmb_instcd.disabled = true;
  48. }
  49. ]]>
  50. </script>
  51. <submission id="TXRWC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  52. <submission id="TRRWC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payitemtitle" resultref="/root/main/payitemtitle"/>
  53. </model>
  54. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  57. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  58. </xhtml:head>
  59. <xhtml:body style="margin-left:8; margin-right:8; ">
  60. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  61. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">급여지급공제출력순서관리</caption>
  62. </group>
  63. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  64. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  65. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  66. <caption>조회</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. misfMsterDetailRetrieve();
  70. ]]>
  71. </script>
  72. </button>
  73. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  74. <caption id="caption3" class="search_name" style="left:9px; top:18px; width:86px; height:17px; ">적용일자 :</caption>
  75. <caption id="caption5" class="tit_2" style="left:5px; top:55px; width:157px; height:13px; ">급여지급/공제 Title</caption>
  76. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  77. <datagrid id="grd_payitemtitle" nodeset="/root/main/payitemtitle/payitemtitlelist" caption="계산순서^급여항목^출력명^지급공제^계산방법^계산기준^일할구분^예외계산여부^통상임금여부^정산여부^세금여부^과세구분^절사구분^적용일자^n/12여부^출력여부^출력순서^기관코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^지급구분^급여항목코드명^수습|계산순서^급여항목^출력명^지급공제^계산방법^계산기준^일할구분^예외계산여부^통상임금여부^정산여부^세금여부^과세구분^절사구분^적용일자^n/12여부^출력여부^출력순서^기관코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^지급구분^급여항목코드명^수습" colsep="^" colwidth="36, 87, 136, 88, 93, 90, 81, 44, 30, 34, 37, 63, 97, 93, 49, 37, 61, 95, 41, 39, 39, 48, 45, 58, 35" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:1195px; height:660px; ">
  78. <col ref="calcseq" type="output"/>
  79. <col ref="payitemcd" type="output" style="text-align:center; vertical-align:middle; "/>
  80. <col ref="prntnm" type="output"/>
  81. <col id="paydeduflag" disabled="true" ref="paydeduflag" type="combo" style="text-align:center; vertical-align:middle; ">
  82. <choices>
  83. <itemset>
  84. <label/>
  85. <value/>
  86. </itemset>
  87. </choices>
  88. </col>
  89. <col id="calcmthd" disabled="true" ref="calcmthd" type="combo" style="text-align:center; vertical-align:middle; ">
  90. <choices>
  91. <itemset>
  92. <label/>
  93. <value/>
  94. </itemset>
  95. </choices>
  96. </col>
  97. <col id="calcbase" disabled="true" ref="calcbase" type="combo" style="text-align:center; vertical-align:middle; ">
  98. <choices>
  99. <itemset>
  100. <label/>
  101. <value/>
  102. </itemset>
  103. </choices>
  104. </col>
  105. <col id="calcflag" disabled="true" ref="calcflag" type="combo" style="text-align:center; vertical-align:middle; ">
  106. <choices>
  107. <itemset>
  108. <label/>
  109. <value/>
  110. </itemset>
  111. </choices>
  112. </col>
  113. <col checkvalue="Y,N" disabled="true" ref="exptcalcyn" type="checkbox"/>
  114. <col checkvalue="Y,N" disabled="true" ref="odnrpayyn" type="checkbox"/>
  115. <col checkvalue="Y,N" disabled="true" ref="yyendcalcyn" type="checkbox"/>
  116. <col checkvalue="Y,N" disabled="true" ref="taxyn" type="checkbox"/>
  117. <col id="taxfalg" checkvalue="Y,N" disabled="true" ref="taxfalg" type="combo" style="text-align:center; vertical-align:middle; ">
  118. <choices>
  119. <itemset>
  120. <label/>
  121. <value/>
  122. </itemset>
  123. </choices>
  124. </col>
  125. <col id="restflag" disabled="true" ref="restflag" type="combo" style="text-align:center; vertical-align:middle; ">
  126. <choices>
  127. <itemset>
  128. <label/>
  129. <value/>
  130. </itemset>
  131. </choices>
  132. </col>
  133. <col disabled="true" ref="appdd" type="inputdate" visibility="visible" style="text-align:center; vertical-align:middle; "/>
  134. <col checkvalue="Y,N" disabled="true" ref="ratecalcyn" type="checkbox"/>
  135. <col checkvalue="Y,N" ref="prntyn" type="checkbox"/>
  136. <col ref="prntseq" type="input" style="text-align:right; vertical-align:middle; "/>
  137. <col ref="instcd" visibility="hidden"/>
  138. <col ref="fstrgstrid" visibility="hidden"/>
  139. <col ref="fstrgstdt" visibility="hidden"/>
  140. <col ref="lastupdtrid" visibility="hidden"/>
  141. <col ref="lastupdtdt" visibility="hidden"/>
  142. <col ref="saldfrayflag" visibility="hidden"/>
  143. <col ref="payitemcdnm" type="output" visibility="hidden"/>
  144. <col ref="probatncalcyn" visibility="hidden"/>
  145. <script type="javascript" ev:event="onbuttonclick">
  146. <![CDATA[
  147. if (grd_payitemtitle.colAttribute(grd_payitemtitle.col,"ref") == "payitemcd" ) { //급여항목
  148. var recv_list = "payitemcd,payitemcdnm";
  149. misfOpenPopUpList("03", grd_payitemtitle,"R0133", recv_list) ;
  150. model.refresh();
  151. }
  152. ]]>
  153. </script>
  154. <script type="javascript" ev:event="xforms-value-changed">
  155. <![CDATA[
  156. if (grd_payitemtitle.colAttribute(grd_payitemtitle.col,"ref") == "payitemcd" ) { //급여항목
  157. var recv_list = "payitemcd,payitemcdnm";
  158. misfValidationCheck("03", "R0133",recv_list);
  159. model.refresh();
  160. }
  161. ]]>
  162. </script>
  163. </datagrid>
  164. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  165. <caption>엑셀저장</caption>
  166. <script type="javascript" ev:event="DOMActivate">
  167. <![CDATA[
  168. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  169. if (fileName != "")
  170. {
  171. grd_payitemtitle.saveExcel(fileName);
  172. }
  173. ]]>
  174. </script>
  175. </button>
  176. <input id="ipt_appdd" ref="/root/send/payitemtitle/appdd" class="input_s_essential" inputtype="date" style="left:96px; top:17px; width:130px; height:19px; "/>
  177. <button id="btn_grddelpayitemtitle" class="btn2_letter3" style="left:1074px; top:49px; width:53px; height:19px; ">
  178. <caption>행삭제</caption>
  179. <script type="javascript" ev:event="DOMActivate">
  180. <![CDATA[
  181. misfGridIUD(grd_payitemtitle, "D");
  182. ]]>
  183. </script>
  184. </button>
  185. <button id="btn_grdaddpayitemtitle" class="btn2_letter3" style="left:1018px; top:49px; width:53px; height:19px; ">
  186. <caption>행추가</caption>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. misfGridIUD(grd_payitemtitle, "A");
  190. ]]>
  191. </script>
  192. </button>
  193. <caption id="caption1" class="search_name" style="left:495px; top:18px; width:86px; height:17px; ">급여종류:</caption>
  194. <select1 id="cmb_SalDfrayFlag" ref="/root/send/payitemtitle/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:576px; top:17px; width:125px; height:19px; ">
  195. <choices>
  196. <itemset>
  197. <label/>
  198. <value/>
  199. </itemset>
  200. </choices>
  201. <script type="javascript" ev:event="xforms-value-changed">
  202. <![CDATA[
  203. if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
  204. cmb_instcd.disabled = false;
  205. }
  206. else {
  207. cmb_instcd.disabled = true;
  208. }
  209. btn_search.dispatch("DOMActivate");
  210. ]]>
  211. </script>
  212. </select1>
  213. <caption id="caption2" class="search_name" style="left:265px; top:18px; width:61px; height:17px; ">기관:</caption>
  214. <select1 id="cmb_instcd" ref="/root/send/payitemtitle/instcd" class="combo_s_essential" appearance="minimal" style="left:324px; top:17px; width:125px; height:19px; ">
  215. <choices>
  216. <itemset>
  217. <label/>
  218. <value/>
  219. </itemset>
  220. </choices>
  221. <script type="javascript" ev:event="xforms-value-changed">
  222. <![CDATA[
  223. btn_search.dispatch("DOMActivate");
  224. ]]>
  225. </script>
  226. </select1>
  227. </group>
  228. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  229. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  230. <caption>저장</caption>
  231. <script type="javascript" ev:event="DOMActivate">
  232. <![CDATA[
  233. misfSave("TXRWC00101");
  234. ]]>
  235. </script>
  236. </button>
  237. <button id="btn_init" class="btn4_letter3" style="left:1071px; top:3px; width:68px; height:22px; ">
  238. <caption>초기화</caption>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. misfGridInit(grd_payitemtitle);
  242. ]]>
  243. </script>
  244. </button>
  245. <line id="line1" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  246. </group>
  247. </xhtml:body>
  248. </xhtml:html>