SMRPA08100_퇴직보수총액통보서.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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. <healthinsulist>
  11. <emplnm/>
  12. <rrgstno/>
  13. <certno/>
  14. <acqtdd/>
  15. <lossdd/>
  16. <totpayamt/>
  17. <yyremunrmmamt/>
  18. <jobmmcnt/>
  19. <remunrmmamt/>
  20. <retireyear/>
  21. <bftotpayamt/>
  22. <bfyyremunrmmamt/>
  23. <bfjobmmcnt/>
  24. <bfremunrmmamt/>
  25. <bfretireyear/>
  26. <avgremunrmmamt/>
  27. <totcalcamt/>
  28. </healthinsulist>
  29. </main>
  30. <send>
  31. <report>
  32. <notiym/>
  33. <instcd/>
  34. <rrgstno1/>
  35. <rrgstno2/>
  36. <emplnm/>
  37. </report>
  38. <save>
  39. <healthinsulist/>
  40. </save>
  41. </send>
  42. <temp>
  43. </temp>
  44. <init>
  45. </init>
  46. </root>
  47. </instance>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  52. <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. fInitialize();
  56. misfGridInit(grd_healthinsulist);
  57. misfMsterDetailSet(grd_healthinsulist, null, "TRRPA08101" ,"Y");
  58. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
  59. var instcd = getUserInfo("dutplceinstcd");
  60. cmb_instcd.value=instcd;
  61. ]]>
  62. </script>
  63. <submission id="TRRPA08101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/report" resultref="/root/main/healthinsulist"/>
  64. <submission id="TXRPA08101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  65. </model>
  66. <script type="javascript">
  67. <![CDATA[
  68. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  69. function fInitialize() {
  70. model.removeNodeset("/root/main/healthinsulist");
  71. model.resetInstanceNode("/root/send");
  72. model.refresh();
  73. var curDate = getCurrentDate().toDate();
  74. model.setValue("/root/send/report/notiym", curDate.getDateFormat('YYYYMM'));
  75. }
  76. function fPrint() {
  77. model.makeNode("/root/send/report/selectinstnm");
  78. model.makeNode("/root/send/report/unitbizplceno");
  79. model.makeNode("/root/send/report/retircalcamt");
  80. model.makeNode("/root/send/report/notiym");
  81. var selectInstnm="";
  82. var unitbizplceno=grd_healthinsulist.valueMatrix(3,grd_healthinsulist.colRef("unitbizplceno"));
  83. var notiym = grd_healthinsulist.valueMatrix(3,grd_healthinsulist.colRef("notiym"));
  84. var retircalcamt= ipt_retircalcamt.value;
  85. if(cmb_instcd.value==""){
  86. selectInstnm="전체";
  87. }else{
  88. selectInstnm=cmb_instcd.label;
  89. }
  90. //var notiympayamt=grd_healthinsulist.valueMatrix(2,grd_healthinsulist.colRef("notiympayamt"));
  91. //grd_healthinsulist.valueMatrix(2,grd_healthinsulist.colRef("notiympayamt"))=0;
  92. model.setValue("/root/send/report/selectinstnm", selectInstnm);
  93. model.setValue("/root/send/report/unitbizplceno", unitbizplceno);
  94. model.setValue("/root/send/report/retircalcamt",retircalcamt);
  95. model.setValue("/root/send/report/notiym", notiym);
  96. exeReportPreview("RPRPA05800", "XMLSTR", "/root/send/report");
  97. //grd_healthinsulist.valueMatrix(2,grd_healthinsulist.colRef("notiympayamt"))=notiympayamt;
  98. }
  99. ]]>
  100. </script>
  101. </xhtml:head>
  102. <xhtml:body style="margin-left:8; margin-right:8; ">
  103. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  104. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">퇴직 보수총액 통보서</caption>
  105. </group>
  106. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  107. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  108. <caption id="cap_notiym" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">고지년월:</caption>
  109. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  110. <caption>조회</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. if(!isRequiredControls("ipt_notiym"))return;
  114. misfGridInit(grd_healthinsulist);
  115. model.removeNodeset("/root/main/healthinsulist");
  116. submit("TRRPA08101");
  117. model.refresh();
  118. ]]>
  119. </script>
  120. </button>
  121. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  122. <input id="ipt_notiym" ref="/root/send/report/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:18px; width:80px; height:19px; "/>
  123. <select1 id="cmb_instcd" ref="/root/send/report/instcd" class="combo_s_essential" appearance="minimal" style="left:285px; top:18px; width:110px; height:19px; ">
  124. <choices>
  125. <itemset>
  126. <label/>
  127. <value/>
  128. </itemset>
  129. </choices>
  130. </select1>
  131. <caption id="cap_instcd" class="search_name" style="left:200px; top:20px; width:86px; height:17px; ">기 관:</caption>
  132. <line id="line207" class="line_1" style="x1:0; y1:69; x2:1195; y2:69px; "/>
  133. <caption id="caption9" class="tit_2" style="left:10px; top:54px; width:219px; height:14px; ">퇴직 보수총액 통보서</caption>
  134. <datagrid id="grd_healthinsulist" nodeset="/root/main/healthinsulist" caption="성명^주민등록번호^증번호^취득일^상실일^당해년도^당해년도^당해년도^당해년도^당해년도^전년도^전년도^전년도^전년도^전년도^3개월&#xA;평균보수^정산보험료|성명^주민등록번호^증번호^취득일^상실일^납부총액^년보수총액^근무월수^보수월액^휴직기간^납부총액^년보수총액^근무월수^보수월액^휴직기간^3개월&#xA;평균보수^정산보험료" colwidth="60, 95, 75, 70, 70, 70, 75, 60, 70, 60, 70, 75, 60, 70, 60, 65, 68" dataheight="25" ellipsis="true" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1194px; height:636px; text-align:center; ">
  135. <col ref="emplnm" type="output" style="text-align:center; "/>
  136. <col ref="rrgstno" type="output" format="999999-9999999" style="text-align:center; "/>
  137. <col ref="certno"/>
  138. <col ref="acqtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  139. <col ref="lossdd" format="yyyy-mm-dd" style="text-align:center; "/>
  140. <col ref="totpayamt" savetype="digit" format="(-)#,###" style="text-align:right; "/>
  141. <col ref="yyremunrmmamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  142. <col ref="jobmmcnt" style="text-align:center; "/>
  143. <col ref="remunrmmamt" savetype="digit" format="(-)#,###" style="text-align:right; "/>
  144. <col ref="retireyear" style="text-align:left; "/>
  145. <col ref="bftotpayamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  146. <col ref="bfyyremunrmmamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  147. <col ref="bfjobmmcnt" type="output" format="(-)#,###" style="text-align:right; "/>
  148. <col ref="bfremunrmmamt" savetype="digit" type="output" format="(-)#,###" style="text-align:right; "/>
  149. <col ref="bfretireyear" type="output" format="(-)#,###" style="text-align:left; "/>
  150. <col ref="avgremunrmmamt" savetype="digit" format="(-)#,###" style="text-align:right; "/>
  151. <col ref="totcalcamt" savetype="digit" type="input" format="(-)#,###" style="text-align:right; "/>
  152. </datagrid>
  153. <caption id="caption32" style="left:576px; top:20px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  154. <caption id="caption34" class="search_name" style="left:416px; top:19px; width:99px; height:17px; ">주민번호:</caption>
  155. <input id="ipt_emplnm" ref="/root/send/report/emplnm" class="input_search" imemode="hangul" style="left:757px; top:18px; width:100px; height:19px; ">
  156. <script type="javascript" ev:event="onkeyup">
  157. <![CDATA[
  158. inputEnterKey("btn_search", "DOMActivate");
  159. ]]>
  160. </script>
  161. </input>
  162. <input id="ipt_chldrnresdnrgst1" ref="/root/send/report/rrgstno1" class="input_search" maxlength="6" style="left:497px; top:18px; width:80px; height:19px; ">
  163. <script type="javascript" ev:event="onkeypress">
  164. <![CDATA[
  165. inputEnterKey("btn_search", "DOMActivate");
  166. ]]>
  167. </script>
  168. <script type="javascript" ev:event="onkeyup">
  169. <![CDATA[
  170. inputEnterKey("btn_search", "DOMActivate");
  171. ]]>
  172. </script>
  173. </input>
  174. <input id="ipt_chldrnresdnrgst2" ref="/root/send/report/rrgstno2" class="input_search" maxlength="8" style="left:594px; top:18px; width:80px; height:19px; ">
  175. <script type="javascript" ev:event="onkeypress">
  176. <![CDATA[
  177. inputEnterKey("btn_search", "DOMActivate");
  178. ]]>
  179. </script>
  180. <script type="javascript" ev:event="onkeyup">
  181. <![CDATA[
  182. inputEnterKey("btn_search", "DOMActivate");
  183. ]]>
  184. </script>
  185. </input>
  186. <caption id="caption37" class="search_name" style="left:697px; top:19px; width:60px; height:17px; ">성명:</caption>
  187. <button id="btn_exceldetail" class="btn2_letter4" style="left:1125px; top:48px; width:64px; height:19px; ">
  188. <caption>엑셀저장</caption>
  189. <script type="javascript" ev:event="DOMActivate">
  190. <![CDATA[
  191. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  192. if (fileName != "")
  193. {
  194. grd_healthinsulist.saveExcel(fileName, "sheetname:savetype", true, true, "", "");
  195. }
  196. ]]>
  197. </script>
  198. </button>
  199. </group>
  200. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  201. <button id="btn_init" class="btn4_letter3" style="left:1027px; top:3px; width:68px; height:22px; ">
  202. <caption>초기화</caption>
  203. <script type="javascript" ev:event="DOMActivate">
  204. <![CDATA[
  205. fInitialize();
  206. ]]>
  207. </script>
  208. </button>
  209. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  210. <button id="button1" class="btn4_letter5" style="left:1096px; top:3px; width:92px; height:22px; ">
  211. <caption>내역서출력</caption>
  212. <script type="javascript" ev:event="DOMActivate">
  213. <![CDATA[
  214. fPrint();
  215. //exeReportPreview("RPTPA05700", "XMLSTR");
  216. ]]>
  217. </script>
  218. </button>
  219. <button id="button2" class="btn4_letter6" style="left:922px; top:3px; width:104px; height:22px; ">
  220. <caption>급여퇴직정산</caption>
  221. <script type="javascript" ev:event="DOMActivate">
  222. <![CDATA[
  223. var updata =getGridUpdateData(grd_healthinsulist);
  224. if (updtdata == "") {
  225. messageBox("변경된 데이터가","I004");
  226. return;
  227. }
  228. for(i=grd_healthinsulist.fixedRows; i < grd_healthinsulist.rows;i++){
  229. grd_healthinsulist.addStatus(i,"update");
  230. }
  231. misfSave("TXRPA08101");
  232. ]]>
  233. </script>
  234. </button>
  235. </group>
  236. </xhtml:body>
  237. </xhtml:html>