SMRPA03500_기관연금정정내역관리.xrw 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228
  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. <penscorrlist>
  11. <notiym/>
  12. <rrgstno/>
  13. <seqno/>
  14. <workgbn/>
  15. <jobgrad/>
  16. <jobpos/>
  17. <paycls/>
  18. <diligent/>
  19. <prestmmbamt/>
  20. <resngbn/>
  21. <enlstmnlayoff/>
  22. <layoff/>
  23. <sameretc/>
  24. <difretc/>
  25. <groupretc/>
  26. <totamt/>
  27. <adddeduamt/>
  28. <paytotamt/>
  29. <rrgstno1/>
  30. <rrgstno2/>
  31. <instcd/>
  32. <resngbnnm/>
  33. <instnm/>
  34. </penscorrlist>
  35. <penlentcorrlist>
  36. <notiym/>
  37. <instnm/>
  38. <rrgstno/>
  39. <seqno/>
  40. <name/>
  41. <workgbn/>
  42. <pensloadno/>
  43. <paytimes/>
  44. <divtimes/>
  45. <resngbn/>
  46. <prinamt/>
  47. <restamt/>
  48. <delyrest/>
  49. <prtrepayamt/>
  50. <prestmmpayamt/>
  51. <spreprin/>
  52. <rrgstno1/>
  53. <rrgstno2/>
  54. <instcd/>
  55. <resngbnnm/>
  56. </penlentcorrlist>
  57. <disadiffpayform>
  58. <insurancelist>
  59. <rrgstno/>
  60. <emplnm/>
  61. <seqno/>
  62. <prestmmbamt/>
  63. <sameretc/>
  64. <difretc/>
  65. <groupretc/>
  66. <totamt/>
  67. <paytotamt/>
  68. <enlstmnlayoff/>
  69. <layoff/>
  70. <jobgrad/>
  71. <jobpos/>
  72. <paycls/>
  73. <diligent/>
  74. <rrgstno1/>
  75. <rrgstno2/>
  76. <adddeduamt/>
  77. <resngbn/>
  78. </insurancelist>
  79. <penlentlist>
  80. <rrgstno/>
  81. <emplnm/>
  82. <pensloadno/>
  83. <paytimes/>
  84. <divtimes/>
  85. <prinamt/>
  86. <restamt/>
  87. <delyrest/>
  88. <spreprin/>
  89. <instcd/>
  90. <notiym/>
  91. <seqno/>
  92. <rrgstno1/>
  93. <rrgstno2/>
  94. <preatmmpayamt/>
  95. <prtrepayamt/>
  96. <resngbn/>
  97. </penlentlist>
  98. </disadiffpayform>
  99. <disadiffpayitem>
  100. <rrgstno1/>
  101. <rrgstno2/>
  102. <emplnm/>
  103. <seqno/>
  104. <prestmmbamt/>
  105. <sameretc/>
  106. <difretc/>
  107. <groupretc/>
  108. <totamt/>
  109. <paytotamt/>
  110. <enlstmnlayoff/>
  111. <layoff/>
  112. <jobgrad/>
  113. <jobpos/>
  114. <paycls/>
  115. <diligent/>
  116. <notiym/>
  117. <instcd/>
  118. <resngbn/>
  119. <adddeduamt/>
  120. <workgbn/>
  121. <rrgstno/>
  122. <togglegbn/>
  123. </disadiffpayitem>
  124. <penlentitem>
  125. <notiym/>
  126. <rrgstno/>
  127. <seqno/>
  128. <emplnm/>
  129. <workgbn/>
  130. <pensloadno/>
  131. <paytimes/>
  132. <divtimes/>
  133. <resngbn/>
  134. <prinamt/>
  135. <restamt/>
  136. <delyrest/>
  137. <prtrepayamt/>
  138. <prestmmpayamt/>
  139. <spreprin/>
  140. <rrgstno1/>
  141. <rrgstno2/>
  142. <instcd/>
  143. <togglegbn/>
  144. </penlentitem>
  145. </main>
  146. <send>
  147. <searchlist>
  148. <notiym/>
  149. <instcd/>
  150. <rrgstno1/>
  151. <rrgstno2/>
  152. <emplnm/>
  153. <workgbn/>
  154. </searchlist>
  155. <disadiffpayitem>
  156. <rrgstno1/>
  157. <rrgstno2/>
  158. <emplnm/>
  159. <notiym/>
  160. <instcd/>
  161. <seqno/>
  162. <workgbn/>
  163. </disadiffpayitem>
  164. <penlentitem>
  165. <rrgstno1/>
  166. <rrgstno2/>
  167. <emplnm/>
  168. <notiym/>
  169. <instcd/>
  170. <seqno/>
  171. <workgbn/>
  172. </penlentitem>
  173. <savelist>
  174. <penscorrlist/>
  175. </savelist>
  176. <savelist2>
  177. <penlentcorrlist/>
  178. </savelist2>
  179. <doduynlist>
  180. <notiym/>
  181. <seqno/>
  182. <togglegbn/>
  183. <workgbn/>
  184. <rrgstno/>
  185. </doduynlist>
  186. </send>
  187. <temp>
  188. <doduyn/>
  189. <seqnoyn/>
  190. <penseqnoyn/>
  191. <lenseqnoyn/>
  192. <peninstcnfmyn/>
  193. <leninstcnfmyn/>
  194. </temp>
  195. <init>
  196. <toggleent/>
  197. </init>
  198. </root>
  199. </instance>
  200. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  201. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  202. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  203. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  204. <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
  205. <script type="javascript" ev:event="xforms-ready">
  206. <![CDATA[
  207. model.makeValue("/root/init/toggleent","01");
  208. fInitialize();
  209. fInitializetogle();
  210. model.toggle("case1");
  211. misfGridInit(grd_penscorrlist);
  212. misfGridInit(grd_insurancelist);
  213. misfMsterDetailSet(grd_penscorrlist, null, "TRRPA03201" ,"Y");
  214. misfMsterDetailSet(grd_penlentcorrlist, null, "TRRPA03203" ,"Y");
  215. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
  216. rpaComboInstBase(cmb_instcd_i,getUserInfo("dutplceinstcd"));
  217. misfComboComCdList('R0178', cmb_resngbn);
  218. misfComboCopyItemSet(cmb_resngbn, "", cmb_resngbn_r, "");
  219. misfComboCopyItemSet(cmb_instcd_i, "", cmb_instcd_r, "");
  220. misfComboCopyItemSet(cmb_instcd_i, "", grd_penscorrlist, "instcd");
  221. cmb_instcd.value=getUserInfo("dutplceinstcd");
  222. //화면 권한 설정
  223. btn_save.disabled = !(checkAuth("X"));
  224. btn_insert.disabled= true;
  225. ]]>
  226. </script>
  227. <submission id="TRRPA03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/penscorrlist"/>
  228. <submission id="TXRPA03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
  229. <submission id="TRRPA03202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/disadiffpayitem" resultref="/root/main/disadiffpayform"/>
  230. <submission id="TRRPA03203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/penlentcorrlist"/>
  231. <submission id="TRRPA03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/penlentitem" resultref="/root/main/disadiffpayform"/>
  232. <submission id="TXRPA03202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist2" resultref="/root/temp"/>
  233. <submission id="TRRPA03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doduynlist" resultref="/root/temp"/>
  234. </model>
  235. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  236. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  237. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  238. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  239. <script type="javascript">
  240. <![CDATA[
  241. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  242. function fInitialize() {
  243. model.resetInstanceNode("/root/send");
  244. var curDate = getCurrentDate().toDate();
  245. model.setValue("/root/send/searchlist/notiym", curDate.getDateFormat('YYYYMM'));
  246. }
  247. function fInitializetogle() {
  248. var toggleent=model.getValue("/root/init/toggleent");
  249. if(toggleent == "01"){
  250. model.removeNodeset("/root/main/penscorrlist");
  251. model.removeNodeset("/root/main/disadiffpayform/insurancelist");
  252. model.resetInstanceNode("/root/main/disadiffpayitem");
  253. fEnableInsertButton();
  254. }else{
  255. model.removeNodeset("/root/main/penlentcorrlist");
  256. model.removeNodeset("/root/main/disadiffpayform/penlentlist");
  257. model.resetInstanceNode("/root/main/penlentitem");
  258. fEnableInsertButton_r();
  259. }
  260. model.refresh();
  261. var notiym=model.getValue("/root/send/searchlist/notiym");
  262. ipt_notiym_i.value= notiym;
  263. ipt_notiym_r.value= notiym;
  264. }
  265. function fEnableInsertButton() {
  266. btn_insert.disabled = true;
  267. btn_update.disabled = true;
  268. var notiym=model.getValue("/root/send/searchlist/notiym");
  269. ipt_notiym_i.value=notiym;
  270. //model.setValue("/root/main/disadiffpayitem/notiym", curDate.getDateFormat('YYYYMM'));
  271. ipt_notiym_i.disabled=false;
  272. ipt_rrgstno1_i.disabled=false;
  273. ipt_rrgstno2_i.disabled=false;
  274. ipt_emplnm_i.disabled=false;
  275. }
  276. function fEnableInsertButton_r() {
  277. btn_insert_r.disabled = true;
  278. btn_update_r.disabled = true;
  279. var notiym=model.getValue("/root/send/searchlist/notiym");
  280. ipt_notiym_r.value=notiym;
  281. ipt_notiym_r.disabled=false;
  282. ipt_rrgstno1_r.disabled=false;
  283. ipt_rrgstno2_r.disabled=false;
  284. ipt_emplnm_r.disabled=false;
  285. }
  286. function fEnableUpdateButton() {
  287. btn_insert.disabled = true;
  288. btn_update.disabled = false;
  289. }
  290. function fEnableUpdateButton_r() {
  291. btn_insert_r.disabled = true;
  292. btn_update_r.disabled = false;
  293. }
  294. function ftotPenPayAmt(){
  295. var prestmmbamt = 0;
  296. var groupretc = 0;
  297. var sameretc = 0;
  298. var enlstmnlayoff = 0;
  299. var layoff = 0;
  300. var totamt = 0;
  301. var difretc = 0;
  302. var adddeduamt = 0;
  303. if(ipt_prestmmbamt.value!=""){
  304. prestmmbamt=parseInt(ipt_prestmmbamt.value);
  305. }
  306. if(ipt_groupretc.value!=""){
  307. groupretc=parseInt(ipt_groupretc.value);
  308. }
  309. if(ipt_sameretc.value!=""){
  310. sameretc=parseInt(ipt_sameretc.value);
  311. }
  312. if(ipt_enlstmnlayoff.value!=""){
  313. enlstmnlayoff=parseInt(ipt_enlstmnlayoff.value);
  314. }
  315. if(ipt_layoff.value!=""){
  316. layoff=parseInt(ipt_layoff.value);
  317. }
  318. if(ipt_totamt.value){
  319. totamt=parseInt(ipt_totamt.value);
  320. }
  321. if(ipt_difretc.value!=""){
  322. difretc=parseInt(ipt_difretc.value);
  323. }
  324. if(ipt_adddeduamt.value!=""){
  325. adddeduamt=parseInt(ipt_adddeduamt.value);
  326. }
  327. //scholexppayamt=parseInt(scho)+parseInt(admischoolamt)+parseInt(asctfeereliztpln)+parseInt(stdasctfee);
  328. totalpenpayamt=prestmmbamt+groupretc+sameretc+enlstmnlayoff+layoff+difretc+totamt+adddeduamt;
  329. ipt_paytotamt.value=totalpenpayamt;
  330. }
  331. ]]>
  332. </script>
  333. </xhtml:head>
  334. <xhtml:body style="margin-left:8; margin-right:8; ">
  335. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  336. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">기관연금정정내역관리</caption>
  337. </group>
  338. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  339. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  340. <caption id="caption2" class="search_name" style="left:15px; top:19px; width:105px; height:17px; ">작업년월 :</caption>
  341. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  342. <caption>조회</caption>
  343. <script type="javascript" ev:event="DOMActivate">
  344. <![CDATA[
  345. if(!isRequiredControls("ipt_notiym"))return;
  346. var toggleent=model.getValue("/root/init/toggleent");
  347. model.setValue("/root/send/searchlist/workgbn","3");
  348. if(toggleent == "01"){
  349. model.removeNodeset("/root/main/disadiffpayform/insurancelist");
  350. model.resetInstanceNode("/root/main/disadiffpayitem");
  351. model.resetInstanceNode("/root/send/disadiffpayitem");
  352. ipt_notiym_i.value=ipt_notiym.value;
  353. var notiym=model.getValue("/root/send/searchlist/notiym");
  354. var instcd=model.getValue("/root/send/searchlist/instcd");
  355. var rrgstno1=model.getValue("/root/send/searchlist/rrgstno1");
  356. var rrgstno2 =model.getValue("/root/send/searchlist/rrgstno2");
  357. var emplnm=model.getValue("/root/send/searchlist/emplnm");
  358. model.setValue("/root/send/disadiffpayitem/notiym",notiym);
  359. model.setValue("/root/send/disadiffpayitem/instcd",instcd);
  360. model.setValue("/root/send/disadiffpayitem/rrgstno1",rrgstno1);
  361. model.setValue("/root/send/disadiffpayitem/rrgstno2",rrgstno2);
  362. model.setValue("/root/send/disadiffpayitem/emplnm",emplnm);
  363. model.setValue("/root/send/disadiffpayitem/workgbn","3");
  364. submit("TRRPA03201");
  365. submit("TRRPA03202");
  366. }else{
  367. model.removeNodeset("/root/main/penlentcorrlist");
  368. model.resetInstanceNode("/root/main/penlentitem");
  369. model.resetInstanceNode("/root/send/penlentitem");
  370. ipt_notiym_r.value=ipt_notiym.value;
  371. var notiym=model.getValue("/root/send/searchlist/notiym");
  372. var instcd=model.getValue("/root/send/searchlist/instcd");
  373. var rrgstno1=model.getValue("/root/send/searchlist/rrgstno1");
  374. var rrgstno2 =model.getValue("/root/send/searchlist/rrgstno2");
  375. var emplnm=model.getValue("/root/send/searchlist/emplnm");
  376. model.setValue("/root/send/penlentitem/notiym",notiym);
  377. model.setValue("/root/send/penlentitem/instcd",instcd);
  378. model.setValue("/root/send/penlentitem/rrgstno1",rrgstno1);
  379. model.setValue("/root/send/penlentitem/rrgstno2",rrgstno2);
  380. model.setValue("/root/send/penlentitem/emplnm",emplnm);
  381. model.setValue("/root/send/penlentitem/workgbn","3");
  382. submit("TRRPA03203");
  383. submit("TRRPA03003");
  384. }
  385. ]]>
  386. </script>
  387. </button>
  388. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  389. <input id="ipt_notiym" ref="/root/send/searchlist/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:18; width:100px; height:19px; ">
  390. <script type="javascript" ev:event="xforms-value-changed">
  391. <![CDATA[
  392. var notiym=model.getValue("/root/send/searchlist/notiym");
  393. ipt_notiym_i.value=notiym;
  394. ipt_notiym_r.value=notiym;
  395. ]]>
  396. </script>
  397. </input>
  398. <caption id="caption5" class="search_name" style="left:226px; top:19px; width:99px; height:17px; ">기 관 :</caption>
  399. <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" appearance="minimal" style="left:310px; top:20px; width:140px; height:19px; ">
  400. <choices>
  401. <itemset>
  402. <label/>
  403. <value/>
  404. </itemset>
  405. </choices>
  406. </select1>
  407. <switch id="switch1" style="left:0px; top:70px; width:1195px; height:664px; ">
  408. <case id="case1" style="left:0px; top:0px; width:1195px; height:664px; ">
  409. <line id="line17" class="line_2" style="x1:0px; y1:485px; x2:460px; y2:485px; "/>
  410. <line id="line26" class="line_3" style="x1:0px; y1:653px; x2:460px; y2:653px; "/>
  411. <line id="line15" class="line_2" style="x1:0px; y1:557px; x2:460px; y2:557px; "/>
  412. <line id="line14" class="line_2" style="x1:0px; y1:533px; x2:460px; y2:533px; "/>
  413. <line id="line12" class="line_2" style="x1:0px; y1:461px; x2:460px; y2:461px; "/>
  414. <line id="line20" class="line_1" style="x1:0px; y1:410px; x2:460px; y2:410px; "/>
  415. <caption id="caption278" class="tit_2" style="left:5px; top:10px; width:162px; height:13px; ">연금부담금정정내역</caption>
  416. <line id="line207" class="line_1" style="x1:0px; y1:25; x2:1193px; y2:25px; "/>
  417. <datagrid id="grd_penscorrlist" nodeset="/root/main/penscorrlist" caption="고지년월^기관명^주민등록번호^성명^일련번호^직구분^직위^호봉^정근^당월부담금액^사유구분^입대휴직^휴직^동일소급^타소급^군소급^반납금^추가공제금액^납부총액" colsep="^" colwidth="61, 105, 93, 63, 9, 57, 40, 40, 40, 88, 63, 65, 60, 65, 60, 60, 58, 80, 65, 123, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:30px; width:1193px; height:355px; ">
  418. <col ref="notiym" format="yyyy-mm" style="text-align:center; "/>
  419. <col id="instcd" disabled="true" ref="instcd" type="combo">
  420. <choices>
  421. <itemset>
  422. <label/>
  423. <value/>
  424. </itemset>
  425. </choices>
  426. </col>
  427. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  428. <col ref="emplnm" style="text-align:center; "/>
  429. <col ref="seqno" visibility="hidden"/>
  430. <col ref="jobgrad" style="text-align:center; "/>
  431. <col ref="jobpos" style="text-align:center; "/>
  432. <col ref="paycls" style="text-align:center; "/>
  433. <col ref="diligent" style="text-align:center; "/>
  434. <col ref="prestmmbamt" format="(-)#,###" style="text-align:right; "/>
  435. <col ref="resngbnnm" style="text-align:center; "/>
  436. <col ref="enlstmnlayoff" format="(-)#,###" style="text-align:right; "/>
  437. <col ref="layoff" format="(-)#,###" style="text-align:right; "/>
  438. <col ref="sameretc" format="(-)#,###" style="text-align:right; "/>
  439. <col ref="difretc" format="(-)#,###" style="text-align:right; "/>
  440. <col ref="groupretc" format="(-)#,###" style="text-align:right; "/>
  441. <col ref="totamt" format="(-)#,###" style="text-align:right; "/>
  442. <col ref="adddeduamt" format="(-)#,###" style="text-align:right; "/>
  443. <col ref="paytotamt" format="(-)#,###" style="text-align:right; "/>
  444. <col ref="workgbn" visibility="hidden"/>
  445. <col ref="rrgstno1" visibility="hidden" style="text-align:center; "/>
  446. <col ref="rrgstno2" visibility="hidden" style="text-align:center; "/>
  447. <col ref="resngbn" visibility="hidden" style="text-align:center; "/>
  448. <script type="javascript" ev:event="onclick">
  449. <![CDATA[
  450. var cur_row = grd_penscorrlist.row;
  451. if ( cur_row > 0 ) {
  452. fEnableUpdateButton();
  453. model.copyNode("/root/main/disadiffpayitem","/root/main/penscorrlist["+cur_row+"]");
  454. ipt_notiym_i.disabled=true;
  455. ipt_rrgstno1_i.disabled=true;
  456. ipt_rrgstno2_i.disabled=true;
  457. ipt_emplnm_i.disabled=true;
  458. model.refresh();
  459. }
  460. var notiym = model.getValue("/root/main/penscorrlist["+cur_row+"]/notiym");
  461. var instcd = model.getValue("/root/main/penscorrlist["+cur_row+"]/instcd");
  462. var rrgstno = model.getValue("/root/main/penscorrlist["+cur_row+"]/rrgstno");
  463. var seqno = model.getValue("/root/main/penscorrlist["+cur_row+"]/seqno");
  464. var rrgstno1 = rrgstno.substr(0,6);
  465. var rrgstno2 = rrgstno.substr(6,7);
  466. model.setValue("/root/send/disadiffpayitem/notiym",notiym);
  467. model.setValue("/root/send/disadiffpayitem/instcd","");
  468. model.setValue("/root/send/disadiffpayitem/rrgstno1",rrgstno1);
  469. model.setValue("/root/send/disadiffpayitem/rrgstno2",rrgstno2);
  470. model.setValue("/root/send/disadiffpayitem/seqno",seqno);
  471. model.setValue("/root/send/disadiffpayitem/workgbn","3");
  472. submit("TRRPA03202");
  473. ]]>
  474. </script>
  475. </datagrid>
  476. <caption id="caption3" class="tit_2" style="left:5px; top:395px; width:139px; height:13px; ">당월고지금액</caption>
  477. <caption id="caption11" class="cell_1" style="left:0px; top:559px; width:100px; height:23px; vertical-align:middle; ">군소급</caption>
  478. <caption id="cap_resngbn" class="cell_1" style="left:0px; top:535px; width:100px; height:23px; vertical-align:middle; ">정정사유</caption>
  479. <select1 id="cmb_instcd_i" ref="/root/main/disadiffpayitem/instcd" class="combo_search" appearance="minimal" style="left:333px; top:464px; width:127px; height:19px; ">
  480. <choices>
  481. <itemset>
  482. <label/>
  483. <value/>
  484. </itemset>
  485. </choices>
  486. </select1>
  487. <caption id="cap_notiym_i" class="cell_1" style="left:0px; top:415px; width:100px; height:23px; vertical-align:middle; ">작업년월</caption>
  488. <caption id="cap_prestmmbamt" class="cell_1" style="left:231px; top:535px; width:100px; height:23px; vertical-align:middle; ">당월연금</caption>
  489. <caption id="caption24" class="cell_1" style="left:231px; top:415px; width:100px; height:23px; vertical-align:middle; ">순 번</caption>
  490. <caption id="cap_instcd_i" class="cell_1" style="left:231px; top:463px; width:100px; height:23px; vertical-align:middle; ">기 관</caption>
  491. <line id="line25" class="line_1" style="x1:465px; y1:410px; x2:1193px; y2:410px; "/>
  492. <input id="ipt_groupretc" ref="/root/main/disadiffpayitem/groupretc" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:102px; top:561px; width:126px; height:19px; text-align:right; ">
  493. <script type="javascript" ev:event="xforms-value-changed">
  494. <![CDATA[
  495. ftotPenPayAmt();
  496. ]]>
  497. </script>
  498. </input>
  499. <caption id="caption33" class="cell_1" style="left:231px; top:487px; width:100px; height:23px; vertical-align:middle; ">연금직위</caption>
  500. <caption id="cap_emplnm_i" class="cell_1" style="left:0px; top:463px; width:100px; height:23px; vertical-align:middle; ">성 명</caption>
  501. <caption id="caption36" class="cell_1" style="left:231px; top:511px; width:100px; height:23px; vertical-align:middle; ">연금호봉</caption>
  502. <caption id="caption39" class="cell_1" style="left:231px; top:607px; width:100px; height:23px; vertical-align:middle; ">반납금</caption>
  503. <caption id="caption40" class="cell_1" style="left:231px; top:559px; width:100px; height:23px; vertical-align:middle; ">동일소급</caption>
  504. <caption id="caption41" class="cell_1" style="left:0px; top:607px; width:100px; height:23px; vertical-align:middle; ">타소급</caption>
  505. <caption id="caption42" class="cell_1" style="left:0px; top:631px; width:100px; height:23px; vertical-align:middle; ">추가금액</caption>
  506. <input id="ipt_notiym_i" ref="/root/main/disadiffpayitem/notiym" class="input_search" inputtype="date" format="yyyy-mm" style="left:102px; top:417px; width:126px; height:19px; "/>
  507. <input id="ipt_jobgrad" ref="/root/main/disadiffpayitem/jobgrad" class="input_search" maxlength="2" style="left:102px; top:489px; width:126px; height:19px; "/>
  508. <input id="ipt_jobpos" ref="/root/main/disadiffpayitem/jobpos" class="input_search" maxlength="2" style="left:333px; top:489px; width:127px; height:19px; "/>
  509. <input id="ipt_seqno" ref="/root/main/disadiffpayitem/seqno" class="input_search" disabled="true" style="left:333px; top:416px; width:127px; height:19px; "/>
  510. <input id="ipt_paycls" ref="/root/main/disadiffpayitem/paycls" class="input_search" maxlength="2" style="left:333px; top:513px; width:127px; height:19px; "/>
  511. <input id="ipt_sameretc" ref="/root/main/disadiffpayitem/sameretc" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:333px; top:561px; width:127px; height:19px; text-align:right; ">
  512. <script type="javascript" ev:event="xforms-value-changed">
  513. <![CDATA[
  514. ftotPenPayAmt();
  515. ]]>
  516. </script>
  517. </input>
  518. <input id="ipt_totamt" ref="/root/main/disadiffpayitem/totamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:333px; top:609px; width:127px; height:19px; text-align:right; ">
  519. <script type="javascript" ev:event="xforms-value-changed">
  520. <![CDATA[
  521. ftotPenPayAmt();
  522. ]]>
  523. </script>
  524. </input>
  525. <input id="ipt_difretc" ref="/root/main/disadiffpayitem/difretc" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:102px; top:609px; width:126px; height:19px; text-align:right; ">
  526. <script type="javascript" ev:event="xforms-value-changed">
  527. <![CDATA[
  528. ftotPenPayAmt();
  529. ]]>
  530. </script>
  531. </input>
  532. <input id="ipt_adddeduamt" ref="/root/main/disadiffpayitem/adddeduamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:102px; top:633px; width:126px; height:19px; text-align:right; ">
  533. <script type="javascript" ev:event="xforms-value-changed">
  534. <![CDATA[
  535. ftotPenPayAmt();
  536. ]]>
  537. </script>
  538. </input>
  539. <caption id="cap_paytotamt" class="cell_1" style="left:231px; top:631px; width:100px; height:23px; vertical-align:middle; ">납부총액</caption>
  540. <input id="ipt_paytotamt" ref="/root/main/disadiffpayitem/paytotamt" class="input_s_essential" disabled="true" maxlength="9" format="(-)#,###" style="left:333px; top:633px; width:127px; height:19px; text-align:right; "/>
  541. <datagrid id="grd_insurancelist" nodeset="/root/main/disadiffpayform/insurancelist" caption="주민등록번호^성명^순번^당월연금^동일소급^타소급^군소급^반납금^추가금액^납부총액" colsep="^" colwidth="90, 73, 57, 73, 65, 79, 82, 77, 68, 84, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:465px; top:415px; width:728px; height:240px; ">
  542. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  543. <col ref="emplnm" style="text-align:center; "/>
  544. <col ref="seqno" style="text-align:center; "/>
  545. <col ref="prestmmbamt" format="(-)#,###" style="text-align:right; "/>
  546. <col ref="sameretc" format="(-)#,###" style="text-align:right; "/>
  547. <col ref="difretc" format="(-)#,###" style="text-align:right; "/>
  548. <col ref="groupretc" format="(-)#,###" style="text-align:right; "/>
  549. <col ref="totamt" format="(-)#,###" style="text-align:right; "/>
  550. <col ref="adddeduamt" format="(-)#,###" style="text-align:right; "/>
  551. <col ref="paytotamt" format="(-)#,###" style="text-align:right; "/>
  552. <col ref="enlstmnlayoff" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  553. <col ref="layoff" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  554. <col ref="jobgrad" visibility="hidden" style="text-align:center; "/>
  555. <col ref="jobpos" visibility="hidden" style="text-align:center; "/>
  556. <col ref="paycls" visibility="hidden" style="text-align:center; "/>
  557. <col ref="diligent" visibility="hidden" style="text-align:center; "/>
  558. <col ref="rrgstno1" visibility="hidden" style="text-align:center; "/>
  559. <col ref="rrgstno2" visibility="hidden" style="text-align:center; "/>
  560. <col ref="adddeduamt" visibility="hidden" style="text-align:center; "/>
  561. <col ref="resngbn" visibility="hidden" style="text-align:center; "/>
  562. <script type="javascript" ev:event="onrowchanged">
  563. <![CDATA[
  564. btn_insert.disabled= false;
  565. var cur_row = grd_insurancelist.row;
  566. if ( cur_row > 0 ) {
  567. ipt_notiym_i.disabled=true;
  568. ipt_rrgstno1_i.disabled=true;
  569. ipt_rrgstno2_i.disabled=true;
  570. ipt_emplnm_i.disabled=true;
  571. model.copyNode("/root/main/disadiffpayitem","/root/main/disadiffpayform/insurancelist["+cur_row+"]");
  572. model.makeNode("/root/main/disadiffpayitem/workgbn");
  573. model.setValue("/root/main/disadiffpayitem/workgbn","3");
  574. model.refresh();
  575. }
  576. ]]>
  577. </script>
  578. <script type="javascript" ev:event="onaftersort">
  579. <![CDATA[
  580. grd_insurancelist.gridToInstance();
  581. ]]>
  582. </script>
  583. </datagrid>
  584. <caption id="caption4" class="cell_1" style="left:0px; top:511px; width:100px; height:23px; vertical-align:middle; ">정근년수</caption>
  585. <caption id="caption10" class="cell_1" style="left:0px; top:487px; width:100px; height:23px; vertical-align:middle; ">직 구 분</caption>
  586. <line id="line9" class="line_2" style="x1:0px; y1:509px; x2:460px; y2:509px; "/>
  587. <line id="line16" class="line_2" style="x1:0px; y1:605px; x2:460px; y2:605px; "/>
  588. <line id="line18" class="line_2" style="x1:0px; y1:629px; x2:460px; y2:629px; "/>
  589. <line id="line1" class="line_2" style="x1:0px; y1:437px; x2:460px; y2:437px; "/>
  590. <input id="ipt_rrgstno1_i" ref="/root/main/disadiffpayitem/rrgstno1" class="input_search" maxlength="6" style="left:102px; top:441px; width:103px; height:19px; ">
  591. <script type="javascript" ev:event="onkeyup">
  592. <![CDATA[
  593. inputEnterKey("btn_rrgstno", "DOMActivate");
  594. ]]>
  595. </script>
  596. </input>
  597. <input id="ipt_rrgstno2_i" ref="/root/main/disadiffpayitem/rrgstno2" class="input_search" maxlength="7" style="left:231px; top:441px; width:100px; height:19px; ">
  598. <script type="javascript" ev:event="onkeyup">
  599. <![CDATA[
  600. inputEnterKey("btn_rrgstno", "DOMActivate");
  601. ]]>
  602. </script>
  603. </input>
  604. <caption id="cap_rrgstno1_i" class="cell_1" style="left:0px; top:439px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  605. <input id="ipt_emplnm_i" ref="/root/main/disadiffpayitem/emplnm" class="input_search" imemode="hangul" maxlength="30" style="left:102px; top:465px; width:103px; height:19px; ">
  606. <script type="javascript" ev:event="onkeyup">
  607. <![CDATA[
  608. /* Enter Key입력시 이벤트 발생 */
  609. inputEnterKey("btn_emplnm", "DOMActivate");
  610. ]]>
  611. </script>
  612. </input>
  613. <input id="ipt_diligent" ref="/root/main/disadiffpayitem/diligent" class="input_search" maxlength="2" style="left:102px; top:513px; width:126px; height:19px; "/>
  614. <caption id="caption309" style="left:210px; top:442px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  615. <caption id="caption15" class="tit_2" style="left:470px; top:395px; width:211px; height:14px; ">의료원 확정 연금 부담금 리스트</caption>
  616. <select1 id="cmb_resngbn" ref="/root/main/disadiffpayitem/resngbn" class="combo_s_essential" appearance="minimal" style="left:102px; top:537px; width:126px; height:19px; ">
  617. <choices>
  618. <itemset>
  619. <label/>
  620. <value/>
  621. </itemset>
  622. </choices>
  623. </select1>
  624. <input id="ipt_prestmmbamt" ref="/root/main/disadiffpayitem/prestmmbamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:333px; top:537px; width:127px; height:19px; text-align:right; ">
  625. <script type="javascript" ev:event="xforms-value-changed">
  626. <![CDATA[
  627. ftotPenPayAmt();
  628. ]]>
  629. </script>
  630. </input>
  631. <line id="line19" class="line_2" style="x1:0px; y1:581px; x2:460px; y2:581px; "/>
  632. <input id="ipt_enlstmnlayoff" ref="/root/main/disadiffpayitem/enlstmnlayoff" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:102px; top:585px; width:126px; height:19px; text-align:right; ">
  633. <script type="javascript" ev:event="xforms-value-changed">
  634. <![CDATA[
  635. ftotPenPayAmt();
  636. ]]>
  637. </script>
  638. </input>
  639. <caption id="caption38" class="cell_1" style="left:0px; top:583px; width:100px; height:23px; vertical-align:middle; ">입대휴직</caption>
  640. <input id="ipt_layoff" ref="/root/main/disadiffpayitem/layoff" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:333px; top:585px; width:127px; height:19px; text-align:right; ">
  641. <script type="javascript" ev:event="xforms-value-changed">
  642. <![CDATA[
  643. ftotPenPayAmt();
  644. ]]>
  645. </script>
  646. </input>
  647. <caption id="caption45" class="cell_1" style="left:231px; top:583px; width:100px; height:23px; vertical-align:middle; ">휴직</caption>
  648. <button id="btn_update" class="btn2_letter2" navindex="13" style="left:362px; top:389px; width:42px; height:19px; ">
  649. <caption>수정</caption>
  650. <script type="javascript" ev:event="DOMActivate">
  651. <![CDATA[
  652. if(!isRequiredControls("ipt_notiym_i","ipt_emplnm_i","cmb_instcd_i","ipt_rrgstno1_i","ipt_rrgstno2_i","cmb_resngbn","ipt_prestmmbamt","ipt_paytotamt"))return;
  653. var cur_row = grd_penscorrlist.row; // 행 번호 가져오기
  654. if (cur_row > 0) {
  655. // 그리드에 추가
  656. model.copyNode("/root/main/penscorrlist["+cur_row+"]","/root/main/disadiffpayitem");
  657. model.makeValue("/root/main/penscorrlist["+cur_row+"]/resngbnnm",cmb_resngbn.label);
  658. model.makeValue("/root/main/penscorrlist["+cur_row+"]/instnm",cmb_instcd_i.label);
  659. grd_penscorrlist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  660. model.refresh();
  661. }
  662. ]]>
  663. </script>
  664. </button>
  665. <button id="btn_delete" class="btn2_letter3" navindex="14" style="left:407px; top:389px; width:53px; height:19px; ">
  666. <caption>지우기</caption>
  667. <script type="javascript" ev:event="DOMActivate">
  668. <![CDATA[
  669. model.removeNodeset("/root/main/disadiffpayform/insurancelist");
  670. model.resetInstanceNode("/root/main/disadiffpayitem");
  671. model.resetInstanceNode("/root/send/disadiffpayitem");
  672. fEnableInsertButton() ;
  673. model.refresh();
  674. var notiym=model.getValue("/root/send/searchlist/notiym");
  675. ipt_notiym_i.value=notiym;
  676. ]]>
  677. </script>
  678. </button>
  679. <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:317px; top:389px; width:42px; height:19px; ">
  680. <caption>추가</caption>
  681. <script type="javascript" ev:event="DOMActivate">
  682. <![CDATA[
  683. if(!isRequiredControls("ipt_notiym_i","ipt_emplnm_i","cmb_instcd_i","ipt_rrgstno1_i","ipt_rrgstno2_i","cmb_resngbn","ipt_prestmmbamt","ipt_paytotamt"))return;
  684. model.makeValue("/root/main/disadiffpayitem/togglegbn","01");
  685. var nitiym=model.getValue("/root/main/disadiffpayitem/notiym");
  686. var seqno=model.getValue("/root/main/disadiffpayitem/seqno");
  687. var rrgstno=model.getValue("/root/main/disadiffpayitem/rrgstno");
  688. model.setValue("/root/send/doduynlist/rrgstno",rrgstno);
  689. model.setValue("/root/send/doduynlist/notiym",nitiym);
  690. model.setValue("/root/send/doduynlist/seqno",seqno);
  691. model.setValue("/root/send/doduynlist/togglegbn","01");
  692. model.setValue("/root/send/doduynlist/workgbn","3");
  693. submit("TRRPA03401");
  694. var penseqnoyn=model.getValue("/root/temp/penseqnoyn");
  695. var peninstcnfmyn=model.getValue("/root/temp/peninstcnfmyn");
  696. if(peninstcnfmyn =='Y'){
  697. messageBox("기관확정이 완료된 자료는 추가 ","E001");
  698. return;
  699. }
  700. if(penseqnoyn =='Y'){
  701. messageBox("입력한 사원의 자료가 ","E006");
  702. return;
  703. }
  704. grd_penscorrlist.addrow(); // 입력할 행 추가.
  705. var cur_row = grd_penscorrlist.row; // 추가된 행 번호 가져오기
  706. model.setValue("/root/main/disadiffpayitem/rrgstno",rrgstno);
  707. model.setValue("/root/main/disadiffpayitem/workgbn","3");
  708. model.makeNode("/root/main/disadiffpayitem/workgbn");
  709. //alert(model.getValue("/root/main/disadiffpayitem/rrgstno"));
  710. model.copyNode("/root/main/penscorrlist["+cur_row+"]","/root/main/disadiffpayitem");
  711. model.makeValue("/root/main/penscorrlist["+cur_row+"]/resngbnnm",cmb_resngbn.label);
  712. fEnableUpdateButton();
  713. model.refresh();
  714. ]]>
  715. </script>
  716. </button>
  717. <button id="btn_emplnm" class="icon_search" visibility="hidden" style="left:210px; top:467px; width:16px; height:16px; ">
  718. <caption/>
  719. <script type="javascript" ev:event="DOMActivate">
  720. <![CDATA[
  721. if(!isRequiredControls("ipt_emplnm_i","ipt_notiym_i"))return;
  722. model.makeNode("/root/main/disadiffpayitem/workgbn");
  723. model.setValue("/root/main/disadiffpayitem/workgbn","3");
  724. submit("TRRPA03202");
  725. ]]>
  726. </script>
  727. </button>
  728. <button id="btn_rrgstno" class="icon_search" visibility="hidden" style="left:335px; top:442px; width:16px; height:16px; ">
  729. <caption/>
  730. <script type="javascript" ev:event="DOMActivate">
  731. <![CDATA[
  732. if(ipt_rrgstno1_i.value=="" && ipt_rrgstno2_i.value=="" ){
  733. messageBox("주민등록번호는 ","I003");
  734. return;
  735. }
  736. if(!isRequiredControls("ipt_notiym_i"))return;
  737. model.makeNode("/root/main/disadiffpayitem/workgbn");
  738. model.setValue("/root/main/disadiffpayitem/workgbn","3");
  739. submit("TRRPA03202");
  740. ]]>
  741. </script>
  742. </button>
  743. <input id="input2" ref="/root/main/disadiffpayitem/workgbn" class="input_s_essential" disabled="true" visibility="hidden" format="(-)#,###" style="left:610px; top:497px; width:65px; height:19px; text-align:right; "/>
  744. <caption id="cap_rrgstno2_i" class="cell_1" visibility="hidden" style="left:0px; top:439px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  745. <input id="ipt_rrgstno_i" ref="/root/main/disadiffpayitem/rrgstno" class="input_s_essential" disabled="true" visibility="hidden" style="left:690px; top:497px; width:65px; height:19px; text-align:right; "/>
  746. </case>
  747. <case id="case2" selected="true" style="left:0px; top:0px; width:1195px; height:664px; ">
  748. <line id="line28" class="line_3" style="x1:0px; y1:605px; x2:460px; y2:605px; "/>
  749. <line id="line27" class="line_2" style="x1:0px; y1:557px; x2:460px; y2:557px; "/>
  750. <line id="line24" class="line_2" style="x1:0px; y1:533px; x2:460px; y2:533px; "/>
  751. <line id="line23" class="line_2" style="x1:0px; y1:461px; x2:460px; y2:461px; "/>
  752. <line id="line33" class="line_2" style="x1:0px; y1:581px; x2:460px; y2:581px; "/>
  753. <line id="line21" class="line_2" style="x1:0px; y1:509px; x2:460px; y2:509px; "/>
  754. <line id="line31" class="line_2" style="x1:0px; y1:485px; x2:460px; y2:485px; "/>
  755. <line id="line30" class="line_2" style="x1:0px; y1:437px; x2:460px; y2:437px; "/>
  756. <caption id="caption1" class="tit_2" style="left:0px; top:10px; width:162px; height:13px; ">대여금상환추가내역입력</caption>
  757. <line id="line2" class="line_1" style="x1:0px; y1:25; x2:1193px; y2:25px; "/>
  758. <datagrid id="grd_penlentcorrlist" nodeset="/root/main/penlentcorrlist" caption="고지년월^기관명^일련번호^주민등록번호^성명^연금대여번호^불입횟차^분할횟차^사유구분^원금^이자^연체이자^부분상환금^당월납부금액^잔여원금^기관코드" colsep="^" colwidth="68, 128, 11, 109, 68, 81, 62, 63, 63, 90, 80, 80, 90, 90, 90, 103, 123, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:30px; width:1193px; height:355px; ">
  759. <col ref="notiym" format="yyyy-mm" style="text-align:center; "/>
  760. <col ref="instnm" style="text-align:center; "/>
  761. <col ref="seqno" visibility="hidden"/>
  762. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  763. <col ref="emplnm" style="text-align:center; "/>
  764. <col ref="pensloadno" style="text-align:center; "/>
  765. <col ref="paytimes" style="text-align:center; "/>
  766. <col ref="divtimes" style="text-align:center; "/>
  767. <col ref="resngbnnm" style="text-align:center; "/>
  768. <col ref="prinamt" format="(-)#,###" style="text-align:right; "/>
  769. <col ref="restamt" format="(-)#,###" style="text-align:right; "/>
  770. <col ref="delyrest" format="(-)#,###" style="text-align:right; "/>
  771. <col ref="prtrepayamt" format="(-)#,###" style="text-align:right; "/>
  772. <col ref="prestmmpayamt" format="(-)#,###" style="text-align:right; "/>
  773. <col ref="spreprin" format="(-)#,###" style="text-align:right; "/>
  774. <col ref="rrgstno1" visibility="hidden"/>
  775. <col ref="rrgstno2" visibility="hidden"/>
  776. <col ref="workgbn" visibility="hidden"/>
  777. <col ref="instcd" visibility="hidden"/>
  778. <col ref="resngbn" visibility="hidden" style="text-align:center; "/>
  779. <script type="javascript" ev:event="onclick">
  780. <![CDATA[
  781. var cur_row = grd_penlentcorrlist.row;
  782. if ( cur_row > 0 ) {
  783. fEnableUpdateButton_r();
  784. model.copyNode("/root/main/penlentitem","/root/main/penlentcorrlist["+cur_row+"]");
  785. ipt_notiym_r.disabled=true;
  786. ipt_rrgstno1_r.disabled=true;
  787. ipt_rrgstno2_r.disabled=true;
  788. ipt_emplnm_r.disabled=true;
  789. model.refresh();
  790. }
  791. var notiym = model.getValue("/root/main/penlentcorrlist["+cur_row+"]/notiym");
  792. var instcd = model.getValue("/root/main/penlentcorrlist["+cur_row+"]/instcd");
  793. var rrgstno = model.getValue("/root/main/penlentcorrlist["+cur_row+"]/rrgstno");
  794. var seqno = model.getValue("/root/main/penlentcorrlist["+cur_row+"]/seqno");
  795. var rrgstno1 = rrgstno.substr(0,6);
  796. var rrgstno2 = rrgstno.substr(6,7);
  797. model.setValue("/root/send/penlentitem/notiym",notiym);
  798. model.setValue("/root/send/penlentitem/instcd","");
  799. model.setValue("/root/send/penlentitem/rrgstno1",rrgstno1);
  800. model.setValue("/root/send/penlentitem/rrgstno2",rrgstno2);
  801. model.setValue("/root/send/penlentitem/seqno",seqno);
  802. model.setValue("/root/send/penlentitem/workgbn","3");
  803. submit("TRRPA03003");
  804. ]]>
  805. </script>
  806. </datagrid>
  807. <button id="btn_update_r" class="btn2_letter2" navindex="13" style="left:362px; top:389px; width:42px; height:19px; ">
  808. <caption>수정</caption>
  809. <script type="javascript" ev:event="DOMActivate">
  810. <![CDATA[
  811. if(!isRequiredControls("ipt_notiym_r","cmb_resngbn_r"))return;
  812. var cur_row = grd_penlentcorrlist.row; // 행 번호 가져오기
  813. if (cur_row > 0) {
  814. // 그리드에 추가
  815. model.copyNode("/root/main/penlentcorrlist["+cur_row+"]","/root/main/penlentitem");
  816. model.makeValue("/root/main/penlentcorrlist[" + cur_row + "]/instnm",cmb_instcd_r.label); //기관명
  817. model.makeValue("/root/main/penlentcorrlist["+cur_row+"]/resngbnnm",cmb_resngbn_r.label);
  818. grd_penlentcorrlist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  819. model.refresh();
  820. }
  821. ]]>
  822. </script>
  823. </button>
  824. <button id="btn_delete_r" class="btn2_letter3" navindex="14" style="left:407px; top:389px; width:53px; height:19px; ">
  825. <caption>지우기</caption>
  826. <script type="javascript" ev:event="DOMActivate">
  827. <![CDATA[
  828. fEnableInsertButton_r() ;
  829. model.resetInstanceNode("/root/main/penlentitem");
  830. model.removeNodeset("/root/main/disadiffpayform/penlentlist");
  831. model.resetInstanceNode("/root/send/penlentitem");
  832. model.refresh();
  833. var notiym=model.getValue("/root/send/searchlist/notiym");
  834. ipt_notiym_r.value=notiym;
  835. ]]>
  836. </script>
  837. </button>
  838. <input id="ipt_divtimes" ref="/root/main/penlentitem/divtimes" class="input_search" maxlength="3" style="left:102px; top:513px; width:126px; height:19px; "/>
  839. <input id="ipt_prinamt" ref="/root/main/penlentitem/prinamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:102px; top:536px; width:126px; height:19px; text-align:right; "/>
  840. <input id="ipt_restamt" ref="/root/main/penlentitem/restamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:332px; top:537px; width:127px; height:19px; text-align:right; "/>
  841. <input id="ipt_notiym_r" ref="/root/main/penlentitem/notiym" class="input_search" inputtype="date" format="yyyy-mm" style="left:102px; top:417px; width:126px; height:19px; "/>
  842. <caption id="cap_notiym_r" class="cell_1" style="left:0px; top:415px; width:100px; height:23px; vertical-align:middle; ">작업년월</caption>
  843. <line id="line22" class="line_1" style="x1:0px; y1:410px; x2:460px; y2:410px; "/>
  844. <caption id="cap_rrgstno1_r" class="cell_1" style="left:0px; top:439px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  845. <caption id="caption21" class="cell_1" style="left:230px; top:559px; width:100px; height:23px; vertical-align:middle; ">부분상환금</caption>
  846. <caption id="cap_instcd_r" class="cell_1" style="left:230px; top:463px; width:100px; height:23px; vertical-align:middle; ">기 관</caption>
  847. <input id="ipt_delyrest" ref="/root/main/penlentitem/delyrest" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:102px; top:561px; width:126px; height:19px; text-align:right; "/>
  848. <caption id="cap_prinamt" class="cell_1" style="left:0px; top:535px; width:100px; height:23px; vertical-align:middle; ">원금</caption>
  849. <caption id="cap_pensloadno" class="cell_1" style="left:0px; top:487px; width:100px; height:23px; vertical-align:middle; ">연금대여번호</caption>
  850. <input id="ipt_seqno_r" ref="/root/main/penlentitem/seqno" class="input_search" disabled="true" style="left:332px; top:416px; width:127px; height:19px; "/>
  851. <caption id="cap_emplnm_r" class="cell_1" style="left:0px; top:463px; width:100px; height:23px; vertical-align:middle; ">성 명</caption>
  852. <caption id="caption54" class="cell_1" style="left:230px; top:487px; width:100px; height:23px; vertical-align:middle; ">고지횟수</caption>
  853. <caption id="caption55" class="cell_1" style="left:0px; top:559px; width:100px; height:23px; vertical-align:middle; ">연체이자</caption>
  854. <caption id="cap_spreprin" class="cell_1" style="left:230px; top:583px; width:100px; height:23px; vertical-align:middle; ">상환후원금잔액</caption>
  855. <caption id="caption57" class="cell_1" style="left:230px; top:535px; width:100px; height:23px; vertical-align:middle; ">이자</caption>
  856. <caption id="caption58" class="tit_2" style="left:5px; top:395px; width:139px; height:13px; ">당월고지금액</caption>
  857. <button id="btn_emplnm_r" class="icon_search" visibility="hidden" style="left:209px; top:467px; width:16px; height:16px; ">
  858. <caption/>
  859. <script type="javascript" ev:event="DOMActivate">
  860. <![CDATA[
  861. if(!isRequiredControls("ipt_emplnm_r","ipt_notiym_r"))return;
  862. model.makeNode("/root/main/penlentitem/workgbn");
  863. model.setValue("/root/main/penlentitem/workgbn","3");
  864. submit("TRRPA03003");
  865. ]]>
  866. </script>
  867. </button>
  868. <caption id="caption59" style="left:209px; top:442px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  869. <input id="ipt_rrgstno1_r" ref="/root/main/penlentitem/rrgstno1" class="input_search" maxlength="6" style="left:102px; top:441px; width:103px; height:19px; ">
  870. <script type="javascript" ev:event="onkeyup">
  871. <![CDATA[
  872. //inputEnterKey("btn_rrgstno_r", "DOMActivate");
  873. ]]>
  874. </script>
  875. </input>
  876. <input id="ipt_rrgstno2_r" ref="/root/main/penlentitem/rrgstno2" class="input_search" maxlength="7" style="left:230px; top:441px; width:100px; height:19px; ">
  877. <script type="javascript" ev:event="onkeyup">
  878. <![CDATA[
  879. //inputEnterKey("btn_rrgstno_r", "DOMActivate");
  880. ]]>
  881. </script>
  882. </input>
  883. <input id="ipt_emplnm_r" ref="/root/main/penlentitem/emplnm" class="input_search" imemode="hangul" maxlength="30" style="left:102px; top:464px; width:103px; height:19px; ">
  884. <script type="javascript" ev:event="onkeyup">
  885. <![CDATA[
  886. /* Enter Key입력시 이벤트 발생 */
  887. //inputEnterKey("btn_emplnm_r", "DOMActivate");
  888. ]]>
  889. </script>
  890. </input>
  891. <caption id="caption60" class="cell_1" style="left:0px; top:511px; width:100px; height:23px; vertical-align:middle; ">분할횟수</caption>
  892. <input id="ipt_pensloadno" ref="/root/main/penlentitem/pensloadno" class="input_search" maxlength="9" style="left:102px; top:488px; width:126px; height:19px; "/>
  893. <caption id="caption61" class="cell_1" style="left:230px; top:415px; width:100px; height:23px; vertical-align:middle; ">순 번</caption>
  894. <input id="ipt_paytimes" ref="/root/main/penlentitem/paytimes" class="input_search" maxlength="3" style="left:332px; top:489px; width:127px; height:19px; "/>
  895. <caption id="cap_resngbn_r" class="cell_1" style="left:230px; top:511px; width:100px; height:23px; vertical-align:middle; ">정정사유</caption>
  896. <select1 id="cmb_resngbn_r" ref="/root/main/penlentitem/resngbn" class="combo_s_essential" appearance="minimal" style="left:332px; top:513px; width:127px; height:19px; ">
  897. <choices>
  898. <itemset>
  899. <label/>
  900. <value/>
  901. </itemset>
  902. </choices>
  903. </select1>
  904. <caption id="cap_prestmmpayamt" class="cell_1" style="left:0px; top:583px; width:100px; height:23px; vertical-align:middle; ">당월납부금액</caption>
  905. <select1 id="cmb_instcd_r" ref="/root/main/penlentitem/instcd" class="combo_search" appearance="minimal" style="left:332px; top:464px; width:127px; height:19px; ">
  906. <choices>
  907. <itemset>
  908. <label/>
  909. <value/>
  910. </itemset>
  911. </choices>
  912. </select1>
  913. <input id="ipt_prtrepayamt" ref="/root/main/penlentitem/prtrepayamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:332px; top:561px; width:127px; height:19px; text-align:right; "/>
  914. <input id="ipt_prestmmpayamt" ref="/root/main/penlentitem/prestmmpayamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:102px; top:585px; width:126px; height:19px; text-align:right; "/>
  915. <input id="ipt_spreprin" ref="/root/main/penlentitem/spreprin" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:332px; top:585px; width:127px; height:19px; text-align:right; "/>
  916. <button id="btn_rrgstno_r" class="icon_search" visibility="hidden" style="left:333px; top:442px; width:16px; height:16px; ">
  917. <caption/>
  918. <script type="javascript" ev:event="DOMActivate">
  919. <![CDATA[
  920. if(ipt_rrgstno1_r.value=="" && ipt_rrgstno2_r.value=="" ){
  921. messageBox("주민등록번호는 ","I003");
  922. return;
  923. }
  924. if(!isRequiredControls("ipt_notiym_r"))return;
  925. model.makeNode("/root/main/penlentitem/workgbn");
  926. model.setValue("/root/main/penlentitem/workgbn","3");
  927. submit("TRRPA03003");
  928. ]]>
  929. </script>
  930. </button>
  931. <button id="btn_insert_r" class="btn2_letter2" navindex="12" style="left:317px; top:389px; width:42px; height:19px; ">
  932. <caption>추가</caption>
  933. <script type="javascript" ev:event="DOMActivate">
  934. <![CDATA[
  935. if(!isRequiredControls("ipt_notiym_r","ipt_rrgstno1_r","ipt_rrgstno2_r","ipt_emplnm_r","cmb_instcd_r","ipt_pensloadno","ipt_prinamt","cmb_resngbn_r","ipt_prestmmpayamt","ipt_spreprin"))return;
  936. model.makeValue("/root/main/penlentitem/togglegbn","02");
  937. var nitiym=model.getValue("/root/main/penlentitem/notiym");
  938. var seqno=model.getValue("/root/main/penlentitem/seqno");
  939. var rrgstno=model.getValue("/root/main/penlentitem/rrgstno");
  940. model.setValue("/root/send/doduynlist/rrgstno",rrgstno);
  941. model.setValue("/root/send/doduynlist/notiym",nitiym);
  942. model.setValue("/root/send/doduynlist/seqno",seqno);
  943. model.setValue("/root/send/doduynlist/togglegbn","02");
  944. model.setValue("/root/send/doduynlist/workgbn","3");
  945. submit("TRRPA03401");
  946. var lenseqnoyn=model.getValue("/root/temp/lenseqnoyn");
  947. var leninstcnfmyn=model.getValue("/root/temp/leninstcnfmyn");
  948. if(leninstcnfmyn =='Y'){
  949. messageBox("기관확정이 완료된 자료는 추가 ","E001");
  950. return;
  951. }
  952. if(lenseqnoyn =='Y'){
  953. messageBox("입력한 사원의 자료가 ","E006");
  954. return;
  955. }
  956. grd_penlentcorrlist.addrow(); // 입력할 행 추가.
  957. var cur_row = grd_penlentcorrlist.row; // 추가된 행 번호 가져오기
  958. model.setValue("/root/main/penlentitem/rrgstno",rrgstno);
  959. model.setValue("/root/main/penlentitem/workgbn","3");
  960. model.makeNode("/root/main/penlentitem/workgbn");
  961. //alert(model.getValue("/root/main/disadiffpayitem/rrgstno"));
  962. model.copyNode("/root/main/penlentcorrlist["+cur_row+"]","/root/main/penlentitem");
  963. model.makeValue("/root/main/penlentcorrlist["+cur_row+"]/resngbnnm",cmb_resngbn_r.label);
  964. model.makeValue("/root/main/penlentcorrlist["+cur_row+"]/instnm",cmb_instcd_r.label);
  965. fEnableUpdateButton_r();
  966. model.refresh();
  967. ]]>
  968. </script>
  969. </button>
  970. <datagrid id="grd_penlentlist" nodeset="/root/main/disadiffpayform/penlentlist" caption="주민등록번호^성명^연금대여번호^불입횟차^분할횟차^원금^이자^연체이자^잔여원금" colsep="^" colwidth="99, 73, 86, 68, 63, 74, 58, 72, 78, 90, 90, 80, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:465px; top:415px; width:728px; height:240px; ">
  971. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  972. <col ref="emplnm" style="text-align:center; "/>
  973. <col ref="pensloadno" style="text-align:center; "/>
  974. <col ref="paytimes" style="text-align:center; "/>
  975. <col ref="divtimes" style="text-align:center; "/>
  976. <col ref="prinamt" format="(-)#,###" style="text-align:right; "/>
  977. <col ref="restamt" format="(-)#,###" style="text-align:right; "/>
  978. <col ref="delyrest" format="(-)#,###" style="text-align:right; "/>
  979. <col ref="spreprin" format="(-)#,###" style="text-align:right; "/>
  980. <col ref="instcd" visibility="hidden"/>
  981. <col ref="notiym" visibility="hidden"/>
  982. <col ref="seqno" visibility="hidden"/>
  983. <col ref="rrgstno1" visibility="hidden"/>
  984. <col ref="rrgstno2" visibility="hidden"/>
  985. <col ref="preatmmpayamt" visibility="hidden"/>
  986. <col ref="prtrepayamt" visibility="hidden"/>
  987. <col ref="resngbn" visibility="hidden"/>
  988. <script type="javascript" ev:event="onrowchanged">
  989. <![CDATA[
  990. btn_insert_r.disabled= false;
  991. var cur_row = grd_penlentlist.row;
  992. if ( cur_row > 0 ) {
  993. ipt_notiym_r.disabled=true;
  994. ipt_rrgstno1_r.disabled=true;
  995. ipt_rrgstno2_r.disabled=true;
  996. ipt_emplnm_r.disabled=true;
  997. model.copyNode("/root/main/penlentitem","/root/main/disadiffpayform/penlentlist["+cur_row+"]");
  998. model.makeNode("/root/main/penlentitem/workgbn");
  999. model.makeNode("/root/main/penlentitem/resngbn");
  1000. model.makeNode("/root/main/penlentitem/prestmmpayamt");
  1001. model.makeNode("/root/main/penlentitem/prtrepayamt");
  1002. model.setValue("/root/main/penlentitem/resngbn","");
  1003. model.setValue("/root/main/penlentitem/prestmmpayamt","0");
  1004. model.setValue("/root/main/penlentitem/prtrepayamt","0");
  1005. model.setValue("/root/main/penlentitem/workgbn","3");
  1006. model.refresh();
  1007. }
  1008. ]]>
  1009. </script>
  1010. <script type="javascript" ev:event="onaftersort">
  1011. <![CDATA[
  1012. grd_penlentlist.gridToInstance();
  1013. ]]>
  1014. </script>
  1015. </datagrid>
  1016. <line id="line3" class="line_1" style="x1:465px; y1:410px; x2:1193px; y2:410px; "/>
  1017. <caption id="caption7" class="tit_2" style="left:470px; top:395px; width:206px; height:13px; ">의료원 확정 대여금 리스트</caption>
  1018. <input id="ipt_workgbn_r" ref="/root/main/penlentitem/workgbn" class="input_s_essential" disabled="true" visibility="hidden" style="left:640px; top:525px; width:65px; height:19px; text-align:right; "/>
  1019. <caption id="cap_rrgstno2_r" class="cell_1" style="left:0px; top:439px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  1020. <input id="ipt_rrgstno_r" ref="/root/main/penlentitem/rrgstno" class="input_s_essential" disabled="true" visibility="hidden" style="left:720px; top:525px; width:65px; height:19px; text-align:right; "/>
  1021. </case>
  1022. </switch>
  1023. <button id="btn_corr" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:140px; height:22px; ">
  1024. <caption>연금부담금추가내역입력</caption>
  1025. <script type="javascript" ev:event="onclick">
  1026. <![CDATA[
  1027. model.toggle("case1");
  1028. model.makeValue("/root/init/toggleent","01");
  1029. fInitializetogle();
  1030. btn_search.dispatch("DOMActivate");
  1031. btn_insert.disabled= true;
  1032. ]]>
  1033. </script>
  1034. </button>
  1035. <button id="button2" class="btn_sw" group="tab" style="left:139px; top:49px; width:140px; height:22px; ">
  1036. <caption>대여금상환추가내역입력</caption>
  1037. <script type="javascript" ev:event="onclick">
  1038. <![CDATA[
  1039. model.toggle("case2");
  1040. model.makeValue("/root/init/toggleent","02");
  1041. fInitializetogle();
  1042. misfGridInit(grd_penlentcorrlist);
  1043. misfGridInit(grd_penlentlist);
  1044. btn_search.dispatch("DOMActivate");
  1045. ]]>
  1046. </script>
  1047. </button>
  1048. <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" class="input_search" imemode="hangul" style="left:894px; top:18px; width:100px; height:19px; ">
  1049. <script type="javascript" ev:event="onkeyup">
  1050. <![CDATA[
  1051. inputEnterKey("btn_search", "DOMActivate");
  1052. ]]>
  1053. </script>
  1054. </input>
  1055. <caption id="caption32" style="left:665px; top:20px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  1056. <caption id="caption34" class="search_name" style="left:475px; top:19px; width:99px; height:17px; ">주민번호 :</caption>
  1057. <caption id="caption37" class="search_name" style="left:809px; top:19px; width:85px; height:17px; ">성 명 :</caption>
  1058. <input id="ipt_chldrnresdnrgst1" ref="/root/send/searchlist/rrgstno1" class="input_search" maxlength="6" style="left:561px; top:18px; width:100px; height:19px; ">
  1059. <script type="javascript" ev:event="onkeypress">
  1060. <![CDATA[
  1061. inputEnterKey("btn_search", "DOMActivate");
  1062. ]]>
  1063. </script>
  1064. <script type="javascript" ev:event="onkeyup">
  1065. <![CDATA[
  1066. inputEnterKey("btn_search", "DOMActivate");
  1067. ]]>
  1068. </script>
  1069. </input>
  1070. <input id="ipt_chldrnresdnrgst2" ref="/root/send/searchlist/rrgstno2" class="input_search" maxlength="8" style="left:683px; top:18px; width:100px; height:19px; ">
  1071. <script type="javascript" ev:event="onkeypress">
  1072. <![CDATA[
  1073. inputEnterKey("btn_search", "DOMActivate");
  1074. ]]>
  1075. </script>
  1076. <script type="javascript" ev:event="onkeyup">
  1077. <![CDATA[
  1078. inputEnterKey("btn_search", "DOMActivate");
  1079. ]]>
  1080. </script>
  1081. </input>
  1082. <input id="ipt_toggleent" ref="/root/init/toggleent" class="input_search" visibility="hidden" maxlength="7" style="left:368px; top:50px; width:80px; height:19px; ">
  1083. <script type="javascript" ev:event="onkeypress">
  1084. <![CDATA[
  1085. inputEnterKey("btn_search", "DOMActivate");
  1086. ]]>
  1087. </script>
  1088. <script type="javascript" ev:event="onkeyup">
  1089. <![CDATA[
  1090. inputEnterKey("btn_search", "DOMActivate");
  1091. ]]>
  1092. </script>
  1093. </input>
  1094. </group>
  1095. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  1096. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  1097. <button id="button5" class="btn4_letter2" style="left:1081px; top:3px; width:56px; height:22px; ">
  1098. <caption>삭제</caption>
  1099. <script type="javascript" ev:event="DOMActivate">
  1100. <![CDATA[
  1101. var retMes = messageBox("자료를 삭제 하시겠습니까?", "Q999");
  1102. if ( retMes != 6) {
  1103. return;
  1104. }
  1105. var toggleent=model.getValue("/root/init/toggleent");
  1106. var cur_row=grd_penscorrlist.row;
  1107. if(toggleent == "01"){
  1108. model.makeValue("/root/main/disadiffpayitem/togglegbn","01");
  1109. var nitiym=model.getValue("/root/main/disadiffpayitem/notiym");
  1110. var seqno=model.getValue("/root/main/disadiffpayitem/seqno");
  1111. var rrgstno=model.getValue("/root/main/disadiffpayitem/rrgstno");
  1112. model.setValue("/root/send/doduynlist/rrgstno",rrgstno);
  1113. model.setValue("/root/send/doduynlist/notiym",nitiym);
  1114. model.setValue("/root/send/doduynlist/seqno",seqno);
  1115. model.setValue("/root/send/doduynlist/togglegbn","01");
  1116. model.setValue("/root/send/doduynlist/workgbn","3");
  1117. submit("TRRPA03401");
  1118. var peninstcnfmyn=model.getValue("/root/temp/peninstcnfmyn");
  1119. if(peninstcnfmyn =='Y'){
  1120. messageBox("기관확정이 완료된 자료는 삭제 ","E001");
  1121. return;
  1122. }
  1123. misfGridIUD(grd_penscorrlist,"D");
  1124. }
  1125. if(toggleent == "02"){
  1126. var nitiym=model.getValue("/root/main/penlentitem/notiym");
  1127. var seqno=model.getValue("/root/main/penlentitem/seqno");
  1128. var rrgstno=model.getValue("/root/main/penlentitem/rrgstno");
  1129. model.setValue("/root/send/doduynlist/rrgstno",rrgstno);
  1130. model.setValue("/root/send/doduynlist/notiym",nitiym);
  1131. model.setValue("/root/send/doduynlist/seqno",seqno);
  1132. model.setValue("/root/send/doduynlist/togglegbn","02");
  1133. model.setValue("/root/send/doduynlist/workgbn","3");
  1134. submit("TRRPA03401");
  1135. var leninstcnfmyn=model.getValue("/root/temp/leninstcnfmyn");
  1136. if(leninstcnfmyn =='Y'){
  1137. messageBox("기관확정이 완료된 자료는 삭제 ","E001");
  1138. return;
  1139. }
  1140. misfGridIUD(grd_penlentcorrlist,"D");
  1141. }
  1142. model.refresh();
  1143. ]]>
  1144. </script>
  1145. </button>
  1146. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  1147. <caption>저장</caption>
  1148. <script type="javascript" ev:event="DOMActivate">
  1149. <![CDATA[
  1150. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  1151. if ( retMes != 6) {
  1152. return;
  1153. }
  1154. var updtdata = getGridUpdateData(grd_penscorrlist);
  1155. var updtdata2 = getGridUpdateData(grd_penlentcorrlist);
  1156. if (updtdata == "" && updtdata2 == "") {
  1157. messageBox("변경된 데이터가","I004");
  1158. return;
  1159. }
  1160. var toggleent=model.getValue("/root/init/toggleent");
  1161. if(toggleent == "01"){
  1162. model.resetInstanceNode("/root/main/disadiffpayitem");
  1163. for(i=1 ; i< grd_penscorrlist.rows;i++){
  1164. var status=grd_penscorrlist.rowStatus(i);
  1165. var workgbn=model.getValue("/root/main/penscorrlist["+i+"]/workgbn");
  1166. if(workgbn =="1" || workgbn =="2"){
  1167. model.setValue("root/main/penscorrlist["+i+"]/workgbn","3");
  1168. if(status=="2"){
  1169. grd_penscorrlist.addStatus(i,"insert");
  1170. }
  1171. }
  1172. }
  1173. misfSave("TXRPA03201");
  1174. fEnableInsertButton();
  1175. var notiym=model.getValue("/root/send/searchlist/notiym");
  1176. ipt_notiym_i.value= notiym;
  1177. }else{
  1178. misfSave("TXRPA03202");
  1179. model.resetInstanceNode("/root/main/penlentitem");
  1180. fEnableInsertButton_r();
  1181. var notiym=model.getValue("/root/send/searchlist/notiym");
  1182. ipt_notiym_r.value= notiym;
  1183. }
  1184. ]]>
  1185. </script>
  1186. </button>
  1187. <button id="btn_clear" class="btn4_letter3" style="left:1011px; top:3px; width:68px; height:22px; ">
  1188. <caption>초기화</caption>
  1189. <script type="javascript" ev:event="DOMActivate">
  1190. <![CDATA[
  1191. var updtdata = getGridUpdateData(grd_penscorrlist);
  1192. var updtdata2 = getGridUpdateData(grd_penlentcorrlist);
  1193. if (updtdata != "" || updtdata2 != "") {
  1194. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  1195. if (ret != 6) { // not OK
  1196. return;
  1197. }
  1198. }
  1199. fInitialize();
  1200. fInitializetogle();
  1201. ]]>
  1202. </script>
  1203. </button>
  1204. </group>
  1205. </xhtml:body>
  1206. </xhtml:html>