SMRWR00300_퇴직금관리.xrw 77 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300
  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. <retireempl>
  11. <retireempllist/>
  12. </retireempl>
  13. <retirepayamt>
  14. <retirebaselist>
  15. </retirebaselist>
  16. <retireamtmmlist>
  17. <payym/>
  18. <pay3/>
  19. <pay12_1/>
  20. <pay12_2/>
  21. <pay12_3/>
  22. <pay12_4/>
  23. </retireamtmmlist>
  24. <rwrdpyitlist/>
  25. <spreyearnolist/>
  26. </retirepayamt>
  27. <retirepayamttmp>
  28. <retirepayamttmplist/>
  29. </retirepayamttmp>
  30. <retireamt>
  31. <retireamtlist/>
  32. </retireamt>
  33. <retirebefore>
  34. <retirebeforelist/>
  35. </retirebefore>
  36. <rwrdpyit>
  37. <rwrdpyitlist/>
  38. <spreyearnolist/>
  39. </rwrdpyit>
  40. </main>
  41. <send>
  42. <retireempl>
  43. <fromdd/>
  44. <todd/>
  45. <instcd/>
  46. <prfshipflag/>
  47. <jobgradcd/>
  48. <unitcd/>
  49. <emplno/>
  50. <jobgradnm/>
  51. <unitnm/>
  52. <emplnm/>
  53. <avgamt/>
  54. </retireempl>
  55. <amtreq>
  56. <emplno/>
  57. <retiredd/>
  58. </amtreq>
  59. <save>
  60. <spreyearnolist/>
  61. <rwrdpyitlist/>
  62. </save>
  63. </send>
  64. <init>
  65. <calcuyn>
  66. <label>예</label>
  67. <value>Y</value>
  68. <label>아니오</label>
  69. <value>N</value>
  70. </calcuyn>
  71. <temp>
  72. <valutemp/>
  73. <year/>
  74. <month/>
  75. </temp>
  76. </init>
  77. <temp/>
  78. <spreflist>
  79. <spref>
  80. <errormsg/>
  81. <errflag/>
  82. </spref>
  83. </spreflist>
  84. </root>
  85. </instance>
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. var TARGET_NODE = "/root/main/retireamt";
  89. var SOURCE_NODE = "/root/main/retirepayamttmp";
  90. model.removeNodeset(grd_retireempllist.nodeset);
  91. model.removeNodeset(grd_retirepayamttmplist.nodeset);
  92. model.removeNodeset(grd_retireamtmmlist.nodeset);
  93. model.removeNodeset(grd_rwrdpyitlist.nodeset);
  94. model.removeNodeset(grd_retirebeforelist.nodeset);
  95. model.removeNodeset(grd_spreyearnolist.nodeset);
  96. misfMsterDetailSet(grd_retireempllist, null, "TRRWR00305" ,"N");
  97. misfMsterDetailSet(grd_retirepayamttmplist, null, "TRRWR00301" ,"Y");
  98. misfMsterDetailSet(grd_rwrdpyitlist, null, "TRRWR00303" ,"N");
  99. misfMsterDetailSet(grd_retirebeforelist, grd_retirepayamttmplist, "TRRWR00304" ,"Y");
  100. var curdate = getCurrentDate();
  101. model.setValue(ipt_fromdd.attribute("ref") , curdate);
  102. model.setValue(ipt_todd.attribute("ref") , curdate);
  103. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  104. misfComboComCdListMulti("R0058","cmb_prfshipflag");
  105. button2.selected = true;
  106. // cmb_instcd.select(0);
  107. // addComboItem( "cmb_instcd", "[-- 전체 --]", "%", "above");
  108. // model.setValue(cmb_instcd.attribute("ref"), "%");
  109. if (getUserInfo("dutplceinstcd") == "014") {
  110. grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 223;
  111. grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = false;
  112. }
  113. else {
  114. grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 311;
  115. grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = true;
  116. }
  117. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  118. addComboItem( "cmb_prfshipflag", "[-- 전체 --]", "%", "above");
  119. model.setValue(cmb_prfshipflag.attribute("ref"), "%");
  120. model.toggle("case1");
  121. misfGetUserAuth();
  122. if (DUTY_PAY_YN == "Y" ) {
  123. cmb_instcd.disabled = false;
  124. }
  125. else {
  126. cmb_instcd.disabled = true;
  127. }
  128. model.refresh();
  129. model.setFocus("ipt_fromdd");
  130. ]]>
  131. </script>
  132. <submission id="TRRWR00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/amtreq" resultref="/root/main/retirepayamt"/>
  133. <submission id="TRRWR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/amtreq" resultref="/root/main/retirepayamttmp"/>
  134. <submission id="TRRWR00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamt/retirebaselist" resultref="/root/main/rwrdpyit"/>
  135. <submission id="TRRWR00305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retireempl" resultref="/root/main/retireempl"/>
  136. <submission id="TRRWR00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamt/retirebaselist" resultref="/root/main/retirebefore"/>
  137. <submission id="TXRWR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamt/retirebaselist" resultref="/root/spreflist"/>
  138. <submission id="TXRWR00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamt/retirebaselist" resultref="/root/spreflist"/>
  139. <submission id="TXRWR00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirebefore/retirebeforelist" resultref="/root/temp"/>
  140. <bind id="bemonth" ref="/root/init/temp/month" calculate="number(/root/init/temp/valutemp) div 30" type="xsd:decimal"/>
  141. <bind id="beyear" ref="/root/init/temp/year" calculate="number(/root/init/temp/valutemp) div 365" type="xsd:decimal"/>
  142. <submission id="TXRWR00305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/retirepayamttmp/retirepayamttmplist" resultref="/root/temp"/>
  143. <submission id="TXRWR00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  144. <submission id="TRRWR00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retireempl" resultref="/root/main/retireempl"/>
  145. </model>
  146. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  147. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  148. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  149. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  150. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  151. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  152. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  153. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  154. <script type="javascript">
  155. <![CDATA[
  156. //그리드 Row changed Check. make : 송광호
  157. function fGridDataCheck(pGrid, pNode)
  158. {
  159. var node = instance1.selectNodes( pGrid.nodeset + "["+ pGrid.row +"]/*");
  160. var basenode = pGrid.nodeset + "["+ pGrid.row +"]";
  161. var node2 = instance1.selectNodes(pNode + "/*");
  162. var basenode2 = pNode;
  163. var bool = false;
  164. for( s = 0; s < node.length; s++ )
  165. {
  166. if( model.getValue(basenode + "/" + node.item(s).nodeName) != model.getValue(basenode2 + "/" + node2.item(s).nodeName ) )
  167. {
  168. bool = true;
  169. break;
  170. }
  171. }
  172. if(bool)
  173. {
  174. model.copyNode(pGrid.nodeset + "["+ pGrid.row +"]" , pNode);
  175. pGrid.addStatus(pGrid.row, "update");
  176. pGrid.refresh();
  177. }
  178. }
  179. // 컨트롤 계산
  180. function fgetDD(from, to, dd)
  181. {
  182. if(from.value != '' && to.value != '')
  183. {
  184. dd.value = getDateInterval(from.value, to.value) + 1;
  185. }else{
  186. dd.value = 0;
  187. }
  188. model.recalculate();
  189. model.refresh();
  190. }
  191. // 값으로 계산
  192. function fgetValuDD(from, to)
  193. {
  194. if(from != '' && to != '')
  195. {
  196. return getDateInterval(from, to) + 1;
  197. }else{
  198. return 0;
  199. }
  200. return 0;
  201. }
  202. function fBaseValueSet()
  203. {
  204. // control 노드 삭제
  205. model.removenode("/root/main/retirepayamt/retirebaselist");
  206. // control 노드 생성.
  207. model.makeValue(ipt_emplno_d.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("emplno")) );
  208. model.makeValue(ipt_name.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("emplnm")) );
  209. model.makeValue(ipt_retireamtcalcdd.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("retireamtcalcdd")) );
  210. model.makeValue(ipt_entcodd.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("entcodd")) );
  211. model.makeValue(ipt_retiredd.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("retiredd")) );
  212. model.makeValue(ipt_calcddfrom.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("calcddfrom")) );
  213. model.makeValue(ipt_caclddto.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("caclddto")) );
  214. model.makeValue(ipt_dutdayno.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("dutdayno")) );
  215. model.makeValue(ipt_layoffddfrom.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("layoffddfrom")) );
  216. model.makeValue(ipt_layoffddto.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("layoffddto")) );
  217. model.makeValue(ipt_layoffdayno.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("layoffdayno")) );
  218. model.makeValue(ipt_paydayno.attribute("ref"), grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("paydayno")) );
  219. model.makeValue(ipt_basejobrespalwn.attribute("ref"), 0);
  220. }
  221. function Avramt(){
  222. var baseamt = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepaysum"));
  223. if (isNaN(baseamt)){
  224. baseamt = 0;
  225. }
  226. var unifamt = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamtsum"));
  227. if (isNaN(unifamt)){
  228. unifamt = 0;
  229. }
  230. var avramt = parseInt((baseamt + unifamt) / 3);
  231. //alert(baseamt + "==" + unifamt + "==" + avramt);
  232. //avramt = Math.round(avramt / 10) * 10;
  233. model.setValue("/root/main/retirepayamt/retirebaselist/payavg", avramt);
  234. AvrTotAmt();
  235. model.refresh();
  236. }
  237. function Basepay(){
  238. var basepay1 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepay1"));
  239. if (isNaN(basepay1)){
  240. basepay1 = 0;
  241. }
  242. var basepay2 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepay2"));
  243. if (isNaN(basepay2)){
  244. basepay2 = 0;
  245. }
  246. var basepay3 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepay3"));
  247. if (isNaN(basepay3)){
  248. basepay3 = 0;
  249. }
  250. var basepay4 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/basepay4"));
  251. if (isNaN(basepay4)){
  252. basepay4 = 0;
  253. }
  254. var basepaysum = parseFloat(basepay1) + parseFloat(basepay2) + parseFloat(basepay3) + parseFloat(basepay4);
  255. model.setValue("/root/main/retirepayamt/retirebaselist/basepaysum", basepaysum);
  256. Avramt();
  257. model.refresh();
  258. }
  259. function Unfixmat(){
  260. var unfixamt1 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamt1"));
  261. if (isNaN(unfixamt1)){
  262. unfixamt1 = 0;
  263. }
  264. var unfixamt2 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamt2"));
  265. if (isNaN(unfixamt2)){
  266. unfixamt2 = 0;
  267. }
  268. var unfixamt3 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamt3"));
  269. if (isNaN(unfixamt3)){
  270. unfixamt3 = 0;
  271. }
  272. var unfixamt4 = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/unfixamt4"));
  273. if (isNaN(unfixamt4)){
  274. unfixamt4 = 0;
  275. }
  276. var unfixamtsum = parseFloat(unfixamt1) + parseFloat(unfixamt2) + parseFloat(unfixamt3) + parseFloat(unfixamt4);
  277. model.setValue("/root/main/retirepayamt/retirebaselist/unfixamtsum", unfixamtsum);
  278. Avramt();
  279. model.refresh();
  280. }
  281. function BunsAmt(){
  282. var bnustamt = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/bnustotamt"));
  283. if (isNaN(bnustamt)){
  284. bnustamt = 0;
  285. }
  286. var avramt = parseInt((bnustamt) / 12);
  287. model.setValue("/root/main/retirepayamt/retirebaselist/bnusavg", avramt);
  288. AvrTotAmt();
  289. model.refresh();
  290. }
  291. function JobRespAmt(){
  292. var jobrespamt = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/jobrespalwn1"));
  293. if (isNaN(jobrespamt)){
  294. jobrespamt = 0;
  295. }
  296. var avramt = parseInt((jobrespamt) / 12);
  297. model.setValue("/root/main/retirepayamt/retirebaselist/jobrespsum", avramt);
  298. AvrTotAmt();
  299. model.refresh();
  300. }
  301. function AvrTotAmt(){
  302. var payavg = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/payavg"));
  303. if (isNaN(payavg)){
  304. payavg = 0;
  305. }
  306. var jobrespsum = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/jobrespsum"));
  307. if (isNaN(jobrespsum)){
  308. jobrespsum = 0;
  309. }
  310. var bnusavg = parseFloat(model.getValue("/root/main/retirepayamt/retirebaselist/bnusavg"));
  311. if (isNaN(bnusavg)){
  312. bnusavg = 0;
  313. }
  314. var avgamt = parseFloat(payavg) + parseFloat(jobrespsum) + parseFloat(bnusavg);
  315. model.setValue("/root/send/retireempl/avgamt", avgamt);
  316. var paydayno = parseInt(model.getValue("/root/main/retirepayamt/retirebaselist/paydayno"));
  317. if (isNaN(paydayno)){
  318. paydayno = 0;
  319. }
  320. var totamt = parseInt((parseFloat(avgamt) / 365) * paydayno);
  321. totamt = parseInt(totamt + 9);
  322. totamt = parseInt(totamt / 10);
  323. totamt = parseInt(totamt * 10);
  324. model.makeValue("/root/main/retirepayamt/retirebaselist/retirepay", totamt);
  325. model.refresh();
  326. }
  327. ]]>
  328. </script>
  329. </xhtml:head>
  330. <xhtml:body style="margin-left:8; margin-right:8; ">
  331. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  332. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">퇴직자 명단 조회</caption>
  333. </group>
  334. <group id="group3" scroll="auto" style="left:0px; top:35px; width:1195px; height:749px; ">
  335. <input id="ipt_jobrespalwn4" ref="/root/main/retirepayamt/retirebaselist/jobrespalwn4" class="input_default" disabled="true" format="#,###" style="left:828px; top:320px; width:128px; height:19px; text-align:right; "/>
  336. <switch id="switch1" style="left:330px; top:465px; width:865px; height:280px; ">
  337. <case id="case1" selected="true" style="left:0px; top:0px; width:863px; height:278px; ">
  338. <caption id="caption70" class="cell_1" style="left:283px; top:26px; width:95px; height:23px; ">근속년월</caption>
  339. <caption id="caption157" class="cell_1" style="left:48px; top:51px; width:95px; height:23px; ">퇴직급여액</caption>
  340. <caption id="caption168" class="cell_1" style="left:283px; top:151px; width:95px; height:23px; ">결정세액</caption>
  341. <line id="line62" class="line_2" style="x1:48px; y1:248px; x2:514px; y2:248px; "/>
  342. <caption id="caption71" class="cell_1" style="left:1px; top:26px; width:142px; height:23px; ">기지급 퇴직 급여</caption>
  343. <input id="ipt_yyavgcalctaxrate" ref="/root/main/retirepayamt/retirebaselist/yyavgcalctaxrate" class="input_default" disabled="true" format="#,###" style="left:382px; top:77px; width:130px; height:19px; text-align:right; "/>
  344. <input id="ipt_dutyearnodeduamt" ref="/root/main/retirepayamt/retirebaselist/dutyearnodeduamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:103px; width:130px; height:19px; text-align:right; "/>
  345. <caption id="caption158" class="cell_1" style="left:48px; top:76px; width:95px; height:23px; ">퇴직소득공제</caption>
  346. <line id="line63" class="line_2" style="x1:48px; y1:124px; x2:514px; y2:124px; "/>
  347. <caption id="caption72" style="left:447px; top:30px; width:24px; height:20px; ">년</caption>
  348. <input id="ipt_dutyearno" ref="/root/main/retirepayamt/retirebaselist/dutyearno" class="input_default" format="#,###" style="left:382px; top:30px; width:65px; height:19px; text-align:right; "/>
  349. <caption id="caption159" class="cell_1" style="left:48px; top:101px; width:95px; height:23px; ">근속년수공제</caption>
  350. <line id="line64" class="line_2" style="x1:48px; y1:149px; x2:514px; y2:149px; "/>
  351. <caption id="caption73" style="left:522px; top:30px; width:19px; height:20px; ">월</caption>
  352. <input id="input41" ref="/root/main/retirepayamt/retirebaselist/dutmonthno" class="input_default" format="#,###" style="left:482px; top:30px; width:40px; height:19px; text-align:right; "/>
  353. <input id="ipt_incmtaxchrg" ref="/root/main/retirepayamt/retirebaselist" class="input_default" disabled="true" format="#,###" style="left:382px; top:153px; width:130px; height:19px; text-align:right; "/>
  354. <input id="ipt_healthchrg" ref="/root/main/retirepayamt/retirebaselist/decisiontax" class="input_default" disabled="true" format="#,###" style="left:146px; top:177px; width:130px; height:19px; text-align:right; "/>
  355. <line id="line24" class="line_2" style="x1:1px; y1:50px; x2:513px; y2:50px; "/>
  356. <input id="ipt_yyavgtaxstnd" ref="/root/main/retirepayamt/retirebaselist/yyavgtaxstnd" class="input_default" disabled="true" format="#,###" style="left:146px; top:153px; width:130px; height:19px; text-align:right; "/>
  357. <input id="ipt_calctaxrate" ref="/root/main/retirepayamt/retirebaselist/calctaxrate" class="input_default" disabled="true" format="#,###" style="left:382px; top:103px; width:130px; height:19px; text-align:right; "/>
  358. <line id="line57" class="line_2" style="x1:48px; y1:74px; x2:514px; y2:74px; "/>
  359. <caption id="caption66" class="cell_1" style="left:48px; top:126px; width:95px; height:23px; ">퇴직과세표준</caption>
  360. <line id="line58" class="line_2" style="x1:48px; y1:99px; x2:514px; y2:99px; "/>
  361. <caption id="caption67" class="cell_1" style="left:283px; top:126px; width:95px; height:23px; ">세액공제</caption>
  362. <line id="line59" class="line_2" style="x1:48px; y1:199px; x2:514px; y2:199px; "/>
  363. <input id="ipt_retireincmdeduamt" ref="/root/main/retirepayamt/retirebaselist/retireincmdeduamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:77px; width:130px; height:19px; text-align:right; "/>
  364. <line id="line27" class="line_1" style="x1:2px; y1:22px; x2:515px; y2:23px; "/>
  365. <caption id="caption160" class="cell_1" style="left:283px; top:51px; width:95px; height:23px; ">세율</caption>
  366. <line id="line28" class="line_2" style="x1:1px; y1:272px; x2:515px; y2:272px; "/>
  367. <input id="ipt_prepayretiretotamt" ref="/root/main/retirepayamt/retirebaselist/prepayretiretotamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:30px; width:130px; height:19px; text-align:right; ">
  368. <script type="javascript" ev:event="xforms-value-changed">
  369. <![CDATA[
  370. grd_retirepayamttmplist.valueMatrix(grd_retirepayamttmplist.row, grd_retirepayamttmplist.colRef("prepayretiretotamt")) = ipt_prepayretiretotamt.value;
  371. grd_retirepayamttmplist.rowStatus(grd_retirepayamttmplist.row) = 2;
  372. ]]>
  373. </script>
  374. </input>
  375. <caption id="caption161" class="cell_1" style="left:283px; top:76px; width:95px; height:23px; ">연평균산출세액</caption>
  376. <input id="ipt_taxratededu" ref="/root/main/retirepayamt/retirebaselist/taxratededu" class="input_default" disabled="true" format="#,###" style="left:382px; top:127px; width:130px; height:19px; text-align:right; "/>
  377. <caption id="caption162" class="cell_1" style="left:283px; top:101px; width:95px; height:23px; ">산출세액</caption>
  378. <caption id="caption173" class="cell_1" style="left:48px; top:250px; width:95px; height:23px; ">징수세액</caption>
  379. <input id="ipt_taxaftpayamt" ref="/root/main/retirepayamt/retirebaselist/taxaftpayamt" class="input_default" disabled="true" format="#,###" style="left:382px; top:177px; width:130px; height:19px; text-align:right; "/>
  380. <caption id="caption163" class="cell_1" style="left:1px; top:51px; width:45px; height:124px; ">정산액</caption>
  381. <caption id="caption174" class="cell_1" style="left:284px; top:176px; width:95px; height:23px; ">실지급액</caption>
  382. <caption id="caption164" class="cell_1" style="left:1px; top:176px; width:45px; height:98px; ">세액</caption>
  383. <caption id="caption165" class="cell_1" style="left:48px; top:151px; width:95px; height:23px; ">연평균과세표준</caption>
  384. <caption id="caption166" class="cell_1" style="left:48px; top:176px; width:95px; height:23px; ">결정세액</caption>
  385. <line id="line60" class="line_2" style="x1:48px; y1:174px; x2:514px; y2:174px; "/>
  386. <caption id="caption167" class="cell_1" style="left:48px; top:201px; width:95px; height:23px; ">기지급소득세</caption>
  387. <line id="line61" class="line_2" style="x1:48px; y1:223px; x2:514px; y2:223px; "/>
  388. <input id="ipt_retireincm" ref="/root/main/retirepayamt/retirebaselist/retireincm" class="input_default" disabled="true" format="#,###" style="left:146px; top:52px; width:130px; height:19px; text-align:right; "/>
  389. <input id="ipt_prepayincmtaxamt" ref="/root/main/retirepayamt/retirebaselist/prepayincmtaxamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:202px; width:130px; height:19px; text-align:right; ">
  390. <script type="javascript" ev:event="xforms-value-changed">
  391. <![CDATA[
  392. grd_retirepayamttmplist.valueMatrix(grd_retirepayamttmplist.row, grd_retirepayamttmplist.colRef("prepayincmtaxamt")) = ipt_prepayincmtaxamt.value;
  393. grd_retirepayamttmplist.rowStatus(grd_retirepayamttmplist.row) = 2;
  394. ]]>
  395. </script>
  396. </input>
  397. <input id="ipt_retiretaxratestndamt" ref="/root/main/retirepayamt/retirebaselist/retiretaxratestndamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:127px; width:130px; height:19px; text-align:right; "/>
  398. <input id="ipt_retiretaxrate" ref="/root/main/retirepayamt/retirebaselist/retiretaxrate" class="input_default" disabled="true" format="#,###" style="left:382px; top:52px; width:130px; height:19px; text-align:right; "/>
  399. <input id="ipt_subsfoodamt" ref="/root/main/retirepayamt/retirebaselist/levytax" class="input_default" disabled="true" format="#,###" style="left:146px; top:251px; width:130px; height:19px; text-align:right; "/>
  400. <caption id="caption75" class="tit_2" style="left:4px; top:6px; width:110px; height:13px; ">세금계산</caption>
  401. <button id="btn_taxcal" class="btn5_letter4" disabled="true" style="left:449px; top:2px; width:64px; height:19px; ">
  402. <caption>세금계산</caption>
  403. <script type="javascript" ev:event="DOMActivate">
  404. <![CDATA[
  405. if(grd_retirepayamttmplist.fixedRows - grd_retirepayamttmplist.row < 0 )
  406. {
  407. messageBox("퇴직금 내역을 선택하신 후 다시 실행하세요.", "");
  408. return;
  409. }
  410. misfSave("TXRWR00302");
  411. grd_retireempllist.dispatch("onrowchanged");
  412. ]]>
  413. </script>
  414. </button>
  415. <input id="ipt_prepayresdntaxamt" ref="/root/main/retirepayamt/retirebaselist/prepayresdntaxamt" class="input_default" disabled="true" format="#,###" style="left:146px; top:227px; width:130px; height:19px; text-align:right; ">
  416. <script type="javascript" ev:event="xforms-value-changed">
  417. <![CDATA[
  418. grd_retirepayamttmplist.valueMatrix(grd_retirepayamttmplist.row, grd_retirepayamttmplist.colRef("prepayresdntaxamt")) = ipt_prepayresdntaxamt.value;
  419. grd_retirepayamttmplist.rowStatus(grd_retirepayamttmplist.row) = 2;
  420. ]]>
  421. </script>
  422. </input>
  423. <caption id="caption2" class="cell_1" style="left:48px; top:225px; width:95px; height:23px; ">기지급주민세</caption>
  424. <caption id="caption9" style="left:465px; top:30px; width:15px; height:20px; text-align:center; ">/</caption>
  425. </case>
  426. <case id="case2">
  427. <datagrid id="grd_retirebeforelist" nodeset="/root/main/retirebefore/retirebeforelist" caption="사업자등록번호^상호명^입사일^퇴사일^퇴직급여^퇴직수당^소득세^주민세^농특세^근속년수^근속월수^사원번호^퇴직금계산일^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^사업자등록번호old|사업자등록번호^상호명^입사일^퇴사일^퇴직급여^퇴직수당^소득세^주민세^농특세^근속년수^근속월수^사원번호^퇴직금계산일^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^사업자등록번호old" colsep="^" colwidth="99, 112, 94, 90, 87, 86, 69, 64, 59, 33, 31, 46, 43, 80, 35, 29, 26, 28" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:2px; top:29px; width:859px; height:247px; ">
  428. <col ref="entrregno" type="input"/>
  429. <col ref="trdnm" type="input"/>
  430. <col ref="entcodd" type="inputdate"/>
  431. <col ref="retiredd" type="inputdate"/>
  432. <col ref="retireincm" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  433. <col ref="retirealwn" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  434. <col ref="incmtax" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  435. <col ref="resdntax" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  436. <col ref="fmfsspcltax" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  437. <col ref="dutyearno" format="#,###" style="text-align:center; vertical-align:middle; "/>
  438. <col ref="dutmonthno" format="#,###" style="text-align:center; vertical-align:middle; "/>
  439. <col ref="emplno" visibility="hidden" _key="true"/>
  440. <col ref="retireamtcalcdd" _key="true"/>
  441. <col ref="fstrgstrid" visibility="hidden"/>
  442. <col ref="fstrgstdt" visibility="hidden"/>
  443. <col ref="lastupdtrid" visibility="hidden"/>
  444. <col ref="lastupdtdt" visibility="hidden"/>
  445. <col ref="oldentrregno" visibility="hidden"/>
  446. <script type="javascript" ev:event="xforms-value-changed">
  447. <![CDATA[
  448. if(grd_retirebeforelist.col == grd_retirebeforelist.colRef("entcodd"))
  449. {
  450. var fFrom = grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("entcodd"));
  451. var fTo = grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("retiredd"));
  452. opt_valutemp.value= fgetValuDD(fFrom, fTo);
  453. model.recalculate();
  454. grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutyearno")) = opt_year.value.getRound("-1","UP");
  455. grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutmonthno")) = opt_month.value.getRound("-1","UP");
  456. }else if(grd_retirebeforelist.col == grd_retirebeforelist.colRef("retiredd"))
  457. {
  458. var fFrom = grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("entcodd"));
  459. var fTo = grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("retiredd"));
  460. opt_valutemp.value = fgetValuDD(fFrom, fTo);
  461. model.recalculate();
  462. grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutyearno")) = opt_year.value.getRound("-1","UP");
  463. grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutmonthno")) = opt_month.value.getRound("-1","UP");
  464. }
  465. ]]>
  466. </script>
  467. </datagrid>
  468. <line id="line1" class="line_1" style="x1:2px; y1:24px; x2:861px; y2:24px; "/>
  469. <caption id="caption1" class="tit_2" style="left:6px; top:9px; width:109px; height:13px; ">전근무지 내역</caption>
  470. <button id="btn_delete" class="btn2_letter3" style="left:761px; top:4px; width:53px; height:19px; ">
  471. <caption>행삭제</caption>
  472. <script type="javascript" ev:event="DOMActivate">
  473. <![CDATA[
  474. misfGridIUD(grd_retirebeforelist, "D");
  475. ]]>
  476. </script>
  477. </button>
  478. <button id="btn_insert" class="btn2_letter3" style="left:705px; top:4px; width:53px; height:19px; ">
  479. <caption>행추가</caption>
  480. <script type="javascript" ev:event="DOMActivate">
  481. <![CDATA[
  482. misfGridIUD(grd_retirebeforelist, "A");
  483. grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutyearno")) = 0;
  484. grd_retirebeforelist.valueMatrix(grd_retirebeforelist.row, grd_retirebeforelist.colRef("dutmonthno")) = 0;
  485. ]]>
  486. </script>
  487. </button>
  488. <button id="btn_beforesave" class="btn5_letter2" style="left:817px; top:4px; width:42px; height:19px; ">
  489. <caption>저장</caption>
  490. <script type="javascript" ev:event="DOMActivate">
  491. <![CDATA[
  492. if( checkKeyColumn("grd_retirebeforelist") == false) return;
  493. misfSave("TXRWR00304");
  494. grd_retirepayamttmplist.dispatch("onrowchanged");
  495. ]]>
  496. </script>
  497. </button>
  498. <output id="opt_valutemp" ref="/root/init/temp/valutemp" class="output_fix" visibility="hidden" style="left:310px; top:3px; width:55px; height:19px; text-align:center; "/>
  499. <output id="opt_year" ref="/root/init/temp/year" class="output_fix" visibility="hidden" style="left:452px; top:3px; width:55px; height:19px; text-align:center; "/>
  500. <output id="opt_month" ref="/root/init/temp/month" class="output_fix" visibility="hidden" style="left:514px; top:3px; width:55px; height:19px; text-align:center; "/>
  501. </case>
  502. <case id="case3">
  503. <line id="line54" class="line_1" style="x1:0px; y1:25px; x2:456px; y2:24px; "/>
  504. <datagrid id="grd_rwrdpyitlist" nodeset="/root/main/rwrdpyit/rwrdpyitlist" caption="수당내역^금액^조정금액^사원번호^퇴직금계산일^수당항목" colsep="^" colwidth="311, 99, 89, 37, 37, 34" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:29px; width:455px; height:247px; ">
  505. <col ref="prntnm" style="text-align:left; "/>
  506. <col ref="payitemamt" format="(-)#,###" style="text-align:right; "/>
  507. <col ref="payitemadjtamt" type="input" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  508. <col ref="emplno" visibility="hidden"/>
  509. <col ref="retireamtcalcdd" visibility="hidden" format="yyyy-mm-dd"/>
  510. <col ref="payitemcd" visibility="hidden"/>
  511. </datagrid>
  512. <caption id="caption156" class="tit_2" style="left:5px; top:7px; width:110px; height:13px; ">미지급 수당</caption>
  513. <button id="button7" class="btn5_letter7" style="left:356px; top:3px; width:97px; height:19px; ">
  514. <caption>미지급수당 계산</caption>
  515. <script type="javascript" ev:event="DOMActivate">
  516. <![CDATA[
  517. // if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_layoffddfrom","ipt_layoffddto","ipt_paydayno"))return;
  518. if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_paydayno"))return;
  519. model.removenode("/root/main/retirepayamt/retirebaselist/jobflag");
  520. model.makeValue("/root/main/retirepayamt/retirebaselist/jobflag", 'B');
  521. misfSave("TXRWR00301");
  522. grd_retireempllist.dispatch("onrowchanged");
  523. ]]>
  524. </script>
  525. </button>
  526. <datagrid id="grd_spreyearnolist" nodeset="/root/main/rwrdpyit/spreyearnolist" visibility="hidden" caption="구분^갯수^조정갯수^사원번호^년도^기관^구분" colsep="^" colwidth="160, 100, 99, 41, 36, 29, 32" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:460px; top:29px; width:400px; height:247px; ">
  527. <col ref="flagnm"/>
  528. <col ref="spreyearno" format="(-)#,###.#" style="text-align:right; "/>
  529. <col ref="setcnt" type="input" format="(-)#,###.#" style="text-align:right; "/>
  530. <col ref="emplno" visibility="hidden"/>
  531. <col ref="anualcalcyy" visibility="hidden"/>
  532. <col ref="instcd" visibility="hidden"/>
  533. <col ref="flag" visibility="hidden"/>
  534. </datagrid>
  535. <line id="line3" class="line_1" visibility="hidden" style="x1:460px; y1:25px; x2:860px; y2:24px; "/>
  536. <button id="btn_yearnosave" class="btn5_letter2" visibility="hidden" style="left:818px; top:3px; width:42px; height:19px; ">
  537. <caption>저장</caption>
  538. <script type="javascript" ev:event="DOMActivate">
  539. <![CDATA[
  540. model.setValue("/root/send/save/spreyearnolist",grd_spreyearnolist.getUpdateData());
  541. model.setValue("/root/send/save/rwrdpyitlist",grd_rwrdpyitlist.getUpdateData());
  542. for (var i = grd_spreyearnolist.fixedRows; i < grd_spreyearnolist.rows; i++) {
  543. if (grd_spreyearnolist.valueMatrix(i, grd_spreyearnolist.colRef("flag")) != "01" ) {
  544. grd_spreyearnolist.valueMatrix(i, grd_spreyearnolist.colRef("setcnt")) = 0;
  545. }
  546. }
  547. submit("TXRWR00306");
  548. grd_spreyearnolist.clearStatus();
  549. grd_rwrdpyitlist.clearStatus();
  550. ]]>
  551. </script>
  552. </button>
  553. <caption id="caption5" class="tit_2" visibility="hidden" style="left:465px; top:7px; width:110px; height:13px; ">잔여 연차 list</caption>
  554. </case>
  555. </switch>
  556. <line id="line14" class="line_1" style="x1:0px; y1:89px; x2:325px; y2:89px; "/>
  557. <caption id="caption31" class="tit_2" style="left:6px; top:72px; width:186px; height:13px; ">퇴직자 명단 List</caption>
  558. <group id="group4" style="left:0px; top:10px; width:1190px; height:55px; vertical-align:top; ">
  559. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
  560. <button id="button1" class="btn1_letter2" navindex="28" style="left:1124px; top:17px; width:56px; height:22px; text-align:left; ">
  561. <caption>조회</caption>
  562. <script type="javascript" ev:event="DOMActivate">
  563. <![CDATA[
  564. if (cmb_instcd.value == "017") {
  565. submit("TRRWR00305");
  566. }
  567. else {
  568. submit("TRRWR00306");
  569. }
  570. if( grd_retireempllist.rows != grd_retireempllist.fixedRows )
  571. {
  572. grd_retireempllist.row = grd_retireempllist.fixedRows;
  573. grd_retireempllist.dispatch("onrowchanged");
  574. }
  575. ]]>
  576. </script>
  577. </button>
  578. <line id="line15" class="line_4" style="x1:1109px; y1:6px; x2:1109px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  579. <input id="ipt_fromdd" ref="/root/send/retireempl/fromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:60px; top:7px; width:101px; height:19px; text-align:center; vertical-align:middle; "/>
  580. <caption id="caption32" class="search_name" style="left:4px; top:8px; width:60px; height:17px; ">기간:</caption>
  581. <select1 id="cmb_instcd" ref="/root/send/retireempl/instcd" class="combo_s_essential" appearance="minimal" style="left:378px; top:7px; width:237px; height:19px; ">
  582. <choices>
  583. <itemset>
  584. <label/>
  585. <value/>
  586. </itemset>
  587. </choices>
  588. <script type="javascript" ev:event="xforms-value-changed">
  589. <![CDATA[
  590. if (cmb_instcd.value == "014") {
  591. grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 223;
  592. grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = false;
  593. }
  594. else {
  595. grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 311;
  596. grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = true;
  597. }
  598. ]]>
  599. </script>
  600. </select1>
  601. <caption id="caption33" class="search_name" style="left:321px; top:8px; width:61px; height:17px; ">기관:</caption>
  602. <input id="ipt_unitnm" ref="/root/send/retireempl/unitnm" class="input_default" navindex="9" style="left:477px; top:30px; width:139px; height:19px; ">
  603. <script type="javascript" ev:event="xforms-value-changed">
  604. <![CDATA[
  605. misfValidationCheck("02", "", "unitcd,unitnm" );
  606. model.refresh();
  607. ]]>
  608. </script>
  609. </input>
  610. <button id="btn_unitcd" class="icon_search" navindex="8" style="left:459px; top:30px; width:16px; height:16px; ">
  611. <caption/>
  612. <script type="javascript" ev:event="DOMActivate">
  613. <![CDATA[
  614. var recv_list = "unitcd,unitnm";
  615. var instcd = cmb_instcd.value;
  616. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
  617. model.refresh();
  618. ]]>
  619. </script>
  620. </button>
  621. <input id="ipt_unitcd" ref="/root/send/retireempl/unitcd" class="input_default" navindex="7" style="left:378px; top:30px; width:79px; height:19px; ">
  622. <script type="javascript" ev:event="xforms-value-changed">
  623. <![CDATA[
  624. misfValidationCheck("02", "", "unitcd,unitnm" );
  625. model.refresh();
  626. ]]>
  627. </script>
  628. </input>
  629. <caption id="caption35" class="search_name" style="left:321px; top:31px; width:61px; height:17px; ">부서:</caption>
  630. <input id="input19" ref="/root/send/retireempl/emplnm" class="input_default" style="left:835px; top:30px; width:106px; height:19px; ">
  631. <script type="javascript" ev:event="xforms-value-changed">
  632. <![CDATA[
  633. var recv_list = "emplno,emplnm" ;
  634. rpbfValidationCheck("EMPLNM", recv_list);
  635. model.refresh();
  636. ]]>
  637. </script>
  638. </input>
  639. <button id="btn_emplno" class="icon_search" navindex="11" style="left:814px; top:30px; width:16px; height:16px; ">
  640. <caption/>
  641. <script type="javascript" ev:event="DOMActivate">
  642. <![CDATA[
  643. var recv_list = "emplno,emplnm" ;
  644. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  645. model.refresh();
  646. ]]>
  647. </script>
  648. </button>
  649. <input id="ipt_emplno" ref="/root/send/retireempl/emplno" class="input_default" navindex="10" style="left:740px; top:30px; width:70px; height:19px; ">
  650. <script type="javascript" ev:event="xforms-value-changed">
  651. <![CDATA[
  652. var recv_list = "emplno,emplnm" ;
  653. rpbfValidationCheck("EMPLNO", recv_list);
  654. model.refresh();
  655. ]]>
  656. </script>
  657. </input>
  658. <caption id="caption36" class="search_name" style="left:658px; top:31px; width:81px; height:17px; ">사번:</caption>
  659. <input id="ipt_todd" ref="/root/send/retireempl/todd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:180px; top:7px; width:101px; height:19px; text-align:center; vertical-align:middle; "/>
  660. <caption id="caption37" style="left:165px; top:7px; width:10px; height:19px; ">-</caption>
  661. <select1 id="cmb_prfshipflag" ref="/root/send/retireempl/prfshipflag" class="combo_s_essential" navindex="3" appearance="minimal" style="left:740px; top:7px; width:200px; height:19px; ">
  662. <choices>
  663. <itemset>
  664. <label/>
  665. <value/>
  666. </itemset>
  667. </choices>
  668. </select1>
  669. <caption id="caption38" class="search_name" style="left:658px; top:8px; width:81px; height:17px; ">급여분류:</caption>
  670. <caption id="caption39" class="search_name" style="left:4px; top:31px; width:60px; height:17px; ">직급:</caption>
  671. <input id="ipt_jobgradnm" ref="/root/send/retireempl/jobgradnm" class="input_default" navindex="6" style="left:162px; top:30px; width:118px; height:19px; ">
  672. <script type="javascript" ev:event="xforms-value-changed">
  673. <![CDATA[
  674. misfValidationCheck("03", "R0064", "jobgradcd,jobgradnm" );
  675. model.refresh();
  676. ]]>
  677. </script>
  678. </input>
  679. <button id="btn_jobgradcd" class="icon_search" navindex="5" style="left:144px; top:30px; width:16px; height:16px; ">
  680. <caption/>
  681. <script type="javascript" ev:event="DOMActivate">
  682. <![CDATA[
  683. var recv_list = "jobgradcd,jobgradnm";
  684. rpbfOpenComCdHelp(ipt_jobgradcd,"R0064", recv_list);
  685. model.refresh();
  686. ]]>
  687. </script>
  688. </button>
  689. <input id="ipt_jobgradcd" ref="/root/send/retireempl/jobgradcd" class="input_default" navindex="4" style="left:60px; top:30px; width:79px; height:19px; ">
  690. <script type="javascript" ev:event="xforms-value-changed">
  691. <![CDATA[
  692. misfValidationCheck("03", "R0064", "jobgradcd,jobgradnm" );
  693. model.refresh();
  694. ]]>
  695. </script>
  696. </input>
  697. <input id="ipt_emplnm" ref="/root/send/retireempl/emplnm" class="input_default" style="left:835px; top:30px; width:106px; height:19px; ">
  698. <script type="javascript" ev:event="xforms-value-changed">
  699. <![CDATA[
  700. var recv_list = "emplno,emplnm" ;
  701. rpbfValidationCheck("EMPLNM", recv_list);
  702. model.refresh();
  703. ]]>
  704. </script>
  705. </input>
  706. <caption id="caption114" style="left:165px; top:7px; width:10px; height:19px; ">-</caption>
  707. </group>
  708. <datagrid id="grd_retireempllist" nodeset="/root/main/retireempl/retireempllist" caption="사번^성명^입사일^퇴사일" colsep="^" colwidth="63, 62, 76, 76" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:95px; width:325px; height:230px; ">
  709. <col ref="emplno"/>
  710. <col ref="emplnm" style="text-align:center; "/>
  711. <col disabled="true" ref="entcodd" type="output" format="yyyy-mm-dd"/>
  712. <col disabled="true" ref="retiredd" type="output" format="yyyy-mm-dd"/>
  713. <script type="javascript" ev:event="onrowchanged">
  714. <![CDATA[
  715. grd_retireempllist.dispatch("onmouseup");
  716. var cur_row = grd_retireempllist.row;
  717. var emplno =grd_retireempllist.valueMatrix(cur_row,grd_retireempllist.colRef("emplno"));
  718. var retiredd = grd_retireempllist.valueMatrix(cur_row,grd_retireempllist.colRef("retiredd"));
  719. model.setValue("/root/send/amtreq/emplno",emplno);
  720. model.setValue("/root/send/amtreq/retiredd",retiredd);
  721. model.removeNodeset(grd_retirepayamttmplist.nodeset);
  722. model.removeNodeset(grd_rwrdpyitlist.nodeset);
  723. model.removeNodeset(grd_retirebeforelist.nodeset);
  724. model.removeNodeset(grd_spreyearnolist.nodeset);
  725. //급여내역 조회.
  726. submit("TRRWR00302");
  727. grd_retireamtmmlist.subtotalPosition = "below";//하단에 추가 above->상단에추가
  728. grd_retireamtmmlist.subtotal("sum", 0, 2, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
  729. grd_retireamtmmlist.subtotal("sum", 0, 3, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
  730. grd_retireamtmmlist.subtotal("sum", 0, 4, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
  731. grd_retireamtmmlist.subtotal("sum", 0, 5, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
  732. grd_retireamtmmlist.subtotal("sum", 0, 6, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; font-weight:bold;", 1, "총계", true);
  733. //퇴직금 내역 List 조회.
  734. submit("TRRWR00301");
  735. if( (grd_retirepayamttmplist.rows - grd_retirepayamttmplist.fixedRows) > 0){
  736. grd_retirepayamttmplist.row = grd_retirepayamttmplist.fixedRows;
  737. grd_retirepayamttmplist.dispatch("onrowchanged");
  738. ipt_prepayretiretotamt.disabled = false;
  739. ipt_prepayincmtaxamt.disabled = false;
  740. ipt_prepayresdntaxamt.disabled = false;
  741. btn_taxcal.disabled = false;
  742. }else{
  743. ipt_prepayretiretotamt.disabled = true;
  744. ipt_prepayincmtaxamt.disabled = true;
  745. ipt_prepayresdntaxamt.disabled = true;
  746. btn_taxcal.disabled = true;
  747. fBaseValueSet();
  748. }
  749. model.refresh();
  750. if (model.getValue("/root/main/retirepayamt/retirebaselist/calcddfrom") == ""){
  751. if (model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/calcddfrom") == ""){
  752. model.setValue("/root/main/retirepayamt/retirebaselist/calcddfrom", model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/entcodd"));
  753. model.setValue("/root/main/retirepayamt/retirebaselist/caclddto", model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/retiredd"));
  754. }else{
  755. model.setValue("/root/main/retirepayamt/retirebaselist/calcddfrom", model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/calcddfrom"));
  756. model.setValue("/root/main/retirepayamt/retirebaselist/caclddto", model.getValue("/root/main/retireempl/retireempllist[" + grd_retireempllist.row + "]/calcddto"));
  757. }
  758. ipt_caclddto.dispatch("xforms-value-changed");
  759. model.refresh();
  760. }
  761. model.copyNode(TARGET_NODE,SOURCE_NODE);
  762. var yonavg = model.getValue("/root/main/retirepayamt/retirebaselist/jobrespsum");
  763. var bnusavg = model.getValue("/root/main/retirepayamt/retirebaselist/bnusavg");
  764. var payavg = model.getValue("/root/main/retirepayamt/retirebaselist/payavg");
  765. if (isNaN(yonavg)){
  766. yonavg = 0;
  767. }
  768. if (isNaN(bnusavg)){
  769. bnusavg = 0;
  770. }
  771. if (isNaN(payavg)){
  772. payavg = 0;
  773. }
  774. var avgamt = parseFloat(yonavg) + parseFloat(bnusavg) + parseFloat(payavg);
  775. model.setValue("/root/send/retireempl/avgamt", avgamt);
  776. model.refresh();
  777. ]]>
  778. </script>
  779. </datagrid>
  780. <button id="button5" class="btn2_letter4" style="left:260px; top:68px; width:64px; height:19px; ">
  781. <caption>엑셀저장</caption>
  782. <script type="javascript" ev:event="DOMActivate">
  783. <![CDATA[
  784. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  785. if (fileName != "")
  786. {
  787. grd_retireempllist.saveExcel(fileName);
  788. }
  789. ]]>
  790. </script>
  791. </button>
  792. <line id="line16" class="line_1" style="x1:330px; y1:89px; x2:1189px; y2:89px; "/>
  793. <caption id="caption40" class="cell_1" style="left:332px; top:94px; width:95px; height:23px; ">사번/성명</caption>
  794. <line id="line17" class="line_2" style="x1:332px; y1:117px; x2:1189px; y2:117px; "/>
  795. <caption id="caption41" class="cell_1" style="left:801px; top:119px; width:60px; height:23px; ">입사일</caption>
  796. <caption id="caption42" class="cell_1" style="left:1025px; top:119px; width:60px; height:23px; ">퇴사일</caption>
  797. <caption id="cap_retireamtcalcdd" class="cell_1" style="left:332px; top:119px; width:95px; height:23px; ">퇴직금 계산일</caption>
  798. <line id="line19" class="line_2" style="x1:332px; y1:142px; x2:1189px; y2:142px; "/>
  799. <caption id="cap_layoffddfrom" class="cell_1" style="left:684px; top:144px; width:60px; height:23px; ">휴직기간</caption>
  800. <caption id="cap_calcddfrom" class="cell_1" style="left:332px; top:144px; width:95px; height:23px; ">정산기간</caption>
  801. <caption id="cap_paydayno" class="cell_1" style="left:1025px; top:144px; width:60px; height:23px; ">지급일수</caption>
  802. <line id="line20" class="line_2" style="x1:332px; y1:167px; x2:1189px; y2:167px; "/>
  803. <line id="line31" class="line_3" style="x1:332px; y1:169px; x2:1189px; y2:169px; "/>
  804. <input id="ipt_emplno_d" ref="/root/main/retirepayamt/retirebaselist/emplno" class="input_default" disabled="true" style="left:430px; top:95px; width:92px; height:19px; "/>
  805. <input id="ipt_entcodd" ref="/root/main/retirepayamt/retirebaselist/entcodd" class="input_default" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:863px; top:120px; width:100px; height:19px; text-align:center; "/>
  806. <input id="ipt_retiredd" ref="/root/main/retirepayamt/retirebaselist/retiredd" class="input_default" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:1088px; top:120px; width:99px; height:19px; text-align:center; "/>
  807. <input id="ipt_layoffddfrom" ref="/root/main/retirepayamt/retirebaselist/layoffddfrom" class="input_search" inputtype="date" style="left:746px; top:147px; width:100px; height:19px; ">
  808. <script type="javascript" ev:event="xforms-value-changed">
  809. <![CDATA[
  810. fgetDD(ipt_layoffddfrom, ipt_layoffddto, ipt_layoffdayno);
  811. ]]>
  812. </script>
  813. </input>
  814. <input id="ipt_layoffddto" ref="/root/main/retirepayamt/retirebaselist/layoffddto" class="input_search" inputtype="date" style="left:864px; top:147px; width:101px; height:19px; ">
  815. <script type="javascript" ev:event="xforms-value-changed">
  816. <![CDATA[
  817. fgetDD(ipt_layoffddfrom, ipt_layoffddto, ipt_layoffdayno);
  818. ]]>
  819. </script>
  820. </input>
  821. <caption id="caption109" style="left:1152px; top:150px; width:33px; height:18px; ">일(T)</caption>
  822. <input id="ipt_paydayno" ref="/root/main/retirepayamt/retirebaselist/paydayno" class="input_essential" format="#,###" style="left:1088px; top:147px; width:62px; height:19px; text-align:right; ">
  823. <script type="javascript" ev:event="xforms-value-changed">
  824. <![CDATA[
  825. AvrTotAmt();
  826. ]]>
  827. </script>
  828. </input>
  829. <input id="ipt_name" ref="/root/main/retirepayamt/retirebaselist/emplnm" class="input_default" disabled="true" style="left:527px; top:95px; width:85px; height:19px; "/>
  830. <caption id="caption115" style="left:850px; top:148px; width:16px; height:20px; ">-</caption>
  831. <input id="ipt_layoffdayno" ref="/root/main/retirepayamt/retirebaselist/layoffdayno" class="input_default" disabled="true" format="#,###" style="left:969px; top:147px; width:51px; height:19px; text-align:right; "/>
  832. <input id="ipt_calcddfrom" ref="/root/main/retirepayamt/retirebaselist/calcddfrom" class="input_essential" inputtype="date" style="left:430px; top:147px; width:93px; height:19px; ">
  833. <script type="javascript" ev:event="xforms-value-changed">
  834. <![CDATA[
  835. fgetDD(ipt_calcddfrom,ipt_caclddto,ipt_dutdayno);
  836. ]]>
  837. </script>
  838. </input>
  839. <caption id="caption116" style="left:526px; top:148px; width:15px; height:20px; ">-</caption>
  840. <input id="ipt_caclddto" ref="/root/main/retirepayamt/retirebaselist/caclddto" class="input_essential" inputtype="date" style="left:537px; top:147px; width:93px; height:19px; ">
  841. <script type="javascript" ev:event="xforms-value-changed">
  842. <![CDATA[
  843. fgetDD(ipt_calcddfrom,ipt_caclddto,ipt_dutdayno);
  844. ]]>
  845. </script>
  846. </input>
  847. <datagrid id="grd_retirepayamttmplist" nodeset="/root/main/retirepayamttmp/retirepayamttmplist" caption="사원번호^퇴직금계산일^정산일FROM^정산일TO^근속일^휴직일FROM^휴직일TO^휴직일수^지급일수^계산기간_부터1^계산기간_까지1^총일수1^계산기간_부터2^계산기간_까지2^총일수2^계산기간_부터3^계산기간_까지3^총일수3^계산기간_부터4^계산기간_까지4^총일수4^기본급1^기본급2^기본급3^기본급4^기본계^변동지급1^변동지급2^변동지급3^변동지급4^변동지급계^상여총액^명절수당^휴가보상비^정근수당합계(정근수당은 변동수당에서 제외함)^급여월평균^상여월평균^총계^퇴직금총액^근속년수^근속월수^기지급퇴직금총액^기지급소득세^기지급주민세^퇴직소득^퇴직소득공제액^근속년수별공제액^퇴직과세표준액^연평균과세표준^퇴직세율^연평균산출세액^산출세액^세액공제^소득세^주민세^세후지급액^전월미지급수당^전월미지급휴가보전수당^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^caption1^caption2^caption3" colwidth="98, 137, 153, 123, 92, 153, 123, 123, 123, 214, 214, 107, 214, 214, 107, 214, 214, 107, 214, 214, 107, 107, 107, 107, 107, 92, 138, 138, 138, 138, 153, 123, 123, 153, 674, 153, 153, 61, 153, 123, 123, 245, 184, 184, 123, 214, 245, 214, 214, 123, 214, 123, 123, 92, 92, 153, 214, 337, 184, 184, 184, 184, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" style="left:0px; top:350px; width:325px; height:75px; ">
  848. <col ref="emplno" style="text-align:center; "/>
  849. <col ref="retireamtcalcdd" format="yyyy-mm-dd" style="text-align:center; "/>
  850. <col ref="calcddfrom" visibility="hidden"/>
  851. <col ref="caclddto" visibility="hidden"/>
  852. <col ref="dutdayno" visibility="hidden"/>
  853. <col ref="layoffddfrom" visibility="hidden"/>
  854. <col ref="layoffddto" visibility="hidden"/>
  855. <col ref="layoffdayno" visibility="hidden"/>
  856. <col ref="paydayno" visibility="hidden"/>
  857. <col ref="fromcalcterm1" visibility="hidden"/>
  858. <col ref="tocalcterm1" visibility="hidden"/>
  859. <col ref="totdayno1" visibility="hidden"/>
  860. <col ref="fromcalcterm2" visibility="hidden"/>
  861. <col ref="tocalcterm2" visibility="hidden"/>
  862. <col ref="totdayno2" visibility="hidden"/>
  863. <col ref="fromcalcterm3" visibility="hidden"/>
  864. <col ref="tocalcterm3" visibility="hidden"/>
  865. <col ref="totdayno3" visibility="hidden"/>
  866. <col ref="fromcalcterm4" visibility="hidden"/>
  867. <col ref="tocalcterm4" visibility="hidden"/>
  868. <col ref="totdayno4" visibility="hidden"/>
  869. <col ref="basepay1" visibility="hidden"/>
  870. <col ref="basepay2" visibility="hidden"/>
  871. <col ref="basepay3" visibility="hidden"/>
  872. <col ref="basepay4" visibility="hidden"/>
  873. <col ref="basepaysum" visibility="hidden"/>
  874. <col ref="unfixamt1" visibility="hidden"/>
  875. <col ref="unfixamt2" visibility="hidden"/>
  876. <col ref="unfixamt3" visibility="hidden"/>
  877. <col ref="unfixamt4" visibility="hidden"/>
  878. <col ref="unfixamtsum" visibility="hidden"/>
  879. <col ref="bnustotamt" visibility="hidden"/>
  880. <col ref="festivealwn" visibility="hidden"/>
  881. <col ref="holipayamt" visibility="hidden"/>
  882. <col ref="nrmlworkamttot" visibility="hidden"/>
  883. <col ref="payavg" visibility="hidden"/>
  884. <col ref="bnusavg" visibility="hidden"/>
  885. <col ref="sumamt" visibility="hidden"/>
  886. <col ref="retirepay" visibility="hidden"/>
  887. <col ref="dutyearno" visibility="hidden"/>
  888. <col ref="dutmonthno" visibility="hidden"/>
  889. <col ref="prepayretiretotamt" visibility="hidden"/>
  890. <col ref="prepayincmtaxamt" visibility="hidden"/>
  891. <col ref="prepayresdntaxamt" visibility="hidden"/>
  892. <col ref="retireincm" visibility="hidden"/>
  893. <col ref="retireincmdeduamt" visibility="hidden"/>
  894. <col ref="dutyearnodeduamt" visibility="hidden"/>
  895. <col ref="retiretaxratestndamt" visibility="hidden"/>
  896. <col ref="yyavgtaxstnd" visibility="hidden"/>
  897. <col ref="retiretaxrate" visibility="hidden"/>
  898. <col ref="yyavgcalctaxrate" visibility="hidden"/>
  899. <col ref="calctaxrate" visibility="hidden"/>
  900. <col ref="taxratededu" visibility="hidden"/>
  901. <col ref="incmtax" visibility="hidden"/>
  902. <col ref="resdntax" visibility="hidden"/>
  903. <col ref="taxaftpayamt" visibility="hidden"/>
  904. <col ref="bfmmnopayalwn" visibility="hidden"/>
  905. <col ref="bfmmnopayholialwn" visibility="hidden"/>
  906. <col ref="fstrgstrid" visibility="hidden"/>
  907. <col ref="fstrgstdt" visibility="hidden"/>
  908. <col ref="lastupdtrid" visibility="hidden"/>
  909. <col ref="lastupdtdt" visibility="hidden"/>
  910. <col ref="decisiontax" visibility="hidden"/>
  911. <col ref="prepaymenttax" visibility="hidden"/>
  912. <col ref="jobrespalwn1" visibility="hidden"/>
  913. <col ref="jobrespalwn2" visibility="hidden"/>
  914. <col ref="jobrespalwn3" visibility="hidden"/>
  915. <col ref="jobrespalwn4" visibility="hidden"/>
  916. <col ref="jobrespsum" visibility="hidden"/>
  917. <col ref="basejobrespalwn" visibility="hidden"/>
  918. <col ref="instcd" visibility="hidden"/>
  919. <col ref="retiredd" visibility="hidden"/>
  920. <col ref="residncnati" visibility="hidden"/>
  921. <col ref="residncnaticd" visibility="hidden"/>
  922. <col ref="retirechgamt" visibility="hidden"/>
  923. <col ref="entcodd" visibility="hidden"/>
  924. <col ref="fromdd" visibility="hidden"/>
  925. <col ref="todd" visibility="hidden"/>
  926. <script type="javascript" ev:event="onrowchanged">
  927. <![CDATA[
  928. if(grd_retirepayamttmplist.row < grd_retirepayamttmplist.fixedRows) return;
  929. grd_retirepayamttmplist.dispatch("onmouseup");
  930. model.copyNode("/root/main/retirepayamt/retirebaselist", grd_retirepayamttmplist.nodeset + "[" + grd_retirepayamttmplist.row + "]" );
  931. model.setValue("/root/main/retirepayamt/retirebaselist/emplnm", grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("emplnm")));
  932. model.setValue("/root/main/retirepayamt/retirebaselist/entcodd", grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("entcodd")));
  933. model.setValue("/root/main/retirepayamt/retirebaselist/retiredd", grd_retireempllist.valueMatrix(grd_retireempllist.row, grd_retireempllist.colRef("retiredd")));
  934. submit("TRRWR00303");
  935. if (cmb_instcd.value == "014") {
  936. grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 223;
  937. grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = false;
  938. }
  939. else {
  940. grd_rwrdpyitlist.colWidth(grd_rwrdpyitlist.colRef("prntnm")) = 311;
  941. grd_rwrdpyitlist.colHidden(grd_rwrdpyitlist.colRef("payitemadjtamt")) = true;
  942. }
  943. submit("TRRWR00304");
  944. model.refresh();
  945. ]]>
  946. </script>
  947. </datagrid>
  948. <line id="line51" class="line_2" style="x1:330px; y1:366px; x2:1189px; y2:366px; "/>
  949. <caption id="cap_fixamt" class="cell_1" style="left:330px; top:266px; width:95px; height:23px; ">기본급</caption>
  950. <caption id="caption146" class="cell_1" visibility="hidden" style="left:720px; top:395px; width:95px; height:23px; ">총정근수당(d)</caption>
  951. <line id="line52" class="line_2" style="x1:330px; y1:418px; x2:1189px; y2:418px; "/>
  952. <caption id="caption147" class="cell_1" visibility="hidden" style="left:761px; top:368px; width:95px; height:23px; ">총명절수당(c)</caption>
  953. <caption id="caption213" class="cell_1" style="left:330px; top:368px; width:95px; height:23px; ">총상여(a)</caption>
  954. <datagrid id="grd_retireamtmmlist" nodeset="/root/main/retirepayamt/retireamtmmlist" caption="사번^월^급여^상여^정근수당^휴가보상비^명절수당" colsep="^" colwidth="9, 62, 121, 103, 65, 68, 65" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:465px; width:325px; height:278px; ">
  955. <col ref="emplno" visibility="hidden"/>
  956. <col ref="payym" format="yyyy-mm" style="text-align:center; "/>
  957. <col ref="pay3" format="(-)#,###" style="text-align:right; "/>
  958. <col ref="pay12_1" format="(-)#,###" style="text-align:right; "/>
  959. <col ref="pay12_2" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  960. <col ref="pay12_3" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  961. <col ref="pay12_4" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  962. </datagrid>
  963. <input id="ipt_nrmlworkamttot" ref="/root/main/retirepayamt/retirebaselist/nrmlworkamttot" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:817px; top:398px; width:112px; height:19px; text-align:right; "/>
  964. <caption id="caption203" class="cell_1" style="left:330px; top:197px; width:95px; height:23px; ">산정기간</caption>
  965. <input id="ipt_bnustotamt" ref="/root/main/retirepayamt/retirebaselist/bnustotamt" class="input_default" navindex="25" format="#,###" style="left:427px; top:371px; width:112px; height:19px; text-align:right; ">
  966. <script type="javascript" ev:event="xforms-value-changed">
  967. <![CDATA[
  968. BunsAmt();
  969. ]]>
  970. </script>
  971. </input>
  972. <line id="line55" class="line_1" style="x1:330px; y1:192px; x2:1189px; y2:192px; "/>
  973. <caption id="caption206" class="cell_1" style="left:828px; top:197px; width:130px; height:23px; text-align:center; ">M</caption>
  974. <input id="ipt_totdaynosum" ref="/root/main/retirepayamt/retirebaselist/totdaynosum" class="input_default" disabled="true" format="#,###" style="left:960px; top:243px; width:200px; height:19px; text-align:right; "/>
  975. <line id="line68" class="line_2" style="x1:329px; y1:290px; x2:1189px; y2:290px; "/>
  976. <line id="line69" class="line_2" style="x1:330px; y1:316px; x2:1189px; y2:316px; "/>
  977. <caption id="caption208" class="cell_1" style="left:960px; top:197px; width:231px; height:23px; text-align:center; ">계</caption>
  978. <line id="line47" class="line_3" style="x1:330px; y1:443px; x2:1189px; y2:443px; "/>
  979. <caption id="cap_unfixamt" class="cell_1" style="left:330px; top:292px; width:95px; height:23px; ">변동지급</caption>
  980. <input id="ipt_retirepay" ref="/root/main/retirepayamt/retirebaselist/retirepay" class="input_default" navindex="27" format="#,###" style="left:960px; top:423px; width:200px; height:19px; text-align:right; "/>
  981. <line id="line70" class="line_2" style="x1:330px; y1:264px; x2:1189px; y2:264px; "/>
  982. <caption id="caption154" class="cell_2" style="left:330px; top:420px; width:95px; height:23px; ">퇴직금계</caption>
  983. <caption id="caption210" class="cell_1" style="left:330px; top:197px; width:95px; height:23px; ">구분</caption>
  984. <caption id="caption155" class="tit_2" style="left:331px; top:175px; width:186px; height:13px; ">퇴직금 계산</caption>
  985. <input id="ipt_festivealwn" ref="/root/main/retirepayamt/retirebaselist/festivealwn" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:858px; top:371px; width:112px; height:19px; text-align:right; "/>
  986. <caption id="caption211" class="cell_1" style="left:330px; top:342px; width:95px; height:23px; ">월 평균 급여</caption>
  987. <button id="btn_caculation" class="btn5_letter5" style="left:1014px; top:172px; width:75px; height:19px; ">
  988. <caption>퇴직금계산</caption>
  989. <script type="javascript" ev:event="DOMActivate">
  990. <![CDATA[
  991. // if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_layoffddfrom","ipt_layoffddto","ipt_paydayno"))return;
  992. if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_paydayno"))return;
  993. model.removenode("/root/main/retirepayamt/retirebaselist/jobflag");
  994. model.makeValue("/root/main/retirepayamt/retirebaselist/jobflag", 'A');
  995. misfSave("TXRWR00301");
  996. grd_retireempllist.dispatch("onrowchanged");
  997. ]]>
  998. </script>
  999. </button>
  1000. <caption id="caption145" class="cell_1" visibility="hidden" style="left:544px; top:368px; width:97px; height:23px; ">총휴가보상비(b)</caption>
  1001. <caption id="caption52" class="tit_2" style="left:5px; top:443px; width:186px; height:13px; ">급여내역</caption>
  1002. <line id="line18" class="line_1" style="x1:0px; y1:459px; x2:325px; y2:459px; "/>
  1003. <caption id="caption53" class="cell_1" style="left:694px; top:197px; width:132px; height:23px; text-align:center; ">M-1</caption>
  1004. <caption id="caption54" class="cell_1" style="left:426px; top:197px; width:132px; height:23px; text-align:center; ">M-3</caption>
  1005. <caption id="caption55" class="cell_1" style="left:560px; top:197px; width:132px; height:23px; text-align:center; ">M-2</caption>
  1006. <caption id="cap_estmmm" class="cell_1" style="left:330px; top:221px; width:95px; height:42px; ">기간</caption>
  1007. <input id="ipt_totdayno4" ref="/root/main/retirepayamt/retirebaselist/totdayno4" class="input_default" style="left:925px; top:244px; width:29px; height:19px; text-align:right; "/>
  1008. <input id="ipt_totdayno3" ref="/root/main/retirepayamt/retirebaselist/totdayno3" class="input_default" style="left:791px; top:244px; width:29px; height:19px; text-align:right; "/>
  1009. <input id="ipt_totdayno2" ref="/root/main/retirepayamt/retirebaselist/totdayno2" class="input_default" style="left:657px; top:244px; width:29px; height:19px; text-align:right; "/>
  1010. <input id="ipt_totdayno1" ref="/root/main/retirepayamt/retirebaselist/totdayno1" class="input_default" style="left:525px; top:244px; width:29px; height:19px; text-align:right; "/>
  1011. <input id="ipt_basepay3" ref="/root/main/retirepayamt/retirebaselist/basepay3" class="input_default" navindex="14" format="#,###" style="left:694px; top:269px; width:128px; height:19px; text-align:right; ">
  1012. <script type="javascript" ev:event="xforms-value-changed">
  1013. <![CDATA[
  1014. Basepay();
  1015. ]]>
  1016. </script>
  1017. </input>
  1018. <input id="ipt_basepay2" ref="/root/main/retirepayamt/retirebaselist/basepay2" class="input_default" navindex="13" format="#,###" style="left:560px; top:269px; width:128px; height:19px; text-align:right; ">
  1019. <script type="javascript" ev:event="xforms-value-changed">
  1020. <![CDATA[
  1021. Basepay();
  1022. ]]>
  1023. </script>
  1024. </input>
  1025. <input id="ipt_basepay1" ref="/root/main/retirepayamt/retirebaselist/basepay1" class="input_default" navindex="12" format="#,###" style="left:426px; top:269px; width:128px; height:19px; text-align:right; ">
  1026. <script type="javascript" ev:event="xforms-value-changed">
  1027. <![CDATA[
  1028. Basepay();
  1029. ]]>
  1030. </script>
  1031. </input>
  1032. <input id="ipt_basepay4" ref="/root/main/retirepayamt/retirebaselist/basepay4" class="input_default" navindex="15" format="#,###" style="left:828px; top:269px; width:128px; height:19px; text-align:right; ">
  1033. <script type="javascript" ev:event="xforms-value-changed">
  1034. <![CDATA[
  1035. Basepay();
  1036. ]]>
  1037. </script>
  1038. </input>
  1039. <input id="ipt_basepaysum" ref="/root/main/retirepayamt/retirebaselist/basepaysum" class="input_default" navindex="16" format="#,###" style="left:960px; top:269px; width:200px; height:19px; text-align:right; ">
  1040. <script type="javascript" ev:event="xforms-value-changed">
  1041. <![CDATA[
  1042. Avramt();
  1043. ]]>
  1044. </script>
  1045. </input>
  1046. <input id="ipt_unfixamt3" ref="/root/main/retirepayamt/retirebaselist/unfixamt3" class="input_default" navindex="19" format="#,###" style="left:694px; top:295px; width:128px; height:19px; text-align:right; ">
  1047. <script type="javascript" ev:event="xforms-value-changed">
  1048. <![CDATA[
  1049. Unfixmat();
  1050. ]]>
  1051. </script>
  1052. </input>
  1053. <input id="ipt_unfixamt2" ref="/root/main/retirepayamt/retirebaselist/unfixamt2" class="input_default" navindex="18" format="#,###" style="left:560px; top:295px; width:128px; height:19px; text-align:right; ">
  1054. <script type="javascript" ev:event="xforms-value-changed">
  1055. <![CDATA[
  1056. Unfixmat();
  1057. ]]>
  1058. </script>
  1059. </input>
  1060. <input id="ipt_unfixamt1" ref="/root/main/retirepayamt/retirebaselist/unfixamt1" class="input_default" navindex="17" format="#,###" style="left:426px; top:295px; width:128px; height:19px; text-align:right; ">
  1061. <script type="javascript" ev:event="xforms-value-changed">
  1062. <![CDATA[
  1063. Unfixmat();
  1064. ]]>
  1065. </script>
  1066. </input>
  1067. <input id="ipt_unfixamt4" ref="/root/main/retirepayamt/retirebaselist/unfixamt4" class="input_default" navindex="20" format="#,###" style="left:828px; top:295px; width:128px; height:19px; text-align:right; ">
  1068. <script type="javascript" ev:event="xforms-value-changed">
  1069. <![CDATA[
  1070. Unfixmat();
  1071. ]]>
  1072. </script>
  1073. </input>
  1074. <input id="ipt_unfixamtsum" ref="/root/main/retirepayamt/retirebaselist/unfixamtsum" class="input_default" navindex="21" format="#,###" style="left:960px; top:295px; width:200px; height:19px; text-align:right; ">
  1075. <script type="javascript" ev:event="xforms-value-changed">
  1076. <![CDATA[
  1077. Avramt();
  1078. ]]>
  1079. </script>
  1080. </input>
  1081. <input id="ipt_payavg" ref="/root/main/retirepayamt/retirebaselist/payavg" class="input_default" navindex="24" format="#,###" style="left:960px; top:345px; width:200px; height:19px; text-align:right; "/>
  1082. <input id="ipt_holipayamt" ref="/root/main/retirepayamt/retirebaselist/holipayamt" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:643px; top:371px; width:112px; height:19px; text-align:right; "/>
  1083. <caption id="caption57" class="tit_2" style="left:5px; top:330px; width:186px; height:13px; ">퇴직금 내역 List</caption>
  1084. <line id="line21" class="line_1" style="x1:0px; y1:344px; x2:325px; y2:344px; "/>
  1085. <input id="ipt_dutdayno" ref="/root/main/retirepayamt/retirebaselist/dutdayno" class="input_default" disabled="true" format="#,###" style="left:635px; top:147px; width:45px; height:19px; text-align:right; "/>
  1086. <input id="ipt_retireamtcalcdd" ref="/root/main/retirepayamt/retirebaselist/retireamtcalcdd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:430px; top:120px; width:93px; height:19px; "/>
  1087. <input id="ipt_tocalcterm1" ref="/root/main/retirepayamt/retirebaselist/tocalcterm1" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:426px; top:244px; width:96px; height:19px; text-align:center; "/>
  1088. <input id="ipt_fromcalcterm1" ref="/root/main/retirepayamt/retirebaselist/fromcalcterm1" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:426px; top:223px; width:95px; height:19px; text-align:center; "/>
  1089. <input id="ipt_tocalcterm2" ref="/root/main/retirepayamt/retirebaselist/tocalcterm2" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:560px; top:244px; width:95px; height:19px; text-align:center; "/>
  1090. <input id="ipt_fromcalcterm2" ref="/root/main/retirepayamt/retirebaselist/fromcalcterm2" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:560px; top:223px; width:95px; height:19px; text-align:center; "/>
  1091. <input id="ipt_fromcalcterm3" ref="/root/main/retirepayamt/retirebaselist/fromcalcterm3" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:694px; top:223px; width:95px; height:19px; text-align:center; "/>
  1092. <input id="ipt_tocalcterm3" ref="/root/main/retirepayamt/retirebaselist/tocalcterm3" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:694px; top:244px; width:95px; height:19px; text-align:center; "/>
  1093. <input id="ipt_fromcalcterm4" ref="/root/main/retirepayamt/retirebaselist/fromcalcterm4" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:828px; top:223px; width:95px; height:19px; text-align:center; "/>
  1094. <input id="ipt_tocalcterm4" ref="/root/main/retirepayamt/retirebaselist/tocalcterm4" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:828px; top:244px; width:95px; height:19px; text-align:center; "/>
  1095. <caption id="caption43" style="left:525px; top:223px; width:15px; height:20px; ">~</caption>
  1096. <caption id="caption44" style="left:660px; top:223px; width:15px; height:20px; ">~</caption>
  1097. <caption id="caption47" style="left:795px; top:223px; width:15px; height:20px; ">~</caption>
  1098. <caption id="caption48" style="left:930px; top:223px; width:15px; height:20px; ">~</caption>
  1099. <caption id="caption50" style="left:1163px; top:243px; width:24px; height:20px; ">(A)</caption>
  1100. <caption id="caption56" style="left:1163px; top:269px; width:24px; height:20px; ">(B)</caption>
  1101. <caption id="caption58" style="left:1163px; top:295px; width:24px; height:20px; ">(C)</caption>
  1102. <caption id="caption59" style="left:1163px; top:345px; width:24px; height:20px; ">(E)</caption>
  1103. <caption id="caption60" style="left:426px; top:345px; width:509px; height:20px; ">( B + C) / 3</caption>
  1104. <caption id="caption61" visibility="hidden" style="left:425px; top:397px; width:140px; height:20px; ">( a + b + c + d ) / 12</caption>
  1105. <input id="ipt_bnusavg" ref="/root/main/retirepayamt/retirebaselist/bnusavg" class="input_default" navindex="26" format="#,###" style="left:1040px; top:370px; width:120px; height:19px; text-align:right; "/>
  1106. <caption id="caption62" visibility="hidden" style="left:1163px; top:397px; width:24px; height:20px; ">(F)</caption>
  1107. <caption id="caption63" class="cell_1" style="left:960px; top:368px; width:70px; height:23px; ">월평균상여</caption>
  1108. <caption id="caption64" style="left:1163px; top:423px; width:24px; height:20px; ">(G)</caption>
  1109. <caption id="caption65" style="left:425px; top:423px; width:509px; height:20px; ">F / 365 * T</caption>
  1110. <line id="line22" class="line_2" style="x1:330px; y1:392px; x2:1189px; y2:392px; "/>
  1111. <caption id="cap_caclddto" class="cell_1" style="left:332px; top:144px; width:95px; height:23px; ">정산기간</caption>
  1112. <caption id="cap_layoffddto" class="cell_1" style="left:684px; top:144px; width:60px; height:23px; ">휴직기간</caption>
  1113. <button id="button2" class="btn_sw" group="tab" selected="false" style="left:433px; top:446px; width:100px; height:22px; ">
  1114. <caption>세금계산</caption>
  1115. <toggle case="case1" ev:event="onclick"/>
  1116. </button>
  1117. <button id="button3" class="btn_sw" group="tab" selected="false" style="left:331px; top:446px; width:100px; height:22px; ">
  1118. <caption>전근무지자료</caption>
  1119. <toggle case="case2" ev:event="onclick"/>
  1120. </button>
  1121. <line id="line2" class="line_2" style="x1:330px; y1:341px; x2:1189px; y2:341px; "/>
  1122. <input id="ipt_jobrespalwn1" ref="/root/main/retirepayamt/retirebaselist/jobrespalwn1" class="input_default" navindex="22" format="#,###" style="left:828px; top:320px; width:128px; height:19px; text-align:right; ">
  1123. <script type="javascript" ev:event="xforms-value-changed">
  1124. <![CDATA[
  1125. JobRespAmt();
  1126. ]]>
  1127. </script>
  1128. </input>
  1129. <input id="ipt_jobrespalwn2" ref="/root/main/retirepayamt/retirebaselist/jobrespalwn2" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:560px; top:320px; width:128px; height:19px; text-align:right; "/>
  1130. <input id="ipt_jobrespalwn13" ref="/root/main/retirepayamt/retirebaselist/jobrespalwn3" class="input_default" disabled="true" visibility="hidden" format="#,###" style="left:694px; top:320px; width:128px; height:19px; text-align:right; "/>
  1131. <input id="ipt_jobrespsum" ref="/root/main/retirepayamt/retirebaselist/jobrespsum" class="input_default" navindex="23" format="#,###" style="left:1040px; top:320px; width:120px; height:19px; text-align:right; "/>
  1132. <caption id="caption4" style="left:1163px; top:320px; width:24px; height:20px; ">(D)</caption>
  1133. <input id="ipt_basejobrespalwn" ref="/root/main/retirepayamt/retirebaselist/basejobrespalwn" class="input_search" format="#,###" style="left:632px; top:120px; width:102px; height:19px; text-align:right; "/>
  1134. <caption id="cap_basejobrespalwn" class="cell_1" style="left:569px; top:119px; width:60px; height:23px; ">직책수당</caption>
  1135. <button id="button4" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:655px; top:445px; width:100px; height:22px; ">
  1136. <caption>미지급수당</caption>
  1137. <toggle case="case3" ev:event="onclick"/>
  1138. </button>
  1139. <button id="button6" class="btn5_letter7" style="left:1091px; top:172px; width:97px; height:19px; ">
  1140. <caption>퇴직금계산취소</caption>
  1141. <script type="javascript" ev:event="DOMActivate">
  1142. <![CDATA[
  1143. // if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_layoffddfrom","ipt_layoffddto","ipt_paydayno"))return;
  1144. if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_paydayno"))return;
  1145. model.removenode("/root/main/retirepayamt/retirebaselist/jobflag");
  1146. model.makeValue("/root/main/retirepayamt/retirebaselist/jobflag", 'D');
  1147. misfSave("TXRWR00301");
  1148. grd_retireempllist.dispatch("onrowchanged");
  1149. ]]>
  1150. </script>
  1151. </button>
  1152. <caption id="caption7" class="cell_1" style="left:960px; top:317px; width:70px; height:23px; ">연차평균</caption>
  1153. <caption id="caption8" class="cell_1" style="left:960px; top:393px; width:70px; height:23px; ">임금총평균</caption>
  1154. <output id="output1" ref="/root/send/retireempl/avgamt" format="(-)#,###" style="left:1040px; top:395px; width:120px; height:19px; text-align:right; "/>
  1155. <caption id="caption3" class="cell_1" style="left:727px; top:317px; width:95px; height:23px; ">연차수당</caption>
  1156. <button id="button8" class="btn5_letter6" style="left:925px; top:172px; width:86px; height:19px; ">
  1157. <caption>퇴직근태계산</caption>
  1158. <script type="javascript" ev:event="DOMActivate">
  1159. <![CDATA[
  1160. // if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_layoffddfrom","ipt_layoffddto","ipt_paydayno"))return;
  1161. if(!isRequiredControls("ipt_retireamtcalcdd","ipt_calcddfrom","ipt_caclddto","ipt_paydayno"))return;
  1162. var retireamtcalcdd = model.getValue("/root/main/retirepayamt/retirebaselist/retireamtcalcdd");
  1163. var calcddfrom = model.getValue("/root/main/retirepayamt/retirebaselist/calcddfrom");
  1164. var caclddto = model.getValue("/root/main/retirepayamt/retirebaselist/caclddto");
  1165. var paydayno = model.getValue("/root/main/retirepayamt/retirebaselist/paydayno");
  1166. model.removenode("/root/main/retirepayamt/retirebaselist/jobflag");
  1167. model.makeValue("/root/main/retirepayamt/retirebaselist/jobflag", 'C');
  1168. misfSave("TXRWR00301");
  1169. grd_retireempllist.dispatch("onrowchanged");
  1170. model.setValue("/root/main/retirepayamt/retirebaselist/retireamtcalcdd", retireamtcalcdd);
  1171. model.setValue("/root/main/retirepayamt/retirebaselist/calcddfrom", calcddfrom);
  1172. model.setValue("/root/main/retirepayamt/retirebaselist/caclddto", caclddto);
  1173. model.setValue("/root/main/retirepayamt/retirebaselist/paydayno", paydayno);
  1174. model.refresh();
  1175. ]]>
  1176. </script>
  1177. </button>
  1178. <caption id="caption10" class="cell_1" style="left:720px; top:395px; width:95px; height:23px; ">퇴직전환금</caption>
  1179. <input id="input1" ref="/root/main/retirepayamt/retirebaselist/retirechgamt" class="input_default" format="#,###" style="left:817px; top:398px; width:112px; height:19px; text-align:right; "/>
  1180. </group>
  1181. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  1182. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  1183. <button id="btn_save" class="btn4_letter2" style="left:1131px; top:3px; width:56px; height:22px; ">
  1184. <caption>저장</caption>
  1185. <script type="javascript" ev:event="DOMActivate">
  1186. <![CDATA[
  1187. //
  1188. // fGridDataCheck(grd_retirepayamttmplist, "/root/main/retireamt/retireamtlist");
  1189. //
  1190. // var retMes = messageBox("저장 하시겠습니까?", "Q999");
  1191. // if ( retMes != 6) {
  1192. // return;
  1193. // }
  1194. // model.refresh();
  1195. //
  1196. // misfSave("TXRWR00301");
  1197. //
  1198. // if (model.getValue(gvErrorMsgPath + "/type") != "error")misfMsterDetailRetrieve();
  1199. if( checkKeyColumn("grd_retirepayamttmplist") == false) return;
  1200. model.copyNode("/root/main/retirepayamttmp/retirepayamttmplist", "/root/main/retirepayamt/retirebaselist");
  1201. grd_retirepayamttmplist.rowStatus(1) = 2;
  1202. model.refresh();
  1203. misfSave("TXRWR00305");
  1204. grd_retireempllist.dispatch("onrowchanged");
  1205. ]]>
  1206. </script>
  1207. </button>
  1208. </group>
  1209. </xhtml:body>
  1210. </xhtml:html>