SMRPA03400_연금추가공제내역등록.xrw 57 KB

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