SMRPA03200_연금정정내역관리.xrw 60 KB

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