SMRPA03800_국민연금추가공제내역등록.xrw 48 KB

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