SMRPA04000_연금부담금내역서.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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. <disadiffpay>
  11. <disadiffpayinst>
  12. <instnm/>
  13. <cnt/>
  14. <mancnt/>
  15. <instcd/>
  16. <notiym/>
  17. <emplnm/>
  18. <infoworkgbn/>
  19. </disadiffpayinst>
  20. </disadiffpay>
  21. <disadiffpayform>
  22. <insurancelist>
  23. <notiym/>
  24. <instnm/>
  25. <rrgstno/>
  26. <seqno/>
  27. <jobgrad/>
  28. <jobpos/>
  29. <paycls/>
  30. <diligent/>
  31. <pensym/>
  32. <flag1/>
  33. <prestmmbamt/>
  34. <flag2/>
  35. <enlstmnlayoff/>
  36. <flag3/>
  37. <layoff/>
  38. <sameretc/>
  39. <difretc/>
  40. <groupretc/>
  41. <totno/>
  42. <totamt/>
  43. <paytotamt/>
  44. <fstnotiym/>
  45. <flag4/>
  46. <flag5/>
  47. <bfjobgrad/>
  48. <bfjobpos/>
  49. <bfpaycls/>
  50. <emplno/>
  51. <instcd/>
  52. </insurancelist>
  53. </disadiffpayform>
  54. </main>
  55. <send>
  56. <searchlist>
  57. <notiym/>
  58. <rrgstno1/>
  59. <rrgstno2/>
  60. <emplnm/>
  61. <instcd/>
  62. <infoworkgbn/>
  63. </searchlist>
  64. <disadiffpay>
  65. <instcd/>
  66. <notiym/>
  67. <rrgstno1/>
  68. <rrgstno2/>
  69. <emplnm/>
  70. <infoworkgbn/>
  71. </disadiffpay>
  72. </send>
  73. <temp/>
  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_disadiffpayinst);
  86. misfGridInit(grd_insurancelist);
  87. misfMsterDetailSet(grd_disadiffpayinst, null, "TRRPA04001" ,"N");
  88. misfMsterDetailSet(grd_insurancelist, grd_disadiffpayinst, "TRRPA04002" ,"Y");
  89. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"));
  90. var instcd = getUserInfo("dutplceinstcd");
  91. cmb_instcd.value=instcd;
  92. ]]>
  93. </script>
  94. <submission id="TRRPA04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/disadiffpay"/>
  95. <submission id="TRRPA04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/disadiffpay" resultref="/root/main/disadiffpayform"/>
  96. </model>
  97. <script type="javascript">
  98. <![CDATA[
  99. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  100. function fInitialize() {
  101. model.removeNodeset("/root/main/disadiffpay/disadiffpayinst");
  102. model.removeNodeset("/root/main/disadiffpayform/insurancelist");
  103. model.resetInstanceNode("/root/send");
  104. model.refresh();
  105. var curDate = getCurrentDate().toDate();
  106. model.setValue("/root/send/searchlist/notiym", curDate.getDateFormat('YYYYMM'));
  107. }
  108. function fPrint() {
  109. exeReportPreview("RPRPA04000", "XMLSTR");
  110. }
  111. ]]>
  112. </script>
  113. </xhtml:head>
  114. <xhtml:body style="margin-left:8; margin-right:8; ">
  115. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  116. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">연금부담금 내역서</caption>
  117. </group>
  118. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  119. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  120. <caption id="caption2" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">고지년월:</caption>
  121. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  122. <caption>조회</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. if(!isRequiredControls("ipt_notiym"))return;
  126. model.setValue("/root/send/searchlist/infoworkgbn","M");
  127. misfMsterDetailRetrieve();
  128. ]]>
  129. </script>
  130. </button>
  131. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  132. <line id="line207" class="line_1" style="x1:0; y1:69; x2:1195; y2:69px; "/>
  133. <datagrid id="grd_insurancelist" nodeset="/root/main/disadiffpayform/insurancelist" caption="고지년월^기관명^교직구분^주민등록번호^성명^직급^호봉^당월부담금액^휴직^일반소급^군소급^대 여^합산(반납금)^추가공제금액^합계^기관코드" colsep="^" colwidth="66, 100, 69, 99, 62, 47, 47, 84, 55, 66, 87, 88, 78, 83, 88, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:284px; top:74px; width:911px; height:640px; ">
  134. <col ref="notiym" visibility="hidden" format="yyyy-mm" style="text-align:center; "/>
  135. <col ref="instnm"/>
  136. <col ref="jobgradnm"/>
  137. <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  138. <col ref="emplnm" style="text-align:center; "/>
  139. <col ref="jobpos" style="text-align:center; "/>
  140. <col ref="paycls" style="text-align:center; "/>
  141. <col ref="prestmmbamt" format="(-)#,###" style="text-align:right; "/>
  142. <col ref="layoff" format="(-)#,###" style="text-align:right; "/>
  143. <col ref="totretc" format="(-)#,###" style="text-align:right; "/>
  144. <col ref="groupretc" format="(-)#,###" style="text-align:right; "/>
  145. <col ref="loadamt" format="(-)#,###" style="text-align:right; "/>
  146. <col ref="totamt" format="(-)#,###" style="text-align:right; "/>
  147. <col ref="adddeduamt" format="(-)#,###" style="text-align:right; "/>
  148. <col ref="paytotamt" format="(-)#,###" style="text-align:right; "/>
  149. <col ref="instcd" visibility="hidden"/>
  150. <col ref="jobgrad" visibility="hidden"/>
  151. </datagrid>
  152. <input id="ipt_notiym" ref="/root/send/searchlist/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:18px; width:100px; height:19px; "/>
  153. <caption id="caption9" class="tit_2" style="left:10px; top:54px; width:126px; height:14px; ">연금부담금 내역서</caption>
  154. <caption id="caption4" class="search_name" style="left:219px; top:20px; width:99px; height:17px; ">주민번호:</caption>
  155. <caption id="caption309" style="left:372px; top:21px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  156. <input id="ipt_chldrnresdnrgst1" ref="/root/send/searchlist/rrgstno1" class="input_default" maxlength="6" style="left:300px; top:19px; width:70px; height:19px; ">
  157. <script type="javascript" ev:event="onkeypress">
  158. <![CDATA[
  159. inputEnterKey("btn_search", "DOMActivate");
  160. ]]>
  161. </script>
  162. </input>
  163. <input id="ipt_chldrnresdnrgst2" ref="/root/send/searchlist/rrgstno2" class="input_default" maxlength="7" style="left:388px; top:19px; width:70px; height:19px; ">
  164. <script type="javascript" ev:event="onkeypress">
  165. <![CDATA[
  166. inputEnterKey("btn_search", "DOMActivate");
  167. ]]>
  168. </script>
  169. </input>
  170. <caption id="caption5" class="search_name" style="left:466px; top:20px; width:60px; height:17px; ">성명:</caption>
  171. <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" imemode="hangul" style="left:526px; top:19px; width:105px; height:19px; ">
  172. <script type="javascript" ev:event="onkeypress">
  173. <![CDATA[
  174. inputEnterKey("btn_search", "DOMActivate");
  175. ]]>
  176. </script>
  177. </input>
  178. <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:675px; top:20px; width:144px; height:19px; ">
  179. <choices>
  180. <itemset>
  181. <label/>
  182. <value/>
  183. </itemset>
  184. </choices>
  185. </select1>
  186. <datagrid id="grd_disadiffpayinst" nodeset="/root/main/disadiffpay/disadiffpayinst" caption="기관^총건수^인원수^기관코드^작업월^caption1^caption2^caption3" colsep="^" colwidth="137, 62, 58, 100, 43" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:74px; width:280px; height:640px; ">
  187. <col ref="instnm"/>
  188. <col ref="cnt" format="#,###" style="text-align:right; "/>
  189. <col ref="mancnt" format="#,###" style="text-align:right; "/>
  190. <col ref="instcd" visibility="hidden"/>
  191. <col ref="notiym" visibility="hidden"/>
  192. <script type="javascript" ev:event="onrowchanged">
  193. <![CDATA[
  194. grd_disadiffpayinst.subtotal("clear", 0, 0);
  195. grd_disadiffpayinst.subtotalPosition = "below";
  196. grd_disadiffpayinst.multiTotals = true;
  197. grd_disadiffpayinst.subtotal("sum", -1, 3, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "총합계", false);
  198. grd_disadiffpayinst.subtotal("sum", -1, 2, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "총합계", false);
  199. var rrgstno1=model.getValue("/root/send/searchlist/rrgstno1");
  200. var rrgstno2=model.getValue("/root/send/searchlist/rrgstno2");
  201. var emplnm=model.getValue("/root/send/searchlist/emplnm");
  202. model.makeValue("/root/main/disadiffpay/disadiffpayinst/rrgstno1",rrgstno1);
  203. model.makeValue("/root/main/disadiffpay/disadiffpayinst/rrgstno2",rrgstno2);
  204. model.makeValue("/root/main/disadiffpay/disadiffpayinst/emplnm",emplnm);
  205. model.makeValue("/root/main/disadiffpay/disadiffpayinst/infoworkgbn","M");
  206. misfMsterDetailRetrieve();
  207. grd_insurancelist.subtotalposition = "below";
  208. grd_insurancelist.subtotal("clear", 0, 0);
  209. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("instcd") , grd_insurancelist.colRef("prestmmbamt"), "format:(-)#,###; ", "background-color:#ffcc99; font-weight:bold; ", 2, "총계");
  210. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("instcd") , grd_insurancelist.colRef("layoff"), "format:(-)#,###; ", "background-color:#ffcc99; font-weight:bold; ", 2, "총계");
  211. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("instcd") , grd_insurancelist.colRef("totretc"), "format:(-)#,###; ", "background-color:#ffcc99; font-weight:bold; ", 2, "총계");
  212. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("instcd") , grd_insurancelist.colRef("groupretc"), "format:(-)#,###; ", "background-color:#ffcc99; font-weight:bold; ", 2, "총계");
  213. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("instcd") , grd_insurancelist.colRef("loadamt"), "format:(-)#,###; ", "background-color:#ffcc99; font-weight:bold; ", 2, "총계");
  214. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("instcd") , grd_insurancelist.colRef("totamt"), "format:(-)#,###; ", "background-color:#ffcc99; font-weight:bold; ", 2, "총계");
  215. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("instcd") , grd_insurancelist.colRef("adddeduamt"), "format:(-)#,###; ", "background-color:#ffcc99; font-weight:bold; ", 2, "총계");
  216. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("instcd") , grd_insurancelist.colRef("paytotamt"), "format:(-)#,###; ", "background-color:#ffcc99; font-weight:bold; ", 2, "총계");
  217. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("jobgrad") , grd_insurancelist.colRef("prestmmbamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  218. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("jobgrad") , grd_insurancelist.colRef("layoff"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  219. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("jobgrad") , grd_insurancelist.colRef("totretc"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  220. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("jobgrad") , grd_insurancelist.colRef("groupretc"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  221. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("jobgrad") , grd_insurancelist.colRef("loadamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  222. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("jobgrad") , grd_insurancelist.colRef("totamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  223. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("jobgrad") , grd_insurancelist.colRef("adddeduamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  224. grd_insurancelist.subtotal("sum",grd_insurancelist.colRef("jobgrad") , grd_insurancelist.colRef("paytotamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  225. ]]>
  226. </script>
  227. </datagrid>
  228. <button id="btn_exceldetail" class="btn2_letter4" style="left:1125px; top:48px; width:64px; height:19px; ">
  229. <caption>엑셀저장</caption>
  230. <script type="javascript" ev:event="DOMActivate">
  231. <![CDATA[
  232. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  233. if (fileName != "")
  234. {
  235. grd_insurancelist.saveExcel(fileName, "SheetName", true, true, "", "");
  236. }
  237. ]]>
  238. </script>
  239. </button>
  240. <button id="button1" class="btn2_letter4" style="left:210px; top:48px; width:64px; height:19px; ">
  241. <caption>엑셀저장</caption>
  242. <script type="javascript" ev:event="DOMActivate">
  243. <![CDATA[
  244. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  245. if (fileName != "")
  246. {
  247. grd_disadiffpayinst.saveExcel(fileName, "SheetName", true, true, "", "");
  248. }
  249. ]]>
  250. </script>
  251. </button>
  252. </group>
  253. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  254. <button id="btn_init" class="btn4_letter3" style="left:1119px; top:3px; width:68px; height:22px; ">
  255. <caption>초기화</caption>
  256. <script type="javascript" ev:event="DOMActivate">
  257. <![CDATA[
  258. fInitialize();
  259. ]]>
  260. </script>
  261. </button>
  262. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  263. <button id="button2" class="btn4_letter5" style="left:1025px; top:3px; width:92px; height:22px; ">
  264. <caption>내역서출력</caption>
  265. <script type="javascript" ev:event="DOMActivate">
  266. <![CDATA[
  267. if(!isRequiredControls("ipt_notiym"))return;
  268. fPrint();
  269. ]]>
  270. </script>
  271. </button>
  272. </group>
  273. </xhtml:body>
  274. </xhtml:html>