SMRWY02700_퇴직정산기초자료확인및수정.xrw 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>퇴직 정산기초자료확인 및 수정</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <ponyemplform>
  11. <yyendcalcmanbaselist>
  12. <emplno/>
  13. <calcyy/>
  14. <calcseq/>
  15. <emplnm/>
  16. <retireyn/>
  17. <calcinst/>
  18. <grupjoblncd/>
  19. <deptcd/>
  20. <jobposcd/>
  21. <jobgradcd/>
  22. <payclscd/>
  23. <rregno/>
  24. <addr/>
  25. <fromdd/>
  26. <todd/>
  27. <actndeptqualyn/>
  28. <workym/>
  29. <ionatiflag/>
  30. <calckind/>
  31. <residncflag/>
  32. <residncnati/>
  33. <ptneryn/>
  34. <supppsnno20/>
  35. <supppsnno60/>
  36. <basededusurp1/>
  37. <remincmyn/>
  38. <bfdutplceincmyn/>
  39. <maryfmlyn/>
  40. <rptagrfrom65to69agecnt/>
  41. <rptagr70agemorthncnt/>
  42. <handicaprcnt/>
  43. <brngupchldrncnt/>
  44. <entcodd/>
  45. <retiredd/>
  46. <taxpaynatinm/>
  47. <paydd/>
  48. <appdocprstdd/>
  49. <outnatidutplce/>
  50. <dutterm/>
  51. <conlabdnodd/>
  52. <reducttermenddd/>
  53. <acptdd/>
  54. <prstdd/>
  55. <uniqtaxrateprstflag/>
  56. <taxrate/>
  57. <prntseq/>
  58. <rcptprntseq/>
  59. <rregno2/>
  60. <grupjoblnnm/>
  61. <deptnm/>
  62. <jobposnm/>
  63. <jobgradnm/>
  64. <payclsnm/>
  65. <workgbn/>
  66. <brthcnt/>
  67. </yyendcalcmanbaselist>
  68. </ponyemplform>
  69. <yyendcalcmanapp>
  70. <ponydetaillist>
  71. <calcitemnm/>
  72. <calcflagnm/>
  73. <calcbaseamt/>
  74. <calcbaseadjamt/>
  75. <calcflagcd/>
  76. <calcitemcd/>
  77. <calcseq/>
  78. <emplno/>
  79. <calcyy/>
  80. <calcflag/>
  81. </ponydetaillist>
  82. </yyendcalcmanapp>
  83. <yyendcalcmanbaseitem>
  84. <workym/>
  85. <retireyn/>
  86. <fromdd/>
  87. <todd/>
  88. <appdocprstdd/>
  89. <ptneryn/>
  90. <supppsnno20/>
  91. <supppsnno60/>
  92. <maryfmlyn/>
  93. <rptagrfrom65to69agecnt/>
  94. <rptagr70agemorthncnt/>
  95. <handicaprcnt/>
  96. <brngupchldrncnt/>
  97. <addr/>
  98. <grupjoblnnm/>
  99. <jobposnm/>
  100. <jobgradnm/>
  101. <payclsnm/>
  102. <ionatiflag/>
  103. <residncflag/>
  104. <entcodd/>
  105. <retiredd/>
  106. <actndeptqualyn/>
  107. <emplno/>
  108. <emplnm/>
  109. <brthcnt/>
  110. </yyendcalcmanbaseitem>
  111. </main>
  112. <send>
  113. <searchlist>
  114. <calcyy/>
  115. <instcd/>
  116. <dutplcedeptcd/>
  117. <actndeptqualyn/>
  118. <workym/>
  119. <retireyn/>
  120. <emplno/>
  121. <dutplcedeptnm/>
  122. <emplnm/>
  123. </searchlist>
  124. <ponyemplform>
  125. <emplno/>
  126. <calcyy/>
  127. <calcseq/>
  128. <workgbn/>
  129. <calcinst/>
  130. </ponyemplform>
  131. <savelist>
  132. <yyendcalcmanbaselist/>
  133. <ponydetaillist/>
  134. </savelist>
  135. </send>
  136. <init>
  137. <radio1>
  138. <label>전체</label>
  139. <value/>
  140. <label>미확인</label>
  141. <value>N</value>
  142. <label>확인</label>
  143. <value>Y</value>
  144. </radio1>
  145. <radio2>
  146. <label>전체</label>
  147. <value/>
  148. <label>연말정산</label>
  149. <value>N</value>
  150. <label>중도퇴직</label>
  151. <value>Y</value>
  152. </radio2>
  153. <combo3>
  154. <label>연말정산</label>
  155. <value>N</value>
  156. <label>중도퇴직</label>
  157. <value>Y</value>
  158. </combo3>
  159. <radio4>
  160. <label>유</label>
  161. <value>Y</value>
  162. <label>무</label>
  163. <value>N</value>
  164. </radio4>
  165. <checkbox1>
  166. <label>경리부확인여부</label>
  167. <value>Y</value>
  168. </checkbox1>
  169. <combo1>
  170. <label>거주자</label>
  171. <value>Y</value>
  172. <label>미거주자</label>
  173. <value>N</value>
  174. </combo1>
  175. <combo2>
  176. <label>내국인</label>
  177. <value>1</value>
  178. <label>외국인</label>
  179. <value>0</value>
  180. </combo2>
  181. </init>
  182. <temp>
  183. <errflag/>
  184. </temp>
  185. </root>
  186. </instance>
  187. <script type="javascript" ev:event="xforms-ready">
  188. <![CDATA[
  189. fInitialize();
  190. /* Grid 초기화 */
  191. misfGridInit(grd_yyendcalcmanbaselist);
  192. misfGridInit(grd_ponydetaillist);
  193. /* Grid의 Mater, Detail관계 설정
  194. misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
  195. misfMsterDetailSet(grd_yyendcalcmanbaselist, null, "TRRWY00401" ,"Y");
  196. misfMsterDetailSet(grd_ponydetaillist, grd_yyendcalcmanbaselist, "TRRWY00402" ,"Y");
  197. btn_save.disabled = !(checkAuth("X"));
  198. //misfMsterDetailSet(grd_clubempllist,grd_clubcodelist, "TRRPA00401","N" );
  199. // 공통코드 바인딩 silver
  200. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  201. var instcd = getUserInfo("dutplceinstcd");
  202. cmb_instcd.value=instcd;
  203. model.setValue(rdo_retireyn_s.attribute("ref"), "Y");
  204. misfGetUserAuth();
  205. if (DUTY_PAY_YN == "Y" ) {
  206. cmb_instcd.disabled = false;
  207. }
  208. else {
  209. cmb_instcd.disabled = true;
  210. }
  211. model.refresh();
  212. ]]>
  213. </script>
  214. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  215. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  216. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  217. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  218. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  219. <script type="javascript">
  220. <![CDATA[
  221. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  222. function fInitialize() {
  223. model.removeNodeset("/root/main/ponyemplform/yyendcalcmanbaselist");
  224. model.removeNodeset("/root/main/yyendcalcmanapp/ponydetaillist");
  225. model.resetInstanceNode("/root/main/yyendcalcmanbaseitem");
  226. model.resetInstanceNode("/root/send");
  227. model.refresh();
  228. var getday = getCurrentDate();
  229. ipt_calcyy.value = getday.substring(0,4);
  230. ipt_workym_s.value = getday.substring(0,6)-1;
  231. var instcd = getUserInfo("dutplceinstcd");
  232. cmb_instcd.value=instcd;
  233. }
  234. function fEnableInsertButton() {
  235. btn_insert.disabled = false;
  236. //btn_delete.disabled = true;
  237. }
  238. function fEnableUpdateButton() {
  239. btn_insert.disabled = true;
  240. //btn_delete.disabled = false;
  241. }
  242. ]]>
  243. </script>
  244. <submission id="TRRWY00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/ponyemplform"/>
  245. <submission id="TRRWY00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ponyemplform" resultref="/root/main/yyendcalcmanapp"/>
  246. <submission id="TXRWY00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
  247. <submission id="TXRWY00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
  248. </model>
  249. </xhtml:head>
  250. <xhtml:body>
  251. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  252. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">퇴직정산기초자료확인및수정</caption>
  253. </group>
  254. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  255. <line id="line7" class="line_2" style="x1:0px; y1:192px; x2:1195; y2:192px; "/>
  256. <line id="line5" class="line_2" style="x1:0px; y1:168px; x2:1195px; y2:168px; "/>
  257. <line id="line2" class="line_2" style="x1:0px; y1:144px; x2:1195; y2:144px; text-align:center; "/>
  258. <line id="line21" class="line_2" style="x1:0px; y1:217px; x2:1195; y2:217px; text-align:center; "/>
  259. <line id="line32" class="line_2" style="x1:0px; y1:120px; x2:1195; y2:120px; text-align:center; "/>
  260. <line id="line31" class="line_3" style="x1:0px; y1:241px; x2:1195; y2:241px; "/>
  261. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  262. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:30px; width:56px; height:22px; ">
  263. <caption>조회</caption>
  264. <script type="javascript" ev:event="DOMActivate">
  265. <![CDATA[
  266. if(!isRequiredControls("ipt_calcyy","ipt_workym_s","cmb_instcd"))return;
  267. model.setValue("/root/send/ponyemplform/workgbn","S");
  268. misfMsterDetailRetrieve();
  269. grd_ponydetaillist.mergecol(2) = false;
  270. grd_ponydetaillist.mergecol(3) = false;
  271. grd_ponydetaillist.mergecol(4) = false;
  272. grd_ponydetaillist.mergecells = "bycol";
  273. ]]>
  274. </script>
  275. </button>
  276. <caption id="cap_retireyn_s" class="search_name" visibility="hidden" style="left:810px; top:45px; width:86px; height:17px; ">정산분류 :</caption>
  277. <caption id="cap_workym_s" class="search_name" style="left:15px; top:45; width:86px; height:17px; ">정산년월 :</caption>
  278. <caption id="cap_calcyy" class="search_name" style="left:15px; top:19; width:86px; height:17px; ">정산년도 :</caption>
  279. <caption id="caption3" class="search_name" style="left:503px; top:19; width:99px; height:17px; ">근무부서 :</caption>
  280. <caption id="caption4" class="search_name" style="left:212px; top:45px; width:86px; height:17px; ">사원번호 :</caption>
  281. <select1 id="rdo_retireyn_s" ref="/root/send/searchlist/retireyn" visibility="hidden" appearance="full" cellspacing="12" cols="3" overflow="visible" sep="|" style="left:899px; top:45px; width:200px; height:20px; text-align:left; border-style:none; ">
  282. <choices>
  283. <itemset nodeset="/root/init/radio2">
  284. <label ref="label"/>
  285. <value ref="value"/>
  286. </itemset>
  287. </choices>
  288. </select1>
  289. <line id="line3" class="line_4" style="x1:1107px; y1:20px; x2:1107px; y2:63px; border-color:#ffe4bb; border-left-style:solid; "/>
  290. <line id="line4" class="line_1" style="x1:0px; y1:268px; x2:550px; y2:269px; "/>
  291. <input id="ipt_calcyy" ref="/root/send/searchlist/calcyy" class="input_default" inputtype="date" format="yyyy" style="left:102px; top:18; width:100px; height:19px; "/>
  292. <input id="ipt_workym_s" ref="/root/send/searchlist/workym" class="input_default" inputtype="date" format="yyyy-mm" style="left:102px; top:44; width:100px; height:19px; "/>
  293. <datagrid id="grd_yyendcalcmanbaselist" nodeset="/root/main/ponyemplform/yyendcalcmanbaselist" caption="정산차수^사원번호^성명^주민번호^부서^중도퇴직여부^주소^입사일자^퇴사일자^거주구분^내/외국인^정산년도^정산기관^부서코드^직군^직위코드^직급코드^호봉코드^귀속년도시작일^귀속년도종료일^경리과확인여부^작업년월^정산분류^거주지국^배우자여부^부양자수^부양자수(60세이상)^기본공제여분1^기타소득유무^전근무지소득유무^부녀자여부^경로자수(65~69세)^경로자수(70세이상)^장애인수^자녀양육수(6세이하)^납세국명^납부일^신청서제출일^국외근무처^근무기간^계약또는근로제공일^감면기간만료일^접수일^제출일^단일세율제출여부^세율^징수부순번^영수증순번" colsep="^" colwidth="56, 71, 79, 99, 110, 93, 89, 89, 63, 73, 86, 100, 123, 61, 214, 214, 214, 123, 184, 123, 123, 123, 153, 123, 276, 199, 184, 245, 153, 260, 276, 123, 291, 123, 123, 123, 92, 184, 153, 123, 276, 214, 92, 92, 245, 61, 153, 153, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:272px; width:550px; height:462px; ">
  294. <col ref="calcseq" style="text-align:center; "/>
  295. <col ref="emplno" style="text-align:center; "/>
  296. <col ref="emplnm" style="text-align:center; "/>
  297. <col ref="rregno2" style="text-align:center; "/>
  298. <col ref="deptnm"/>
  299. <col checkvalue="Y,N" ref="retireyn" type="checkbox"/>
  300. <col ref="addr" visibility="hidden"/>
  301. <col ref="entcodd" visibility="hidden"/>
  302. <col ref="retiredd" visibility="hidden"/>
  303. <col ref="residncflag" visibility="hidden"/>
  304. <col ref="ionatiflag" visibility="hidden"/>
  305. <col ref="calcyy" visibility="hidden"/>
  306. <col ref="calcinst" visibility="hidden"/>
  307. <col ref="jobposcd" visibility="hidden"/>
  308. <col ref="grupjoblncd" visibility="hidden"/>
  309. <col ref="deptcd" visibility="hidden"/>
  310. <col ref="jobgradcd" visibility="hidden"/>
  311. <col ref="payclscd" visibility="hidden"/>
  312. <col ref="fromdd" visibility="hidden"/>
  313. <col ref="todd" visibility="hidden"/>
  314. <col ref="actndeptqualyn" visibility="hidden"/>
  315. <col ref="workym" visibility="hidden"/>
  316. <col ref="calckind" visibility="hidden"/>
  317. <col ref="residncnati" visibility="hidden"/>
  318. <col ref="ptneryn" visibility="hidden"/>
  319. <col ref="supppsnno20" visibility="hidden"/>
  320. <col ref="supppsnno60" visibility="hidden"/>
  321. <col ref="basededusurp1" visibility="hidden"/>
  322. <col ref="remincmyn" visibility="hidden"/>
  323. <col ref="bfdutplceincmyn" visibility="hidden"/>
  324. <col ref="maryfmlyn" visibility="hidden"/>
  325. <col ref="rptagrfrom65to69agecnt" visibility="hidden"/>
  326. <col ref="rptagr70agemorthncnt" visibility="hidden"/>
  327. <col ref="handicaprcnt" visibility="hidden"/>
  328. <col ref="brngupchldrncnt" visibility="hidden"/>
  329. <col ref="taxpaynatinm" visibility="hidden"/>
  330. <col ref="paydd" visibility="hidden"/>
  331. <col ref="appdocprstdd" visibility="hidden"/>
  332. <col ref="outnatidutplce" visibility="hidden"/>
  333. <col ref="dutterm" visibility="hidden"/>
  334. <col ref="conlabdnodd" visibility="hidden"/>
  335. <col ref="reducttermenddd" visibility="hidden"/>
  336. <col ref="acptdd" visibility="hidden"/>
  337. <col ref="prstdd" visibility="hidden"/>
  338. <col ref="uniqtaxrateprstflag" visibility="hidden"/>
  339. <col ref="taxrate" visibility="hidden"/>
  340. <col ref="prntseq" visibility="hidden"/>
  341. <col ref="rcptprntseq" visibility="hidden"/>
  342. <col ref="rregno" visibility="hidden"/>
  343. <col ref="jobposnm" visibility="hidden"/>
  344. <col ref="grupjoblnnm" visibility="hidden"/>
  345. <col ref="deptnm" visibility="hidden"/>
  346. <col ref="jobgradnm" visibility="hidden"/>
  347. <col ref="payclsnm" visibility="hidden"/>
  348. <col ref="workgbn" visibility="hidden"/>
  349. <col ref="brthcnt" visibility="hidden"/>
  350. <script type="javascript" ev:event="onrowchanged">
  351. <![CDATA[
  352. misfMsterDetailRetrieve();
  353. var cur_row = grd_yyendcalcmanbaselist.row;
  354. if ( cur_row > 0 ) {
  355. model.copyNode("/root/main/yyendcalcmanbaseitem","/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]");
  356. model.refresh();
  357. }
  358. ]]>
  359. </script>
  360. <script type="javascript" ev:event="onaftersort">
  361. <![CDATA[
  362. grd_yyendcalcmanbaselist.gridToInstance();
  363. ]]>
  364. </script>
  365. </datagrid>
  366. <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" appearance="minimal" style="left:301px; top:18; width:179px; height:19px; ">
  367. <choices>
  368. <itemset>
  369. <label/>
  370. <value/>
  371. </itemset>
  372. </choices>
  373. <script type="javascript" ev:event="xforms-value-changed">
  374. <![CDATA[
  375. btn_search.dispatch("DOMActivate");
  376. ]]>
  377. </script>
  378. </select1>
  379. <input id="ipt_dutdeptnm" ref="/root/send/searchlist/dutplcedeptnm" class="input_search" disabled="true" navindex="3" style="left:685px; top:18; width:115px; height:19px; ">
  380. <script type="javascript" ev:event="xforms-value-changed">
  381. <![CDATA[
  382. misfValidationCheck("02", "", "dutplcedeptcd,dutdeptnm_s" );
  383. model.refresh();
  384. ]]>
  385. </script>
  386. </input>
  387. <input id="ipt_dutdeptcd" ref="/root/send/searchlist/dutplcedeptcd" class="input_search" navindex="2" style="left:590px; top:18; width:70px; height:19px; ">
  388. <script type="javascript" ev:event="xforms-value-changed">
  389. <![CDATA[
  390. misfValidationCheck("02", "", "dutplcedeptcd,dutplcedeptnm" );
  391. model.refresh();
  392. ]]>
  393. </script>
  394. </input>
  395. <caption id="cap_instcd" class="search_name" style="left:212px; top:19; width:85px; height:17px; ">기 관 :</caption>
  396. <caption id="caption34" class="search_name" style="left:806px; top:19; width:86px; height:17px; ">확인상태 :</caption>
  397. <select1 id="radio3" ref="/root/send/searchlist/actndeptqualyn" appearance="full" cellspacing="12" cols="3" overflow="visible" sep="|" style="left:896px; top:19px; width:200px; height:20px; text-align:left; border-style:none; ">
  398. <choices>
  399. <itemset nodeset="/root/init/radio1">
  400. <label ref="label"/>
  401. <value ref="value"/>
  402. </itemset>
  403. </choices>
  404. </select1>
  405. <select id="ipt_actndeptqualyn" ref="/root/main/yyendcalcmanbaseitem/actndeptqualyn" disabled="true" overflow="visible" appearance="full" style="left:351px; top:247px; width:109px; height:20px; border-style:none; ">
  406. <choices>
  407. <itemset nodeset="/root/init/checkbox1">
  408. <label ref="label"/>
  409. <value ref="value"/>
  410. </itemset>
  411. </choices>
  412. </select>
  413. <button id="btn_dutdept" class="icon_search" style="left:665px; top:20px; width:16px; height:16px; ">
  414. <caption/>
  415. <script type="javascript" ev:event="DOMActivate">
  416. <![CDATA[
  417. var recv_list = "dutplcedeptcd,dutplcedeptnm";
  418. misfOpenPopUpList("02", ipt_dutdeptcd,"",recv_list);
  419. model.refresh();
  420. ]]>
  421. </script>
  422. </button>
  423. <caption id="caption18" class="tit_2" style="left:5px; top:251px; width:157px; height:13px; ">사원정보</caption>
  424. <datagrid id="grd_ponydetaillist" nodeset="/root/main/yyendcalcmanapp/ponydetaillist" caption="정산항목^정산구분^정산기초금액^정산기초조종금액^정산구분코드^정산구분^정산차수^사원번호^정산년도" colsep="^" colwidth="135, 227, 111, 120, 100, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:555px; top:272px; width:640px; height:462px; ">
  425. <col ref="calcitemnm" style="text-align:center; "/>
  426. <col ref="calcflagnm"/>
  427. <col ref="calcbaseamt" type="output" format="(-)#,###" maxlength="12" style="text-align:right; padding-right:5; "/>
  428. <col ref="calcbaseadjamt" type="output" format="(-)#,###" maxlength="12" style="text-align:right; padding-right:5; "/>
  429. <col ref="calcflagcd" visibility="hidden"/>
  430. <col ref="calcitemcd" visibility="hidden"/>
  431. <col ref="calcseq" visibility="hidden"/>
  432. <col ref="emplno" visibility="hidden"/>
  433. <col ref="calcyy" visibility="hidden"/>
  434. <col ref="calcflag" visibility="hidden"/>
  435. </datagrid>
  436. <line id="line6" class="line_1" style="x1:555px; y1:268px; x2:1195px; y2:269px; "/>
  437. <caption id="caption8" class="tit_2" style="left:560px; top:251px; width:157px; height:13px; ">정산세부내역</caption>
  438. <button id="btn_insert" class="btn2_letter4" visibility="hidden" style="left:1064px; top:246px; width:64px; height:19px; ">
  439. <caption>자료입력</caption>
  440. <script type="javascript" ev:event="DOMActivate">
  441. <![CDATA[
  442. if(!isRequiredControls("ipt_calcyy"))return;
  443. var updtdata = getGridUpdateData(grd_ponydetaillist);
  444. var befor_row = grd_ponydetaillist.rows;
  445. if(befor_row >1){
  446. messageBox("자료를 입력","E001");
  447. return;
  448. }
  449. if (updtdata != "") {
  450. messageBox("작업 중인 내용이 있습니다. 저장후","C001");
  451. return;
  452. }
  453. var cur_row=grd_yyendcalcmanbaselist.row;
  454. var calcyy=model.getValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/calcyy");
  455. var emplno=model.getValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/emplno");
  456. var calcseq=model.getValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/calcseq");
  457. //model.makeNode("/root/send/ponyemplform/workgbn");
  458. model.setValue("/root/send/ponyemplform/workgbn","I");
  459. model.setValue("/root/send/ponyemplform/calcyy",calcyy);
  460. model.setValue("/root/send/ponyemplform/emplno",emplno);
  461. model.setValue("/root/send/ponyemplform/calcseq",calcseq);
  462. submit("TRRWY00402");
  463. model.refresh();
  464. grd_ponydetaillist.mergecol(2) = false;
  465. grd_ponydetaillist.mergecol(3) = false;
  466. grd_ponydetaillist.mergecol(4) = false;
  467. grd_ponydetaillist.mergecells = "bycol";
  468. var rowcnt = grd_ponydetaillist.rows;
  469. for( var i = 1 ; i< rowcnt ; i++)
  470. {
  471. grd_ponydetaillist.addStatus(i,"insert");
  472. }
  473. ]]>
  474. </script>
  475. </button>
  476. <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" class="input_search" navindex="21" style="left:395px; top:44px; width:85px; height:19px; ">
  477. <script type="javascript" ev:event="onkeyup">
  478. <![CDATA[
  479. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  480. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  481. inputEnterKey("btn_search", "DOMActivate");
  482. }
  483. ]]>
  484. </script>
  485. <script type="javascript" ev:event="xforms-value-changed">
  486. <![CDATA[
  487. var recv_list = "emplno,emplnm";
  488. rpbfValidationCheck("EMPLNM", recv_list);
  489. model.refresh();
  490. ]]>
  491. </script>
  492. </input>
  493. <input id="ipt_emplno" ref="/root/send/searchlist/emplno" class="input_search" navindex="20" style="left:300px; top:44px; width:69px; height:19px; ">
  494. <script type="javascript" ev:event="onkeyup">
  495. <![CDATA[
  496. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  497. inputEnterKey("ipt_emplno", "xforms-value-changed");
  498. inputEnterKey("btn_search", "DOMActivate");
  499. }
  500. ]]>
  501. </script>
  502. <script type="javascript" ev:event="xforms-value-changed">
  503. <![CDATA[
  504. var recv_list = "emplno,emplnm";
  505. rpbfValidationCheck("EMPLNO", recv_list);
  506. model.refresh();
  507. ]]>
  508. </script>
  509. </input>
  510. <button id="btn_emplsearch" class="icon_search" style="left:375px; top:45px; width:16px; height:16px; ">
  511. <caption/>
  512. <script type="javascript" ev:event="DOMActivate">
  513. <![CDATA[
  514. var recv_list = "emplno,emplnm";
  515. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  516. model.refresh();
  517. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  518. btn_search.dispatch("DOMActivate");
  519. }
  520. ]]>
  521. </script>
  522. </button>
  523. <button id="btn_exceldetail" class="btn2_letter4" style="left:1130px; top:246px; width:64px; height:19px; ">
  524. <caption>엑셀저장</caption>
  525. <script type="javascript" ev:event="DOMActivate">
  526. <![CDATA[
  527. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  528. if (fileName != "")
  529. {
  530. grd_ponydetaillist.saveExcel(fileName, "SheetName", true, true, "", "");
  531. }
  532. ]]>
  533. </script>
  534. </button>
  535. <button id="btn_excelmaster" class="btn2_letter4" style="left:486px; top:246px; width:64px; height:19px; ">
  536. <caption>엑셀저장</caption>
  537. <script type="javascript" ev:event="DOMActivate">
  538. <![CDATA[
  539. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  540. if (fileName != "")
  541. {
  542. grd_yyendcalcmanbaselist.saveExcel(fileName, "SheetName", true, true, "", "");
  543. }
  544. ]]>
  545. </script>
  546. </button>
  547. <input id="ipt_handicaprcnt" ref="/root/main/yyendcalcmanbaseitem/handicaprcnt" class="input_search" inputtype="2" format="#,###" style="left:351px; top:220px; width:117px; height:19px; text-align:right; "/>
  548. <select1 id="rdo_ptneryn" ref="/root/main/yyendcalcmanbaseitem/ptneryn" appearance="full" cellspacing="10" cols="2" overflow="visible" sep="|" style="left:351px; top:174px; width:122px; height:15px; text-align:left; border-style:none; ">
  549. <choices>
  550. <itemset nodeset="/root/init/radio4">
  551. <label ref="label"/>
  552. <value ref="value"/>
  553. </itemset>
  554. </choices>
  555. </select1>
  556. <caption id="caption50" class="cell_1" style="left:0px; top:146px; width:75px; height:23px; text-align:center; vertical-align:middle; ">작업년월</caption>
  557. <select1 id="rdo_maryfmlyn" ref="/root/main/yyendcalcmanbaseitem/maryfmlyn" appearance="full" cellspacing="10" cols="2" overflow="visible" sep="|" style="left:351px; top:196px; width:112px; height:20px; text-align:left; border-style:none; ">
  558. <choices>
  559. <itemset nodeset="/root/init/radio4">
  560. <label ref="label"/>
  561. <value ref="value"/>
  562. </itemset>
  563. </choices>
  564. </select1>
  565. <caption id="caption40" class="cell_1" style="left:234px; top:219px; width:115px; height:23px; text-align:center; ">장애인수</caption>
  566. <caption id="caption30" class="cell_1" style="left:0px; top:122px; width:75px; height:23px; text-align:center; vertical-align:middle; ">직 급/호 봉</caption>
  567. <caption id="caption41" class="cell_1" style="left:234px; top:194px; width:115px; height:23px; text-align:center; ">부녀자유무</caption>
  568. <line id="line22" class="line_1" style="x1:0px; y1:93px; x2:1195; y2:93px; "/>
  569. <caption id="caption42" class="cell_1" style="left:470px; top:219px; width:115px; height:23px; text-align:center; ">자녀양육(6세이하)</caption>
  570. <input id="ipt_rptagrfrom65to69agecnt" ref="/root/main/yyendcalcmanbaseitem/rptagrfrom65to69agecnt" class="input_search" maxlength="2" format="#,###" style="left:587px; top:195px; width:122px; height:19px; text-align:right; "/>
  571. <caption id="caption53" class="search_n_b" style="left:956px; top:149px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  572. <input id="ipt_supppsnno60" ref="/root/main/yyendcalcmanbaseitem/supppsnno60" class="input_search" maxlength="2" format="#,###" style="left:587px; top:172px; width:122px; height:19px; text-align:right; "/>
  573. <caption id="caption43" class="cell_1" style="left:711px; top:146px; width:115px; height:23px; text-align:center; vertical-align:middle; ">귀속년월일</caption>
  574. <input id="ipt_brngupchldrncnt" ref="/root/main/yyendcalcmanbaseitem/brngupchldrncnt" class="input_search" maxlength="2" format="#,###" style="left:587px; top:220px; width:122px; height:19px; text-align:right; "/>
  575. <caption id="caption54" class="cell_1" style="left:470px; top:146px; width:115px; height:23px; text-align:center; vertical-align:middle; ">정산분류</caption>
  576. <input id="ipt_supppsnno20" ref="/root/main/yyendcalcmanbaseitem/supppsnno20" class="input_search" maxlength="2" format="#,###" style="left:829px; top:172px; width:122px; height:19px; text-align:right; "/>
  577. <select1 id="cmb_ionatiflag" ref="/root/main/yyendcalcmanbaseitem/ionatiflag" class="combo_search" disabled="true" appearance="minimal" style="left:1070px; top:123px; width:122px; height:19px; ">
  578. <choices>
  579. <itemset nodeset="/root/init/combo2">
  580. <label ref="label"/>
  581. <value ref="value"/>
  582. </itemset>
  583. </choices>
  584. </select1>
  585. <caption id="caption44" class="cell_1" style="left:711px; top:194px; width:115px; height:23px; text-align:center; vertical-align:middle; ">경로자(70세이상)</caption>
  586. <input id="ipt_rptagr70agemorthncnt" ref="/root/main/yyendcalcmanbaseitem/rptagr70agemorthncnt" class="input_search" maxlength="2" format="#,###" style="left:829px; top:195px; width:122px; height:19px; text-align:right; "/>
  587. <caption id="caption55" class="cell_1" style="left:470px; top:170px; width:115px; height:23px; text-align:center; ">부양자수(60세이상)</caption>
  588. <select1 id="cmb_residncflag" ref="/root/main/yyendcalcmanbaseitem/residncflag" class="combo_search" disabled="true" appearance="minimal" style="left:829px; top:124px; width:122px; height:19px; ">
  589. <choices>
  590. <itemset nodeset="/root/init/combo1">
  591. <label ref="label"/>
  592. <value ref="value"/>
  593. </itemset>
  594. </choices>
  595. </select1>
  596. <caption id="caption23" class="cell_1" style="left:234px; top:122px; width:115px; height:23px; text-align:center; vertical-align:middle; ">주 소</caption>
  597. <input id="ipt_grupjoblnnm" ref="/root/main/yyendcalcmanbaseitem/grupjoblnnm" class="input_search" disabled="true" style="left:351px; top:99px; width:117px; height:19px; text-align:right; "/>
  598. <caption id="caption45" class="cell_1" style="left:470px; top:194px; width:115px; height:23px; text-align:center; ">경로자(65세~69세)</caption>
  599. <caption id="caption56" class="cell_1" style="left:711px; top:170px; width:115px; height:23px; text-align:center; ">부양자수(20세이하)</caption>
  600. <input id="ipt_entcodd" ref="/root/main/yyendcalcmanbaseitem/entcodd" class="input_search" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:829px; top:99px; width:122px; height:19px; "/>
  601. <caption id="caption46" class="tit_2" style="left:5px; top:79px; width:157px; height:14px; ">퇴직정산기초자료</caption>
  602. <caption id="caption5" class="cell_1" style="left:0px; top:170px; width:233px; height:23px; text-align:center; vertical-align:middle; ">기본공제</caption>
  603. <input id="ipt_retiredd" ref="/root/main/yyendcalcmanbaseitem/retiredd" class="input_search" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:1070px; top:99px; width:122px; height:19px; "/>
  604. <caption id="caption25" class="cell_1" style="left:711px; top:98px; width:115px; height:23px; text-align:center; ">입사일자</caption>
  605. <caption id="caption47" class="cell_1" style="left:234px; top:170px; width:115px; height:23px; text-align:center; ">배우자유무</caption>
  606. <input id="ipt_fromdd" ref="/root/main/yyendcalcmanbaseitem/fromdd" class="input_search" disabled="false" navindex="30" inputtype="date" style="left:829px; top:147px; width:122px; height:19px; "/>
  607. <input id="ipt_payclsnm" ref="/root/main/yyendcalcmanbaseitem/payclsnm" class="input_search" disabled="true" style="left:162px; top:124px; width:70px; height:19px; text-align:right; "/>
  608. <caption id="caption26" class="cell_1" style="left:953px; top:98px; width:115px; height:23px; text-align:center; ">퇴사일자</caption>
  609. <input id="input1" ref="/root/main/yyendcalcmanbaseitem/emplno" class="input_search" disabled="true" style="left:77px; top:99px; width:66px; height:19px; text-align:right; "/>
  610. <caption id="caption7" class="cell_1" style="left:0px; top:194px; width:233px; height:48px; text-align:center; vertical-align:middle; ">추가공제</caption>
  611. <input id="ipt_jobposnm" ref="/root/main/yyendcalcmanbaseitem/jobposnm" class="input_search" disabled="true" style="left:587px; top:99px; width:122px; height:19px; text-align:right; "/>
  612. <caption id="caption27" class="cell_1" style="left:711px; top:122px; width:115px; height:23px; text-align:center; ">거주구분</caption>
  613. <caption id="caption16" class="cell_1" style="left:234px; top:98px; width:115px; height:23px; text-align:center; vertical-align:middle; ">직 군</caption>
  614. <input id="ipt_todd" ref="/root/main/yyendcalcmanbaseitem/todd" class="input_search" disabled="false" navindex="30" inputtype="date" style="left:976px; top:147px; width:122px; height:19px; "/>
  615. <input id="ipt_jobgradnm" ref="/root/main/yyendcalcmanbaseitem/jobgradnm" class="input_search" disabled="true" style="left:77px; top:124px; width:81px; height:19px; text-align:right; "/>
  616. <caption id="caption28" class="cell_1" style="left:953px; top:122px; width:115px; height:23px; text-align:center; ">내외국인구분</caption>
  617. <caption id="caption39" class="cell_1" style="left:234px; top:146px; width:115px; height:23px; text-align:center; vertical-align:middle; ">신청서제출일</caption>
  618. <input id="ipt_workym" ref="/root/main/yyendcalcmanbaseitem/workym" class="input_search" inputtype="date" format="yyyy-mm" style="left:77px; top:147px; width:155px; height:19px; "/>
  619. <caption id="caption9" class="cell_1" style="left:0px; top:98px; width:75px; height:23px; text-align:center; vertical-align:middle; ">사번/성명</caption>
  620. <caption id="caption29" class="cell_1" style="left:470px; top:98px; width:115px; height:23px; text-align:center; vertical-align:middle; ">직 위</caption>
  621. <select1 id="cmb_retireyn" ref="/root/main/yyendcalcmanbaseitem/retireyn" class="combo_search" disabled="true" appearance="minimal" style="left:587px; top:147px; width:122px; height:19px; ">
  622. <choices>
  623. <itemset nodeset="/root/init/combo3">
  624. <label ref="label"/>
  625. <value ref="value"/>
  626. </itemset>
  627. </choices>
  628. </select1>
  629. <input id="ipt_appdocprstdd" ref="/root/main/yyendcalcmanbaseitem/appdocprstdd" class="input_search" disabled="true" navindex="30" inputtype="date" style="left:351px; top:147px; width:117px; height:19px; "/>
  630. <input id="input2" ref="/root/main/yyendcalcmanbaseitem/emplnm" class="input_search" disabled="true" style="left:147px; top:99px; width:85px; height:19px; text-align:center; "/>
  631. <input id="ipt_addr" ref="/root/main/yyendcalcmanbaseitem/addr" class="input_search" disabled="true" style="left:351px; top:124px; width:358px; height:19px; "/>
  632. <input id="ipt_brthcnt" ref="/root/main/yyendcalcmanbaseitem/brthcnt" class="input_search" maxlength="2" format="#,###" style="left:829px; top:220px; width:122px; height:19px; text-align:right; "/>
  633. <caption id="caption1" class="cell_1" style="left:711px; top:219px; width:115px; height:23px; text-align:center; ">출산입양인원</caption>
  634. </group>
  635. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  636. <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  637. <button id="btn_init" class="btn4_letter3" style="left:1064px; top:3px; width:68px; height:22px; ">
  638. <caption>초기화</caption>
  639. <script type="javascript" ev:event="DOMActivate">
  640. <![CDATA[
  641. var updtdata = getGridUpdateData(grd_ponydetaillist);
  642. if (updtdata != "") {
  643. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  644. if (ret != 6) { // not OK
  645. return;
  646. }
  647. }
  648. fInitialize();
  649. ]]>
  650. </script>
  651. </button>
  652. <button id="btn_save" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
  653. <caption>저장</caption>
  654. <script type="javascript" ev:event="DOMActivate">
  655. <![CDATA[
  656. var cur_row=grd_yyendcalcmanbaselist.row;
  657. var cur_rows=grd_yyendcalcmanbaselist.rows;
  658. for(i=1; i < cur_rows ; i++){
  659. var actndeptqualyn = model.getValue("/root/main/yyendcalcmanbaseitem/actndeptqualyn");
  660. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+i+"]/actndeptqualyn",actndeptqualyn);
  661. }
  662. if (cur_row > 0) {
  663. var workym = model.getValue("/root/main/yyendcalcmanbaseitem/workym");
  664. var ptneryn = model.getValue("/root/main/yyendcalcmanbaseitem/ptneryn");
  665. var supppsnno20 = model.getValue("/root/main/yyendcalcmanbaseitem/supppsnno20");
  666. var supppsnno60 = model.getValue("/root/main/yyendcalcmanbaseitem/supppsnno60");
  667. var maryfmlyn = model.getValue("/root/main/yyendcalcmanbaseitem/maryfmlyn");
  668. var rptagrfrom65to69agecnt = model.getValue("/root/main/yyendcalcmanbaseitem/rptagrfrom65to69agecnt");
  669. var rptagr70agemorthncnt = model.getValue("/root/main/yyendcalcmanbaseitem/rptagr70agemorthncnt");
  670. var handicaprcnt = model.getValue("/root/main/yyendcalcmanbaseitem/handicaprcnt");
  671. var brngupchldrncnt = model.getValue("/root/main/yyendcalcmanbaseitem/brngupchldrncnt");
  672. var brthcnt = model.getValue("/root/main/yyendcalcmanbaseitem/brthcnt");
  673. var fromdd = model.getValue("/root/main/yyendcalcmanbaseitem/fromdd");
  674. var todd = model.getValue("/root/main/yyendcalcmanbaseitem/todd");
  675. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/workym",workym);
  676. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/ptneryn",ptneryn);
  677. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/supppsnno20",supppsnno20);
  678. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/supppsnno60",supppsnno60);
  679. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/maryfmlyn",maryfmlyn);
  680. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/rptagrfrom65to69agecnt",rptagrfrom65to69agecnt);
  681. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/rptagr70agemorthncnt",rptagr70agemorthncnt);
  682. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/handicaprcnt",handicaprcnt);
  683. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/brngupchldrncnt",brngupchldrncnt);
  684. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/brthcnt",brthcnt);
  685. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/fromdd",fromdd);
  686. model.setValue("/root/main/ponyemplform/yyendcalcmanbaselist["+cur_row+"]/todd",todd);
  687. grd_yyendcalcmanbaselist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  688. }
  689. var updtdata = getGridUpdateData(grd_yyendcalcmanbaselist);
  690. var updtdatadetail = getGridUpdateData(grd_ponydetaillist);
  691. if (updtdata == "" && updtdatadetail =="") {
  692. messageBox("변경된 데이터가","I004");
  693. return;
  694. }
  695. misfSave("TXRWY00401");
  696. ]]>
  697. </script>
  698. </button>
  699. <button id="btn_totsum" class="btn4_letter5" style="left:971px; top:3px; width:92px; height:22px; ">
  700. <caption>대상자생성</caption>
  701. <script type="javascript" ev:event="DOMActivate">
  702. <![CDATA[
  703. if(!isRequiredControls("ipt_calcyy","ipt_workym_s","cmb_instcd","rdo_retireyn_s"))return;
  704. // if(rdo_retireyn_s.value !="Y"){
  705. // messageBox("정산분류는 연말정산을 ","C002");
  706. // return;
  707. // }
  708. submit("TXRWY00402");
  709. var errflag = model.getValue("/root/temp/errflag");
  710. //alert("errflag="+ errflag);
  711. ]]>
  712. </script>
  713. </button>
  714. </group>
  715. </xhtml:body>
  716. </xhtml:html>