SMRPA05600_국민연금고지내역.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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. <disadiffpay>
  11. <disadiffpayinst>
  12. <instnm/>
  13. <cnt/>
  14. <mancnt/>
  15. <instcd/>
  16. <notiym/>
  17. </disadiffpayinst>
  18. </disadiffpay>
  19. <disadiffpayform>
  20. <insurancenstilist>
  21. <emplno/>
  22. <notiym/>
  23. <seqno/>
  24. <rrgstno/>
  25. <notigbn/>
  26. <instcd/>
  27. <grde/>
  28. <pensinsuamt/>
  29. <updtresn/>
  30. <updtdd/>
  31. <monthno/>
  32. </insurancenstilist>
  33. </disadiffpayform>
  34. </main>
  35. <send>
  36. <searchlist>
  37. <notiym/>
  38. <rrgstno1/>
  39. <rrgstno2/>
  40. <emplnm/>
  41. <instcd/>
  42. <workgbn/>
  43. <payrefltyn/>
  44. <resngbn/>
  45. </searchlist>
  46. <disadiffpay>
  47. <instcd/>
  48. <notiym/>
  49. <rrgstno1/>
  50. <rrgstno2/>
  51. <emplnm/>
  52. </disadiffpay>
  53. <payappsend>
  54. <instcd/>
  55. <payym/>
  56. <payitemcd/>
  57. </payappsend>
  58. </send>
  59. <temp>
  60. <payrefltyn/>
  61. <instcnfmyn/>
  62. <hidden/>
  63. </temp>
  64. <init>
  65. <selectValue>1</selectValue>
  66. <payyncmb>
  67. <label>전체</label>
  68. <value/>
  69. <label>공제</label>
  70. <value>Y</value>
  71. <label>미공제</label>
  72. <value>N</value>
  73. </payyncmb>
  74. </init>
  75. </root>
  76. </instance>
  77. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  80. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  81. <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
  82. <script type="javascript" ev:event="xforms-ready">
  83. <![CDATA[
  84. fInitialize();
  85. misfGridInit(grd_insurancenstilist);
  86. misfComboComCdList('R0178', cmb_resngbn,"Y");
  87. if (getUserInfo("dutplceinstcd") == "017" ) {
  88. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  89. cmb_instcd.value = getUserInfo("dutplceinstcd");
  90. }
  91. else {
  92. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
  93. }
  94. //misfComboCopyItemSet(cmb_instcd, "", grd_insurancenstilist, "instcd");
  95. // var instcd = getUserInfo("dutplceinstcd");
  96. // cmb_instcd.value=instcd;
  97. ]]>
  98. </script>
  99. <submission id="TRRPA05602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/disadiffpayform"/>
  100. <submission id="TRRPA03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/>
  101. <submission id="TXRWZ00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payappsend" resultref="/root/temp/hidden"/>
  102. </model>
  103. <script type="javascript">
  104. <![CDATA[
  105. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  106. function fInitialize() {
  107. //model.removeNodeset("/root/main/disadiffpay/disadiffpayinst");
  108. model.removeNodeset("/root/main/disadiffpayform/insurancenstilist");
  109. model.resetInstanceNode("/root/send");
  110. model.refresh();
  111. var curDate = getCurrentDate().toDate();
  112. model.setValue("/root/send/searchlist/notiym", curDate.getDateFormat('YYYYMM'));
  113. }
  114. function fPrint() {
  115. model.makeNode("/root/send/report/selectinstnm");
  116. var selectInstnm="";
  117. if(cmb_instcd.value==""){
  118. selectInstnm="전체";
  119. }else{
  120. selectInstnm=cmb_instcd.label;
  121. }
  122. model.setValue("/root/send/report/selectinstnm", selectInstnm);
  123. exeReportPreview("RPRPA05600", "XMLSTR", "/root/send/report");
  124. }
  125. ]]>
  126. </script>
  127. </xhtml:head>
  128. <xhtml:body style="margin-left:8; margin-right:8; ">
  129. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  130. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">국민연금 고지 내역</caption>
  131. </group>
  132. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  133. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  134. <caption id="cap_notiym" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">고지년월:</caption>
  135. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  136. <caption>조회</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. if(!isRequiredControls("ipt_notiym")) return;
  140. model.setValue("/root/send/searchlist/workgbn","P");
  141. submit("TRRPA05602");
  142. grd_insurancenstilist.subtotalposition = "below";
  143. grd_insurancenstilist.subtotal("clear", 0, 0);
  144. grd_insurancenstilist.subtotal("sum",grd_insurancenstilist.colRef("instnm") , grd_insurancenstilist.colRef("pensinsuamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  145. grd_insurancenstilist.subtotal("sum",grd_insurancenstilist.colRef("instnm") , grd_insurancenstilist.colRef("adjtamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  146. grd_insurancenstilist.subtotal("sum",grd_insurancenstilist.colRef("instnm") , grd_insurancenstilist.colRef("notipensinsuamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  147. model.refresh();
  148. ]]>
  149. </script>
  150. </button>
  151. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  152. <datagrid id="grd_insurancenstilist" nodeset="/root/main/disadiffpayform/insurancenstilist" caption="기관^주민등록번호^성명^부 서^등급^임용일^퇴직일^현근무상태^연금부담금^조정금액^당월고지금액^조정사유^급여반영여부" colwidth="126, 96, 74, 114, 57, 76, 77, 83, 90, 90, 90, 91, 84" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1194px; height:636px; text-align:center; ">
  153. <col ref="instnm" style="text-align:left; "/>
  154. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  155. <col ref="emplnm" style="text-align:center; "/>
  156. <col ref="dutplcedeptnm" style="text-align:left; "/>
  157. <col ref="grde" style="text-align:center; "/>
  158. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  159. <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; "/>
  160. <col ref="preststatnm" style="text-align:center; "/>
  161. <col ref="pensinsuamt" format="(-)#,###" style="text-align:right; padding-right:10; "/>
  162. <col ref="adjtamt" format="(-)#,###" style="text-align:right; padding-right:10; "/>
  163. <col ref="notipensinsuamt" format="(-)#,###" style="text-align:right; padding-right:10; "/>
  164. <col ref="resngbnnm"/>
  165. <col ref="payrefltyn" style="text-align:center; "/>
  166. </datagrid>
  167. <input id="ipt_notiym" ref="/root/send/searchlist/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:18px; width:80px; height:19px; ">
  168. <script type="javascript" ev:event="xforms-value-changed">
  169. <![CDATA[
  170. btn_search.dispatch("DOMActivate");
  171. ]]>
  172. </script>
  173. </input>
  174. <caption id="caption4" class="search_name" style="left:395px; top:20px; width:99px; height:17px; ">주민번호:</caption>
  175. <caption id="caption309" style="left:548px; top:21px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  176. <input id="ipt_chldrnresdnrgst1" ref="/root/send/searchlist/rrgstno1" class="input_default" maxlength="6" style="left:476px; top:18px; width:70px; height:19px; ">
  177. <script type="javascript" ev:event="onkeypress">
  178. <![CDATA[
  179. inputEnterKey("btn_search", "DOMActivate");
  180. ]]>
  181. </script>
  182. </input>
  183. <input id="ipt_chldrnresdnrgst2" ref="/root/send/searchlist/rrgstno2" class="input_default" maxlength="7" style="left:564px; top:18px; width:70px; height:19px; ">
  184. <script type="javascript" ev:event="onkeypress">
  185. <![CDATA[
  186. inputEnterKey("btn_search", "DOMActivate");
  187. ]]>
  188. </script>
  189. </input>
  190. <caption id="caption5" class="search_name" style="left:642px; top:20px; width:60px; height:17px; ">성명:</caption>
  191. <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" imemode="hangul" style="left:702px; top:18px; width:83px; height:19px; ">
  192. <script type="javascript" ev:event="onkeypress">
  193. <![CDATA[
  194. inputEnterKey("btn_search", "DOMActivate");
  195. ]]>
  196. </script>
  197. </input>
  198. <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" appearance="minimal" style="left:253px; top:18px; width:137px; height:19px; ">
  199. <choices>
  200. <itemset>
  201. <label/>
  202. <value/>
  203. </itemset>
  204. </choices>
  205. </select1>
  206. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  207. <caption id="caption1" class="tit_2" style="left:0px; top:55px; width:131px; height:14px; ">국민연금 고지 내역</caption>
  208. <button id="btn_exceldetail" class="btn2_letter4" style="left:1127px; top:49px; width:64px; height:19px; ">
  209. <caption>엑셀저장</caption>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  213. if (fileName != "")
  214. {
  215. grd_insurancenstilist.saveExcel(fileName, "SheetName", true, true, "", "");
  216. }
  217. ]]>
  218. </script>
  219. </button>
  220. <caption id="caption2" class="search_name" style="left:190px; top:20px; width:70px; height:17px; ">기 관 :</caption>
  221. <caption id="caption3" class="search_name" style="left:790px; top:20px; width:107px; height:17px; ">급여여부:</caption>
  222. <select1 id="combo1" ref="/root/send/searchlist/payrefltyn" class="combo_s_essential" appearance="minimal" style="left:870px; top:18px; width:70px; height:19px; ">
  223. <choices>
  224. <itemset nodeset="/root/init/payyncmb">
  225. <label ref="label"/>
  226. <value ref="value"/>
  227. </itemset>
  228. </choices>
  229. </select1>
  230. <caption id="caption7" class="search_name" style="left:945px; top:20px; width:85px; height:17px; ">조정사유:</caption>
  231. <select1 id="cmb_resngbn" ref="/root/send/searchlist/resngbn" class="combo_s_essential" appearance="minimal" style="left:1030px; top:18px; width:70px; height:19px; ">
  232. <choices>
  233. <itemset>
  234. <label/>
  235. <value/>
  236. </itemset>
  237. </choices>
  238. </select1>
  239. </group>
  240. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  241. <button id="btn_init" class="btn4_letter3" style="left:948px; top:2px; width:68px; height:22px; ">
  242. <caption>초기화</caption>
  243. <script type="javascript" ev:event="DOMActivate">
  244. <![CDATA[
  245. var updtdata = getGridUpdateData(grd_insurancenstilist);
  246. if (updtdata != "") {
  247. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  248. if (ret != 6) { // not OK
  249. return;
  250. }
  251. }
  252. fInitialize();
  253. ]]>
  254. </script>
  255. </button>
  256. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  257. <button id="button2" class="btn4_letter5" style="left:1017px; top:2px; width:92px; height:22px; ">
  258. <caption>내역서출력</caption>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. fPrint();
  262. ]]>
  263. </script>
  264. </button>
  265. <button id="button1" class="btn4_letter4" style="left:1110px; top:2px; width:80px; height:22px; ">
  266. <caption>급여이체</caption>
  267. <script type="javascript" ev:event="DOMActivate">
  268. <![CDATA[
  269. if(!isRequiredControls("ipt_notiym"))return;
  270. var retMes = messageBox("자료를 급여이체하시겠습니까?", "Q999");
  271. if ( retMes != 6) {
  272. return;
  273. }
  274. submit("TRRPA03702");
  275. var payrefltyn=model.getValue("/root/temp/payrefltyn");
  276. var medicnfmyn=model.getValue("/root/temp/medicnfmyn");
  277. if(medicnfmyn !='Y'){
  278. messageBox("이체할 국민연금 자료가 ","I004");
  279. return;
  280. }
  281. if(payrefltyn =='Y'){
  282. messageBox("급여이체 자료가 이미 ","I001");
  283. return;
  284. }
  285. var instcd = getUserInfo("dutplceinstcd");
  286. var payym = model.getValue("/root/send/searchlist/notiym");
  287. var payitemcd = "60030";
  288. alert(instcd);
  289. model.setValue("/root/send/payappsend/instcd",instcd);
  290. model.setValue("/root/send/payappsend/payym",payym);
  291. model.setValue("/root/send/payappsend/payitemcd",payitemcd);
  292. submit("TXRWZ00303");
  293. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  294. messageBox("급여이체작업이","I001");
  295. submit("TRRPA05602");
  296. }
  297. ]]>
  298. </script>
  299. </button>
  300. </group>
  301. </xhtml:body>
  302. </xhtml:html>