SMRWY00400_정산기초자료확인및수정.xrw 38 KB

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