SMRPA03700_국민연금정정내역관리.xrw 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>국민연금정정내역관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <disadiffpayform>
  11. <insurancensticorr>
  12. <notigbnnm/>
  13. <notiym/>
  14. <seqno/>
  15. <instcd/>
  16. <instnm/>
  17. <emplnm/>
  18. <rrgstno/>
  19. <grde/>
  20. <pensinsuamt/>
  21. <updtresn/>
  22. <updtdd/>
  23. <monthno/>
  24. <notigbn/>
  25. <rrgstno1/>
  26. <rrgstno2/>
  27. <workgbn/>
  28. <resngbn/>
  29. </insurancensticorr>
  30. <insurancenstilist>
  31. <notigbnnm/>
  32. <notiym/>
  33. <seqno/>
  34. <instcd/>
  35. <emplnm/>
  36. <rrgstno/>
  37. <grde/>
  38. <pensinsuamt/>
  39. <updtresn/>
  40. <updtdd/>
  41. <monthno/>
  42. <notigbn/>
  43. <rrgstno1/>
  44. <rrgstno2/>
  45. </insurancenstilist>
  46. </disadiffpayform>
  47. <disadiffpayitem>
  48. <notigbnnm/>
  49. <notiym/>
  50. <seqno/>
  51. <instcd/>
  52. <emplnm/>
  53. <rrgstno/>
  54. <grde/>
  55. <pensinsuamt/>
  56. <updtresn/>
  57. <updtdd/>
  58. <monthno/>
  59. <notigbn/>
  60. <rrgstno1/>
  61. <rrgstno2/>
  62. <workgbn/>
  63. <resngbn/>
  64. <adjtamt/>
  65. <cmt/>
  66. <notipensinsuamt/>
  67. </disadiffpayitem>
  68. </main>
  69. <send>
  70. <searchlist>
  71. <notiym/>
  72. <instcd/>
  73. <rrgstno1/>
  74. <rrgstno2/>
  75. <emplnm/>
  76. <workgbn/>
  77. <preststatcd/>
  78. <deduexptyn/>
  79. </searchlist>
  80. <disadiffpayitem>
  81. <rrgstno1/>
  82. <rrgstno2/>
  83. <emplnm/>
  84. <notiym/>
  85. <instcd/>
  86. <deduexptyn/>
  87. </disadiffpayitem>
  88. <savelist>
  89. <insurancensticorr/>
  90. </savelist>
  91. <doduynlist>
  92. <notiym/>
  93. <seqno/>
  94. <workgbn/>
  95. <notigbn/>
  96. <instcd/>
  97. </doduynlist>
  98. </send>
  99. <temp>
  100. <medimodiseqnoyn/>
  101. <medicnfmyn/>
  102. <instcnfmyn/>
  103. <doduyn/>
  104. </temp>
  105. <init>
  106. <deduexptynlist>
  107. <label>공제제외여부</label>
  108. <value>N</value>
  109. </deduexptynlist>
  110. </init>
  111. </root>
  112. </instance>
  113. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  114. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  115. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  116. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  117. <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
  118. <script type="javascript" ev:event="xforms-ready">
  119. <![CDATA[
  120. fInitialize();
  121. misfGridInit(grd_insurancensticorr);
  122. misfGridInit(grd_insurancenstilist);
  123. misfMsterDetailSet(grd_insurancensticorr, null, "TRRPA03701" ,"Y");
  124. if (getUserInfo("dutplceinstcd") == "017" ) {
  125. btn_cnfm.visible = true;
  126. btn_cancnfm.visible = true;
  127. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  128. cmb_instcd.value = getUserInfo("dutplceinstcd");
  129. }
  130. else {
  131. button3.visible = true;
  132. button4.visible = true;
  133. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
  134. }
  135. misfComboComCdList('R0178', cmb_resngbn);
  136. misfComboComCdList('R0146', cmb_preststatcd,'Y');
  137. misfComboCopyItemSet(cmb_resngbn, "", grd_insurancensticorr, "resngbn");
  138. misfComboCopyItemSet(cmb_preststatcd, "", grd_insurancensticorr, "preststatcd");
  139. misfComboCopyItemSet(cmb_instcd, "", cmb_instcd_i, "");
  140. //화면 권한 설정
  141. btn_save.disabled = !(checkAuth("X"));
  142. btn_insert.disabled= true;
  143. ]]>
  144. </script>
  145. <submission id="TRRPA03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/disadiffpayform"/>
  146. <submission id="TXRPA03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
  147. <submission id="TRRPA03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doduynlist" resultref="/root/temp"/>
  148. <submission id="TXRPA03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doduynlist" resultref="/root/temp"/>
  149. <submission id="TRRPA01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/disadiffpayitem" resultref="/root/main/disadiffpayform/insurancenstilist"/>
  150. <submission id="TXRPA03704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doduynlist" resultref="/root/temp"/>
  151. </model>
  152. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  153. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  154. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  155. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  156. <script type="javascript">
  157. <![CDATA[
  158. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  159. function fInitialize() {
  160. model.removeNodeset("/root/main/disadiffpayform/insurancensticorr");
  161. model.removeNodeset("/root/main/disadiffpayform/insurancenstilist");
  162. model.resetInstanceNode("/root/main/disadiffpayitem");
  163. model.resetInstanceNode("/root/send");
  164. model.refresh();
  165. ckb_deduexptyn.value='N';
  166. var curDate = getCurrentDate().toDate();
  167. model.setValue("/root/send/searchlist/notiym", curDate.getDateFormat('YYYYMM'));
  168. //model.setValue("/root/main/disadiffpayitem/notiym", curDate.getDateFormat('YYYYMM'));
  169. }
  170. function fEnableInsertButton() {
  171. btn_insert.disabled = true;
  172. btn_update.disabled = true;
  173. }
  174. function fEnableUpdateButton() {
  175. btn_insert.disabled = true;
  176. btn_update.disabled = false;
  177. }
  178. function ftotPenPayAmt(){
  179. var pensinsuamt = 0;
  180. var adjtamt = 0;
  181. if(ipt_pensinsuamt.value!=""){
  182. pensinsuamt=parseInt(ipt_pensinsuamt.value);
  183. }
  184. if(ipt_adjtamt.value!=""){
  185. adjtamt=parseInt(ipt_adjtamt.value);
  186. }
  187. //scholexppayamt=parseInt(scho)+parseInt(admischoolamt)+parseInt(asctfeereliztpln)+parseInt(stdasctfee);
  188. notipensinsuamt=pensinsuamt+adjtamt;
  189. ipt_notipensinsuamt.value=notipensinsuamt;
  190. }
  191. ]]>
  192. </script>
  193. </xhtml:head>
  194. <xhtml:body style="margin-left:8; margin-right:8; ">
  195. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  196. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">국민연금정정내역관리</caption>
  197. </group>
  198. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:740px; ">
  199. <line id="line2" class="line_2" style="x1:0px; y1:509px; x2:460px; y2:509px; "/>
  200. <line id="line17" class="line_2" style="x1:0px; y1:581px; x2:460px; y2:581px; "/>
  201. <line id="line1" class="line_2" style="x1:0px; y1:533px; x2:460px; y2:533px; "/>
  202. <line id="line26" class="line_3" style="x1:0px; y1:678px; x2:460px; y2:678px; "/>
  203. <line id="line14" class="line_2" style="x1:0px; y1:629px; x2:460px; y2:629px; "/>
  204. <line id="line12" class="line_2" style="x1:0px; y1:557px; x2:460px; y2:557px; "/>
  205. <line id="line9" class="line_2" style="x1:0px; y1:605px; x2:460px; y2:605px; "/>
  206. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  207. <caption id="caption2" class="search_name" style="left:15px; top:19px; width:105px; height:17px; ">작업년월 :</caption>
  208. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  209. <caption>조회</caption>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. if(!isRequiredControls("ipt_notiym"))return;
  213. model.setValue("/root/send/searchlist/workgbn","1");
  214. model.setValue("/root/send/searchlist/deduexptyn","N");
  215. submit("TRRPA03701");
  216. ]]>
  217. </script>
  218. </button>
  219. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  220. <input id="ipt_notiym" ref="/root/send/searchlist/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:18px; width:85px; height:19px; ">
  221. <script type="javascript" ev:event="xforms-value-changed">
  222. <![CDATA[
  223. // ipt_notiym_i.value=ipt_notiym.value;
  224. ]]>
  225. </script>
  226. </input>
  227. <caption id="caption5" class="search_name" style="left:203px; top:19px; width:99px; height:17px; ">기 관 :</caption>
  228. <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" appearance="minimal" style="left:277px; top:20px; width:133px; height:19px; ">
  229. <choices>
  230. <itemset>
  231. <label/>
  232. <value/>
  233. </itemset>
  234. </choices>
  235. </select1>
  236. <line id="line20" class="line_1" style="x1:0px; y1:482px; x2:460px; y2:482px; "/>
  237. <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:162px; height:13px; ">국민연금정정내역</caption>
  238. <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
  239. <caption id="caption3" class="tit_2" style="left:5px; top:467px; width:139px; height:13px; ">당월고지금액</caption>
  240. <caption id="caption11" class="cell_1" style="left:0px; top:631px; width:100px; height:23px; vertical-align:middle; ">조정금액</caption>
  241. <caption id="cap_updtresn" class="cell_1" style="left:0px; top:607px; width:100px; height:23px; vertical-align:middle; ">변동사유</caption>
  242. <select1 id="cmb_instcd_i" ref="/root/main/disadiffpayitem/instcd" class="combo_s_essential" appearance="minimal" style="left:103px; top:513px; width:215px; height:19px; ">
  243. <choices>
  244. <itemset>
  245. <label/>
  246. <value/>
  247. </itemset>
  248. </choices>
  249. </select1>
  250. <caption id="cap_notiym_i" class="cell_1" style="left:0px; top:487px; width:100px; height:23px; vertical-align:middle; ">고지년월</caption>
  251. <caption id="caption23" class="cell_1" style="left:230px; top:607px; width:100px; height:23px; vertical-align:middle; ">연금보험료</caption>
  252. <caption id="cap_seqno" class="cell_1" style="left:230px; top:487px; width:100px; height:23px; vertical-align:middle; ">성 명</caption>
  253. <caption id="caption30" class="cell_1" style="left:0px; top:511px; width:100px; height:23px; vertical-align:middle; ">기 관</caption>
  254. <line id="line25" class="line_1" style="x1:465px; y1:482px; x2:1195px; y2:482px; "/>
  255. <input id="ipt_monthno" ref="/root/main/disadiffpayitem/monthno" class="input_search" maxlength="9" format="#,###" style="left:103px; top:584px; width:124px; height:19px; text-align:right; "/>
  256. <caption id="caption33" class="cell_1" style="left:230px; top:583px; width:100px; height:23px; vertical-align:middle; ">변동일자</caption>
  257. <caption id="cap_emplnm" class="cell_1" style="left:0px; top:559px; width:100px; height:23px; vertical-align:middle; ">등 급</caption>
  258. <caption id="cap_resngbn" class="cell_1" style="left:230px; top:559px; width:100px; height:23px; vertical-align:middle; ">정정사유</caption>
  259. <input id="ipt_notiym_i" ref="/root/main/disadiffpayitem/notiym" class="input_s_essential" disabled="true" inputtype="date" format="yyyy-mm" style="left:103px; top:489px; width:103px; height:19px; "/>
  260. <input id="ipt_jobgrad" ref="/root/main/disadiffpayitem/notigbn" class="input_search" disabled="true" visibility="hidden" style="left:205px; top:455px; width:50px; height:19px; "/>
  261. <input id="ipt_jobpos" ref="/root/main/disadiffpayitem/grde" class="input_search" disabled="true" style="left:103px; top:560px; width:124px; height:19px; "/>
  262. <input id="ipt_emplnm_i" ref="/root/main/disadiffpayitem/emplnm" class="input_s_essential" imemode="hangul" maxlength="30" style="left:333px; top:489px; width:103px; height:19px; ">
  263. <script type="javascript" ev:event="onkeyup">
  264. <![CDATA[
  265. /* Enter Key입력시 이벤트 발생 */
  266. inputEnterKey("btn_emplnm", "DOMActivate");
  267. ]]>
  268. </script>
  269. </input>
  270. <input id="ipt_seqno" ref="/root/main/disadiffpayitem/seqno" class="input_s_essential" disabled="true" visibility="hidden" style="left:170px; top:455px; width:25px; height:19px; "/>
  271. <input id="ipt_updtresn" ref="/root/main/disadiffpayitem/updtresn" class="input_search" maxlength="30" style="left:103px; top:609px; width:124px; height:19px; text-align:right; "/>
  272. <caption id="caption10" class="cell_1" style="left:0px; top:583px; width:100px; height:23px; vertical-align:middle; ">월 수</caption>
  273. <input id="ipt_rrgstno1_i" ref="/root/main/disadiffpayitem/rrgstno1" class="input_s_essential" maxlength="6" style="left:103px; top:537px; width:103px; height:19px; ">
  274. <script type="javascript" ev:event="onkeyup">
  275. <![CDATA[
  276. inputEnterKey("btn_rrgstno", "DOMActivate");
  277. ]]>
  278. </script>
  279. </input>
  280. <caption id="cap_rrgstno1" class="cell_1" style="left:0px; top:535px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  281. <input id="ipt_rrgstno2_i" ref="/root/main/disadiffpayitem/rrgstno2" class="input_s_essential" maxlength="7" style="left:230px; top:537px; width:100px; height:19px; ">
  282. <script type="javascript" ev:event="onkeyup">
  283. <![CDATA[
  284. inputEnterKey("btn_rrgstno", "DOMActivate");
  285. ]]>
  286. </script>
  287. </input>
  288. <caption id="caption309" style="left:209px; top:538px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  289. <caption id="caption15" class="tit_2" style="left:470px; top:467px; width:152px; height:14px; ">원고지 내역 리스트</caption>
  290. <select1 id="cmb_resngbn" ref="/root/main/disadiffpayitem/resngbn" class="combo_s_essential" appearance="minimal" style="left:333px; top:560px; width:125px; height:19px; ">
  291. <choices>
  292. <itemset>
  293. <label/>
  294. <value/>
  295. </itemset>
  296. </choices>
  297. </select1>
  298. <input id="ipt_updtdd" ref="/root/main/disadiffpayitem/updtdd" class="input_search" inputtype="date" maxlength="9" format="yyyy-mm-dd" style="left:333px; top:584px; width:125px; height:19px; text-align:right; "/>
  299. <input id="ipt_pensinsuamt" ref="/root/main/disadiffpayitem/pensinsuamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:333px; top:608px; width:125px; height:19px; text-align:right; ">
  300. <script type="javascript" ev:event="xforms-value-changed">
  301. <![CDATA[
  302. ftotPenPayAmt();
  303. ]]>
  304. </script>
  305. </input>
  306. <caption id="caption45" class="cell_1" style="left:230px; top:631px; width:100px; height:23px; vertical-align:middle; ">당월보험료</caption>
  307. <button id="btn_update" class="btn2_letter2" navindex="13" style="left:362px; top:461px; width:42px; height:19px; ">
  308. <caption>수정</caption>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. if(!isRequiredControls("ipt_notiym_i","cmb_resngbn"))return;
  312. var notiym=model.getValue("/root/main/disadiffpayitem/notiym");
  313. var seqno=model.getValue("/root/main/disadiffpayitem/seqno");
  314. var notigbn = model.getValue("/root/main/disadiffpayitem/notigbn");
  315. model.setValue("/root/send/doduynlist/seqno",seqno);
  316. model.setValue("/root/send/doduynlist/notiym",notiym);
  317. model.setValue("/root/send/doduynlist/notigbn",notigbn);
  318. model.setValue("/root/send/doduynlist/workgbn","1");
  319. submit("TRRPA03702");
  320. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  321. if(medicnfmyn =='Y'){
  322. if (cmb_instcd.value == "017") {
  323. messageBox("확정이 완료된 고지월은 정정 ","E001");
  324. }
  325. else {
  326. messageBox("의료원확정이 완료된 고지월은 정정 ","E001");
  327. }
  328. return;
  329. }
  330. var cur_row = grd_insurancensticorr.row; // 행 번호 가져오기
  331. if (cur_row > 0) {
  332. // 그리드에 추가
  333. model.copyNode("/root/main/disadiffpayform/insurancensticorr["+cur_row+"]","/root/main/disadiffpayitem");
  334. grd_insurancensticorr.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  335. model.refresh();
  336. }
  337. ]]>
  338. </script>
  339. </button>
  340. <button id="btn_delete" class="btn2_letter3" navindex="14" style="left:407px; top:461px; width:53px; height:19px; ">
  341. <caption>지우기</caption>
  342. <script type="javascript" ev:event="DOMActivate">
  343. <![CDATA[
  344. model.resetInstanceNode("/root/main/disadiffpayitem");
  345. fEnableInsertButton() ;
  346. ipt_notiym_i.disabled=false;
  347. ipt_rrgstno1_i.disabled=false;
  348. ipt_rrgstno2_i.disabled=false;
  349. ipt_emplnm_i.disabled=false;
  350. model.refresh();
  351. var notiym=model.getValue("/root/send/searchlist/notiym");
  352. ipt_notiym_i.value=notiym;
  353. ]]>
  354. </script>
  355. </button>
  356. <button id="btn_insert" class="btn2_letter6" navindex="12" style="left:273px; top:461px; width:86px; height:19px; ">
  357. <caption>정정내역추가</caption>
  358. <script type="javascript" ev:event="DOMActivate">
  359. <![CDATA[
  360. if(!isRequiredControls("ipt_notiym_i","cmb_resngbn","ipt_seqno")) return;
  361. var notiym=model.getValue("/root/main/disadiffpayitem/notiym");
  362. var seqno=model.getValue("/root/main/disadiffpayitem/seqno");
  363. var notigbn = model.getValue("/root/main/disadiffpayitem/notigbn");
  364. model.setValue("/root/send/doduynlist/seqno",seqno);
  365. model.setValue("/root/send/doduynlist/notiym",notiym);
  366. model.setValue("/root/send/doduynlist/notigbn",notigbn);
  367. model.setValue("/root/send/doduynlist/workgbn","1");
  368. submit("TRRPA03702");
  369. var medimodiseqnoyn=model.getValue("/root/temp/medimodiseqnoyn");
  370. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  371. if(medicnfmyn =='Y'){
  372. if (cmb_instcd.value == "017") {
  373. messageBox("확정이 완료된 고지월은 정정 ","E001");
  374. }
  375. else {
  376. messageBox("의료원확정이 완료된 고지월은 정정 ","E001");
  377. }
  378. return;
  379. }
  380. if(medimodiseqnoyn =='Y'){
  381. messageBox("입력한 사원의 자료가 ","E006");
  382. return;
  383. }
  384. grd_insurancensticorr.addrow(); // 입력할 행 추가.
  385. var cur_row = grd_insurancensticorr.row; // 추가된 행 번호 가져오기
  386. model.copyNode("/root/main/disadiffpayform/insurancensticorr["+cur_row+"]","/root/main/disadiffpayitem");
  387. fEnableUpdateButton();
  388. model.refresh();
  389. ]]>
  390. </script>
  391. </button>
  392. <button id="btn_emplnm" class="icon_search" visibility="hidden" style="left:440px; top:490px; width:16px; height:16px; ">
  393. <caption/>
  394. <script type="javascript" ev:event="DOMActivate">
  395. <![CDATA[
  396. if(!isRequiredControls("ipt_emplnm_i","ipt_notiym_i"))return;
  397. model.makeNode("/root/main/disadiffpayitem/workgbn");
  398. model.setValue("/root/main/disadiffpayitem/workgbn","1");
  399. submit("TRRPA01303");
  400. ]]>
  401. </script>
  402. </button>
  403. <button id="btn_rrgstno" class="icon_search" visibility="hidden" style="left:333px; top:538px; width:16px; height:16px; ">
  404. <caption/>
  405. <script type="javascript" ev:event="DOMActivate">
  406. <![CDATA[
  407. if(ipt_rrgstno1_i.value=="" && ipt_rrgstno2_i.value=="" ){
  408. messageBox("주민등록번호는 ","I003");
  409. return;
  410. }
  411. if(!isRequiredControls("ipt_notiym_i"))return;
  412. var emplnm=model.getValue("/root/main/disadiffpayitem/emplnm");
  413. model.makeNode("/root/main/disadiffpayitem/workgbn");
  414. model.setValue("/root/main/disadiffpayitem/workgbn","1");
  415. model.makeNode("/root/main/disadiffpayitem/emplnm");
  416. model.setValue("/root/main/disadiffpayitem/emplnm",emplnm);
  417. submit("TRRPA01303");
  418. ]]>
  419. </script>
  420. </button>
  421. <input id="input2" ref="/root/main/disadiffpayitem/workgbn" class="input_s_essential" disabled="true" visibility="hidden" format="#,###" style="left:330px; top:320px; width:65px; height:19px; text-align:right; "/>
  422. <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" class="input_search" imemode="hangul" style="left:762px; top:18px; width:105px; height:19px; ">
  423. <script type="javascript" ev:event="onkeyup">
  424. <![CDATA[
  425. inputEnterKey("btn_search", "DOMActivate");
  426. ]]>
  427. </script>
  428. </input>
  429. <caption id="caption32" style="left:594px; top:20px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  430. <caption id="caption34" class="search_name" style="left:431px; top:19px; width:99px; height:17px; ">주민번호:</caption>
  431. <caption id="caption37" class="search_name" style="left:702px; top:19px; width:60px; height:17px; ">성명:</caption>
  432. <input id="ipt_chldrnresdnrgst1" ref="/root/send/searchlist/rrgstno1" class="input_search" maxlength="6" style="left:512px; top:18px; width:80px; height:19px; ">
  433. <script type="javascript" ev:event="onkeypress">
  434. <![CDATA[
  435. inputEnterKey("btn_search", "DOMActivate");
  436. ]]>
  437. </script>
  438. <script type="javascript" ev:event="onkeyup">
  439. <![CDATA[
  440. inputEnterKey("btn_search", "DOMActivate");
  441. ]]>
  442. </script>
  443. </input>
  444. <input id="ipt_chldrnresdnrgst2" ref="/root/send/searchlist/rrgstno2" class="input_search" maxlength="7" style="left:612px; top:18px; width:80px; height:19px; ">
  445. <script type="javascript" ev:event="onkeypress">
  446. <![CDATA[
  447. inputEnterKey("btn_search", "DOMActivate");
  448. ]]>
  449. </script>
  450. <script type="javascript" ev:event="onkeyup">
  451. <![CDATA[
  452. inputEnterKey("btn_search", "DOMActivate");
  453. ]]>
  454. </script>
  455. </input>
  456. <datagrid id="grd_insurancensticorr" nodeset="/root/main/disadiffpayform/insurancensticorr" caption="고지구분^고지년월^일련번호^기관^성명^주민등록번호^근무상태^등급^연금보험료^조정금액^당월고지금액^변동사유^변동일자^월수^정정사유" colwidth="89, 62, 55, 120, 74, 104, 81, 54, 91, 100, 93, 82, 84, 62, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1195px; height:371px; text-align:center; ">
  457. <col ref="notigbnnm" visibility="hidden"/>
  458. <col ref="notiym" format="yyyy-mm"/>
  459. <col ref="seqno" visibility="hidden"/>
  460. <col ref="instnm" style="text-align:center; "/>
  461. <col ref="emplnm" style="text-align:center; "/>
  462. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  463. <col id="preststatcd" ref="preststatcd" type="combo" style="text-align:left; ">
  464. <choices>
  465. <itemset>
  466. <label/>
  467. <value/>
  468. </itemset>
  469. </choices>
  470. </col>
  471. <col ref="grde" style="text-align:center; "/>
  472. <col ref="pensinsuamt" format="(-)#,###" style="text-align:right; "/>
  473. <col ref="adjtamt" format="(-)#,###" style="text-align:right; "/>
  474. <col ref="notipensinsuamt" format="(-)#,###" style="text-align:right; "/>
  475. <col ref="updtresn" style="text-align:center; "/>
  476. <col ref="updtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  477. <col ref="monthno" visibility="visible" format="yyyy-mm" style="text-align:center; "/>
  478. <col id="resngbn" ref="resngbn" type="combo" style="text-align:left; ">
  479. <choices>
  480. <itemset>
  481. <label/>
  482. <value/>
  483. </itemset>
  484. </choices>
  485. </col>
  486. <col ref="notigbn" visibility="hidden"/>
  487. <col ref="instcd" visibility="hidden"/>
  488. <col ref="workgbn" visibility="hidden"/>
  489. <script type="javascript" ev:event="onclick">
  490. <![CDATA[
  491. var cur_row = grd_insurancensticorr.row;
  492. if ( cur_row > 0 ) {
  493. fEnableUpdateButton();
  494. model.copyNode("/root/main/disadiffpayitem","/root/main/disadiffpayform/insurancensticorr["+cur_row+"]");
  495. ipt_notiym_i.disabled=true;
  496. ipt_rrgstno1_i.disabled=true;
  497. ipt_rrgstno2_i.disabled=true;
  498. ipt_emplnm_i.disabled=true;
  499. model.refresh();
  500. }
  501. var notiym = model.getValue("/root/main/disadiffpayform/insurancensticorr["+cur_row+"]/notiym");
  502. var rrgstno = model.getValue("/root/main/disadiffpayform/insurancensticorr["+cur_row+"]/rrgstno");
  503. var rrgstno1 = rrgstno.substr(0,6);
  504. var rrgstno2 = rrgstno.substr(6,7);
  505. model.setValue("/root/send/disadiffpayitem/notiym",notiym);
  506. model.setValue("/root/send/disadiffpayitem/rrgstno1",rrgstno1);
  507. model.setValue("/root/send/disadiffpayitem/rrgstno2",rrgstno2);
  508. model.setValue("/root/send/disadiffpayitem/deduexptyn","N");
  509. submit("TRRPA01304");
  510. ]]>
  511. </script>
  512. </datagrid>
  513. <datagrid id="grd_insurancenstilist" nodeset="/root/main/disadiffpayform/insurancenstilist" caption="고지구분^고지년월^일련번호^기관^성명^주민등록번호^근무상태^퇴직일자^등급^연금보험료^조정금액^당월고지금액^정정사유^변동사유^변동일자^월수^비고" colwidth="18, 14, 12, 137, 74, 104, 75, 70, 48, 78, 64, 83, 64, 63, 63, 41, 82, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:465px; top:487px; width:730px; height:243px; text-align:center; ">
  514. <col ref="notigbnnm" visibility="hidden"/>
  515. <col ref="notiym" visibility="hidden" format="yyyy-mm"/>
  516. <col ref="seqno" visibility="hidden"/>
  517. <col ref="instnm" style="text-align:left; "/>
  518. <col ref="emplnm" style="text-align:center; "/>
  519. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  520. <col ref="preststatnm" style="text-align:center; "/>
  521. <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; "/>
  522. <col ref="grde" visibility="hidden" style="text-align:center; "/>
  523. <col ref="pensinsuamt" format="#,###" style="text-align:right; "/>
  524. <col ref="adjtamt" format="(-)#,###" style="text-align:right; "/>
  525. <col ref="notipensinsuamt" format="(-)#,###" style="text-align:right; "/>
  526. <col ref="resngbnnm" style="text-align:center; "/>
  527. <col ref="updtresn" style="text-align:center; "/>
  528. <col ref="updtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  529. <col ref="monthno" visibility="hidden" format="yyyy-mm" style="text-align:center; "/>
  530. <col ref="cmt"/>
  531. <col ref="notigbn" visibility="hidden"/>
  532. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  533. <col ref="rrgstno1" visibility="hidden" style="text-align:center; "/>
  534. <col ref="rrgstno2" visibility="hidden" style="text-align:center; "/>
  535. <col ref="preststatcd" visibility="hidden" style="text-align:center; "/>
  536. <col ref="resngbn" style="text-align:center; "/>
  537. <script type="javascript" ev:event="onclick">
  538. <![CDATA[
  539. btn_insert.disabled= false;
  540. btn_update.disabled=true;
  541. var cur_row = grd_insurancenstilist.row;
  542. if ( cur_row > 0 ) {
  543. ipt_notiym_i.disabled=true;
  544. ipt_rrgstno1_i.disabled=true;
  545. ipt_rrgstno2_i.disabled=true;
  546. ipt_emplnm_i.disabled=true;
  547. model.copyNode("/root/main/disadiffpayitem","/root/main/disadiffpayform/insurancenstilist["+cur_row+"]");
  548. model.makeNode("/root/main/disadiffpayitem/workgbn");
  549. model.makeNode("/root/main/disadiffpayitem/resngbn");
  550. model.setValue("/root/main/disadiffpayitem/resngbn","");
  551. model.setValue("/root/main/disadiffpayitem/workgbn","1");
  552. model.refresh();
  553. }
  554. ]]>
  555. </script>
  556. <script type="javascript" ev:event="onaftersort">
  557. <![CDATA[
  558. grd_insurancenstilist.gridToInstance();
  559. ]]>
  560. </script>
  561. </datagrid>
  562. <button id="button1" class="icon_search" visibility="hidden" style="left:333px; top:514px; width:16px; height:16px; ">
  563. <caption/>
  564. <script type="javascript" ev:event="DOMActivate">
  565. <![CDATA[
  566. if(!isRequiredControls("ipt_notiym_i"))return;
  567. var emplnm=model.getValue("/root/main/disadiffpayitem/emplnm");
  568. model.makeNode("/root/main/disadiffpayitem/workgbn");
  569. model.setValue("/root/main/disadiffpayitem/workgbn","1");
  570. model.makeNode("/root/main/disadiffpayitem/emplnm");
  571. model.setValue("/root/main/disadiffpayitem/emplnm",emplnm);
  572. submit("TRRPA01304");
  573. ]]>
  574. </script>
  575. </button>
  576. <input id="input3" ref="/root/main/disadiffpayitem/notigbnnm" class="input_search" disabled="true" visibility="hidden" style="left:205px; top:455px; width:40px; height:19px; "/>
  577. <input id="ipt_workgbn" ref="/root/main/disadiffpayitem/workgbn" class="input_s_essential" disabled="true" visibility="hidden" style="left:505px; top:580px; width:65px; height:19px; text-align:right; "/>
  578. <input id="input5" ref="/root/main/disadiffpayitem/notigbn" class="input_search" disabled="true" visibility="hidden" style="left:600px; top:580px; width:120px; height:19px; "/>
  579. <input id="input6" ref="/root/main/disadiffpayitem/rrgstno" class="input_search" visibility="hidden" maxlength="6" style="left:750px; top:580px; width:91px; height:19px; ">
  580. <script type="javascript" ev:event="onkeyup">
  581. <![CDATA[
  582. inputEnterKey("btn_rrgstno", "DOMActivate");
  583. ]]>
  584. </script>
  585. </input>
  586. <button id="button2" class="icon_search" visibility="hidden" style="left:209px; top:490px; width:16px; height:16px; ">
  587. <caption/>
  588. <script type="javascript" ev:event="DOMActivate">
  589. <![CDATA[
  590. if(!isRequiredControls("ipt_notiym_i"))return;
  591. var emplnm=model.getValue("/root/main/disadiffpayitem/emplnm");
  592. model.makeNode("/root/main/disadiffpayitem/workgbn");
  593. model.setValue("/root/main/disadiffpayitem/workgbn","1");
  594. model.makeNode("/root/main/disadiffpayitem/emplnm");
  595. model.setValue("/root/main/disadiffpayitem/emplnm",emplnm);
  596. submit("TRRPA01304");
  597. ]]>
  598. </script>
  599. </button>
  600. <input id="input1" ref="/root/send/searchlist/workgbn" visibility="hidden" style="left:1075px; top:15px; width:40px; height:19px; "/>
  601. <input id="ipt_adjtamt" ref="/root/main/disadiffpayitem/adjtamt" class="input_s_essential" maxlength="9" format="(-)#,###" style="left:103px; top:633px; width:124px; height:19px; text-align:right; ">
  602. <script type="javascript" ev:event="xforms-value-changed">
  603. <![CDATA[
  604. ftotPenPayAmt();
  605. ]]>
  606. </script>
  607. </input>
  608. <caption id="caption1" class="cell_1" style="left:0px; top:655px; width:100px; height:23px; vertical-align:middle; ">비 고</caption>
  609. <input id="ipt_cmt" ref="/root/main/disadiffpayitem/cmt" class="input_search" maxlength="100" style="left:103px; top:658px; width:355px; height:19px; "/>
  610. <line id="line3" class="line_2" style="x1:0px; y1:653px; x2:460px; y2:653px; "/>
  611. <input id="ipt_notipensinsuamt" ref="/root/main/disadiffpayitem/notipensinsuamt" class="input_s_essential" disabled="true" maxlength="9" format="(-)#,###" style="left:333px; top:633px; width:125px; height:19px; text-align:right; "/>
  612. <caption id="caption4" class="search_name" style="left:875px; top:20px; width:81px; height:17px; ">근무상태:</caption>
  613. <select1 id="cmb_preststatcd" ref="/root/send/searchlist/preststatcd" class="combo_s_essential" appearance="minimal" style="left:955px; top:20px; width:95px; height:19px; ">
  614. <choices>
  615. <itemset>
  616. <label/>
  617. <value/>
  618. </itemset>
  619. </choices>
  620. </select1>
  621. <select id="ckb_deduexptyn" ref="/root/send/searchlist/deduexptyn" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" style="left:850px; top:45px; width:100px; height:15px; ">
  622. <choices>
  623. <itemset nodeset="/root/init/deduexptynlist">
  624. <label ref="label"/>
  625. <value ref="value"/>
  626. </itemset>
  627. </choices>
  628. </select>
  629. </group>
  630. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  631. <button id="btn_cancnfm" class="btn4_letter4" visibility="hidden" style="left:929px; top:3px; width:80px; height:22px; ">
  632. <caption>확정취소</caption>
  633. <script type="javascript" ev:event="DOMActivate">
  634. <![CDATA[
  635. if(!isRequiredControls("ipt_notiym")) return;
  636. if (cmb_instcd.value == "017") {
  637. var retMes = messageBox("국민연금 확정을 취소 하시겠습니까?", "Q999");
  638. }
  639. else {
  640. var retMes = messageBox("국민연금 의료원확정을 취소 하시겠습니까?", "Q999");
  641. }
  642. if ( retMes != 6) {
  643. return;
  644. }
  645. var notiym=model.getValue("/root/send/searchlist/notiym");
  646. model.setValue("/root/send/doduynlist/notiym",notiym);
  647. model.setValue("/root/send/doduynlist/workgbn","D");
  648. model.setValue("/root/send/doduynlist/instcd",cmb_instcd.value);
  649. // model.makeValue("/root/send/report/togglegbn","D");
  650. submit("TRRPA03702");
  651. var instcnfmyn=model.getValue("/root/temp/instcnfmyn");
  652. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  653. // if(instcnfmyn =='Y' ){
  654. // if (cmb_instcd.value == "017") {
  655. // messageBox("확정이 완료된 자료는 취소 ","E001");
  656. // }
  657. // else {
  658. // messageBox("기관확정이 완료된 자료는 취소 ","E001");
  659. // }
  660. //
  661. // return;
  662. // }
  663. if(medicnfmyn !='Y' ){
  664. messageBox("취소할 자료가 ","I004");
  665. return;
  666. }
  667. submit("TXRPA03704");
  668. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  669. messageBox("작업이","I001");
  670. }
  671. ]]>
  672. </script>
  673. </button>
  674. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  675. <button id="button5" class="btn4_letter2" style="left:1081px; top:3px; width:56px; height:22px; ">
  676. <caption>삭제</caption>
  677. <script type="javascript" ev:event="DOMActivate">
  678. <![CDATA[
  679. var retMes = messageBox("삭제 하시겠습니까?", "Q999");
  680. if ( retMes != 6) {
  681. return;
  682. }
  683. var notiym=model.getValue("/root/main/disadiffpayitem/notiym");
  684. var seqno=model.getValue("/root/main/disadiffpayitem/seqno");
  685. var notigbn = model.getValue("/root/main/disadiffpayitem/notigbn");
  686. model.setValue("/root/send/doduynlist/seqno",seqno);
  687. model.setValue("/root/send/doduynlist/notiym",notiym);
  688. model.setValue("/root/send/doduynlist/notigbn",notigbn);
  689. model.setValue("/root/send/doduynlist/workgbn","1");
  690. submit("TRRPA03702");
  691. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  692. if(medicnfmyn =='Y'){
  693. if (cmb_instcd.value == "017") {
  694. messageBox("확정이 완료된 고지월은 정정 ","E001");
  695. }
  696. else {
  697. messageBox("의료원확정이 완료된 자료는 삭제 ","E001");
  698. }
  699. return;
  700. }
  701. misfGridIUD(grd_insurancensticorr,"D");
  702. //model.resetInstanceNode("/root/main/disadiffpayitem");
  703. misfSave("TXRPA03701");
  704. model.removeNodeset("/root/main/disadiffpayform/insurancenstilist");
  705. model.refresh();
  706. ]]>
  707. </script>
  708. </button>
  709. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  710. <caption>저장</caption>
  711. <script type="javascript" ev:event="DOMActivate">
  712. <![CDATA[
  713. var updtdata = getGridUpdateData(grd_insurancensticorr);
  714. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  715. if ( retMes != 6) {
  716. return;
  717. }
  718. if (updtdata == "" ) {
  719. messageBox("변경된 데이터가","I004");
  720. return;
  721. }
  722. misfSave("TXRPA03701");
  723. ]]>
  724. </script>
  725. </button>
  726. <button id="btn_clear" class="btn4_letter3" style="left:1011px; top:3px; width:68px; height:22px; ">
  727. <caption>초기화</caption>
  728. <script type="javascript" ev:event="DOMActivate">
  729. <![CDATA[
  730. var updtdata = getGridUpdateData(grd_insurancensticorr);
  731. if (updtdata != "" ) {
  732. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  733. if (ret != 6) { // not OK
  734. return;
  735. }
  736. }
  737. fInitialize();
  738. ipt_notiym_i.disabled=false;
  739. ipt_rrgstno1_i.disabled=false;
  740. ipt_rrgstno2_i.disabled=false;
  741. ipt_emplnm_i.disabled=false;
  742. ]]>
  743. </script>
  744. </button>
  745. <button id="button3" class="btn4_letter5" visibility="hidden" style="left:835px; top:3px; width:92px; height:22px; ">
  746. <caption>의료원확정</caption>
  747. <script type="javascript" ev:event="DOMActivate">
  748. <![CDATA[
  749. if(!isRequiredControls("ipt_notiym"))return;
  750. var retMes = messageBox("국민연금 의료원확정을 저장 하시겠습니까?", "Q999");
  751. if ( retMes != 6) {
  752. return;
  753. }
  754. var notiym=model.getValue("/root/send/searchlist/notiym");
  755. model.setValue("/root/send/doduynlist/notiym",notiym);
  756. model.setValue("/root/send/doduynlist/workgbn","M");
  757. model.setValue("/root/send/doduynlist/instcd",cmb_instcd.value);
  758. submit("TRRPA03702");
  759. var doduyn=model.getValue("/root/temp/doduyn");
  760. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  761. if(doduyn !='Y'){
  762. messageBox("확정할 국민연금 자료가 ","I004");
  763. return;
  764. }
  765. if(medicnfmyn =='Y'){
  766. messageBox("해당월의 자료는 이미 확정 ","I001");
  767. return;
  768. }
  769. submit("TXRPA03702");
  770. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  771. messageBox("작업이","I001");
  772. }
  773. ]]>
  774. </script>
  775. </button>
  776. <button id="button4" class="btn4_letter4" visibility="hidden" style="left:929px; top:3px; width:80px; height:22px; ">
  777. <caption>확정취소</caption>
  778. <script type="javascript" ev:event="DOMActivate">
  779. <![CDATA[
  780. if(!isRequiredControls("ipt_notiym")) return;
  781. if (cmb_instcd.value == "017") {
  782. var retMes = messageBox("국민연금 확정을 취소 하시겠습니까?", "Q999");
  783. }
  784. else {
  785. var retMes = messageBox("국민연금 의료원확정을 취소 하시겠습니까?", "Q999");
  786. }
  787. if ( retMes != 6) {
  788. return;
  789. }
  790. var notiym=model.getValue("/root/send/searchlist/notiym");
  791. model.setValue("/root/send/doduynlist/notiym",notiym);
  792. model.setValue("/root/send/doduynlist/workgbn","D");
  793. model.setValue("/root/send/doduynlist/instcd",cmb_instcd.value);
  794. // model.makeValue("/root/send/report/togglegbn","D");
  795. submit("TRRPA03702");
  796. var instcnfmyn=model.getValue("/root/temp/instcnfmyn");
  797. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  798. if(instcnfmyn =='Y' && cmb_instcd.value != "017"){
  799. if (cmb_instcd.value == "017") {
  800. messageBox("확정이 완료된 자료는 취소 ","E001");
  801. }
  802. else {
  803. messageBox("기관확정이 완료된 자료는 취소 ","E001");
  804. }
  805. return;
  806. }
  807. if(medicnfmyn !='Y' ){
  808. messageBox("취소할 자료가 ","I004");
  809. return;
  810. }
  811. submit("TXRPA03702");
  812. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  813. messageBox("작업이","I001");
  814. }
  815. ]]>
  816. </script>
  817. </button>
  818. <button id="btn_cnfm" class="btn4_letter2" visibility="hidden" style="left:871px; top:3px; width:56px; height:22px; ">
  819. <caption>확정</caption>
  820. <script type="javascript" ev:event="DOMActivate">
  821. <![CDATA[
  822. if(!isRequiredControls("ipt_notiym"))return;
  823. var retMes = messageBox("국민연금 확정을 저장 하시겠습니까?", "Q999");
  824. if ( retMes != 6) {
  825. return;
  826. }
  827. var notiym=model.getValue("/root/send/searchlist/notiym");
  828. model.setValue("/root/send/doduynlist/notiym",notiym);
  829. model.setValue("/root/send/doduynlist/workgbn","M");
  830. model.setValue("/root/send/doduynlist/instcd",cmb_instcd.value);
  831. submit("TRRPA03702");
  832. var doduyn=model.getValue("/root/temp/doduyn");
  833. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  834. if(doduyn !='Y'){
  835. messageBox("확정할 국민연금 자료가 ","I004");
  836. return;
  837. }
  838. if(medicnfmyn =='Y'){
  839. messageBox("해당월의 자료는 이미 확정 ","I001");
  840. return;
  841. }
  842. submit("TXRPA03704");
  843. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  844. messageBox("작업이","I001");
  845. }
  846. ]]>
  847. </script>
  848. </button>
  849. </group>
  850. <button id="btn_exceldetail" class="btn2_letter4" style="left:1130px; top:86px; width:64px; height:19px; ">
  851. <caption>엑셀저장</caption>
  852. <script type="javascript" ev:event="DOMActivate">
  853. <![CDATA[
  854. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  855. if (fileName != "")
  856. {
  857. grd_insurancensticorr.saveExcel(fileName, "SheetName", true, true, "", "");
  858. }
  859. ]]>
  860. </script>
  861. </button>
  862. </xhtml:body>
  863. </xhtml:html>