SMRWY06000_연금공단신고자료조회.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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. <decltaxtotamt>
  11. <decltaxtotamtlist/>
  12. </decltaxtotamt>
  13. </main>
  14. <init>
  15. <temp/>
  16. </init>
  17. <send>
  18. <decltaxtotamt>
  19. <calcyy/>
  20. <emplno/>
  21. <emplnm/>
  22. <prfshipflag/>
  23. <deptcd/>
  24. <deptnm/>
  25. <instcd/>
  26. <queryflag>B</queryflag>
  27. </decltaxtotamt>
  28. <attach>
  29. <file/>
  30. <calcyy/>
  31. <queryflag/>
  32. </attach>
  33. </send>
  34. <hidden/>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. /* Combo Data Setting
  40. misfComboComCdListMulti(공통코드군, Combo) */
  41. misfGridInit(grd_decltaxtotamtlist);
  42. //model.removeNodeset(grd_yyendapplist.nodeset);
  43. model.refresh();
  44. var nowdate = getCurrentDate();
  45. var yy = nowdate.substring(0,4);
  46. var mm = nowdate.substring(4,6);
  47. var yyyymm = nowdate.substring(0,6);
  48. if (mm == "01" || mm == "02") {
  49. yy = parseInt(yy) - 1;
  50. yyyymm = yy + "12";
  51. }
  52. ipt_deduyy.value =yy;
  53. cmb_instcd.value = getUserInfo("dutplceinstcd");
  54. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  55. misfComboComCdListMulti("R0058","cmb_prfshipflag");
  56. addComboItem( "cmb_prfshipflag", "[ 전체 ]", "", "above");
  57. model.setValue(cmb_prfshipflag.attribute("ref"), "");
  58. misfGetUserAuth();
  59. if (DUTY_PAY_YN == "Y" ) {
  60. cmb_instcd.disabled = false;
  61. }
  62. else {
  63. cmb_instcd.disabled = true;
  64. }
  65. ]]>
  66. </script>
  67. <submission id="TRRWY06001" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/attach" resultref="/root/main/decltaxtotamt"/>
  68. <submission id="TRRWY06002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/decltaxtotamt" resultref="/root/main/decltaxtotamt"/>
  69. </model>
  70. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  73. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  74. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  75. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  76. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  77. <script type="javascript">
  78. <![CDATA[
  79. var fso=new ActiveXObject("Scripting.FileSystemObject");
  80. function fExcelUpload() {
  81. var maxsize = upload1.attribute("filesize");
  82. var filename = window.fileDialog("open", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  83. var filelist = filename.split("|");
  84. model.removeNodeset("/root/main/list/filelist");
  85. model.removeNodeset("/root/send/attach");
  86. //타이틀을 획득한다.
  87. var s = new String(filelist[filelist.length-1]);
  88. var ss = s.split("\\");
  89. if(filename !=""){
  90. //작업 전 row를 추가 >파일명 유/무에 따른 분기>
  91. for(var i = 0 ; i < filelist.length ; i++ ){
  92. grd_attach.addRow(false);
  93. if(filelist[i] == ""){
  94. //alert(grd_attach.rows - 1);
  95. grd_attach.removeRow(false);
  96. grd_attach.refresh();
  97. }else{
  98. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  99. //파일크기('tfHelper.checkFileSize' 참조)
  100. var fileCnt = upload1.getFileCount();
  101. var lastIndex = fileCnt - 1;
  102. var fileSize = upload1.getFileSize(lastIndex);
  103. grd_attach.textmatrix(grd_attach.rows - 1,1) = fileSize;
  104. if (!checkFileSize(upload1)){
  105. grd_attach.removeItem();
  106. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  107. return;
  108. }
  109. }
  110. }
  111. model.makeValue("/root/send/attach/calcyy",ipt_deduyy.value);
  112. model.makeValue("/root/send/attach/queryflag","A");
  113. openLoadingBar("파일업로드 작업중입니다... ") ;
  114. submit("TRRWY06001");
  115. closeLoadingBar();
  116. }
  117. }
  118. ]]>
  119. </script>
  120. </xhtml:head>
  121. <xhtml:body style="margin-left:8; margin-right:8; ">
  122. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  123. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">연금공단 신고 자료 조회</caption>
  124. </group>
  125. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  126. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  127. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:19px; width:56px; height:22px; ">
  128. <caption>조회</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. submit("TRRWY06002");
  132. ]]>
  133. </script>
  134. </button>
  135. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:48px; "/>
  136. <line id="line9" class="line_1" style="x1:2px; y1:74px; x2:1192px; y2:74px; "/>
  137. <caption id="caption34" class="tit_2" style="left:5px; top:58px; width:144px; height:14px; ">신고 자료 List</caption>
  138. <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:53px; width:64px; height:19px; ">
  139. <caption>엑셀저장</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  143. if (fileName != "")
  144. {
  145. grd_decltaxtotamtlist.saveExcel(fileName);
  146. window.exec(fileName);
  147. }
  148. ]]>
  149. </script>
  150. </button>
  151. <datagrid id="grd_decltaxtotamtlist" nodeset="/root/main/decltaxtotamt/decltaxtotamtlist" caption="사번^성명^주민번호^소득월^소득금액|사번^성명^주민번호^소득월^소득금액" colsep="^" colwidth="107, 124, 158, 100, 169" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectfontcolorstyle="invert" selectionmode="free" style="left:0px; top:80px; width:1193px; height:658px; ">
  152. <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
  153. <col ref="emplnm"/>
  154. <col ref="rregno" format="999999-9999999" style="text-align:center; vertical-align:middle; "/>
  155. <col ref="payym" format="yyyy-mm" style="text-align:center; vertical-align:middle; "/>
  156. <col ref="taxtotamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
  157. </datagrid>
  158. <input id="ipt_deduyy" ref="/root/send/decltaxtotamt/calcyy" class="input_s_essential" style="left:82px; top:18px; width:50px; height:19px; "/>
  159. <caption id="caption3" class="search_name" style="left:2px; top:19px; width:84px; height:17px; ">기준년도:</caption>
  160. <input id="ipt_emplnm" ref="/root/send/decltaxtotamt/emplnm" class="input_default" navindex="21" style="left:979px; top:18px; width:61px; height:19px; ">
  161. <script type="javascript" ev:event="onkeyup">
  162. <![CDATA[
  163. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  164. inputEnterKey("ipt_emplno", "xforms-value-changed");
  165. }
  166. ]]>
  167. </script>
  168. <script type="javascript" ev:event="xforms-value-changed">
  169. <![CDATA[
  170. var recv_list = "emplno,emplnm";
  171. rpbfValidationCheck("EMPLNM", recv_list);
  172. model.refresh();
  173. ]]>
  174. </script>
  175. </input>
  176. <caption id="cap_emplno" class="search_name" style="left:839px; top:19px; width:56px; height:17px; ">사번:</caption>
  177. <input id="ipt_emplno" ref="/root/send/decltaxtotamt/emplno" class="input_default" navindex="20" style="left:894px; top:18px; width:64px; height:19px; ">
  178. <script type="javascript" ev:event="onkeyup">
  179. <![CDATA[
  180. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  181. inputEnterKey("ipt_emplno", "xforms-value-changed");
  182. }
  183. ]]>
  184. </script>
  185. <script type="javascript" ev:event="xforms-value-changed">
  186. <![CDATA[
  187. var recv_list = "emplno,emplnm";
  188. rpbfValidationCheck("EMPLNO", recv_list);
  189. model.refresh();
  190. ]]>
  191. </script>
  192. </input>
  193. <button id="btn_emplsearch" class="icon_search" style="left:959px; top:18px; width:16px; height:16px; ">
  194. <caption/>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. var recv_list = "emplno,emplnm";
  198. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  199. model.refresh();
  200. ]]>
  201. </script>
  202. </button>
  203. <select1 id="cmb_prfshipflag" ref="/root/send/decltaxtotamt/prfshipflag" class="combo_s_essential" appearance="minimal" style="left:437px; top:19px; width:85px; height:19px; ">
  204. <choices>
  205. <itemset>
  206. <label/>
  207. <value/>
  208. </itemset>
  209. </choices>
  210. </select1>
  211. <caption id="caption1" class="search_name" style="left:358px; top:19px; width:81px; height:17px; ">교직구분:</caption>
  212. <caption id="caption4" class="search_name" style="left:554px; top:21px; width:61px; height:17px; ">부서:</caption>
  213. <input id="ipt_deptnm" ref="/root/send/decltaxtotamt/deptnm" class="input_default" style="left:710px; top:19px; width:100px; height:19px; ">
  214. <script type="javascript" ev:event="xforms-value-changed">
  215. <![CDATA[
  216. misfValidationCheck("02", "", "deptcd,deptnm" );
  217. model.refresh();
  218. ]]>
  219. </script>
  220. </input>
  221. <button id="btn_deptcd" class="icon_search" style="left:689px; top:19px; width:16px; height:16px; ">
  222. <caption/>
  223. <script type="javascript" ev:event="DOMActivate">
  224. <![CDATA[
  225. var recv_list = "deptcd,deptnm";
  226. var instcd = cmb_instcd.value;
  227. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
  228. model.refresh();
  229. ]]>
  230. </script>
  231. </button>
  232. <input id="ipt_deptcd" ref="/root/send/decltaxtotamt/deptcd" class="input_default" style="left:610px; top:19px; width:74px; height:19px; ">
  233. <script type="javascript" ev:event="xforms-value-changed">
  234. <![CDATA[
  235. misfValidationCheck("02", "", "deptcd,deptnm" );
  236. model.refresh();
  237. ]]>
  238. </script>
  239. </input>
  240. <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="41943040" validate="true" style="left:890px; top:50px; width:25px; height:20px; "/>
  241. <button id="btn_upload" class="btn5_letter5" style="left:1045px; top:53px; width:75px; height:19px; ">
  242. <caption>excel조회</caption>
  243. <script type="javascript" ev:event="DOMActivate">
  244. <![CDATA[
  245. fExcelUpload();
  246. ]]>
  247. </script>
  248. </button>
  249. <datagrid id="grd_attach" nodeset="/root/send/attach" class="datagrid1" visibility="hidden" caption="File Name^File Size" colsep="^" colwidth="403, 93" dataheight="23" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:605px; top:430px; width:510px; height:100px; ">
  250. <col ref="file" style="text-align:center; "/>
  251. <col ref="filesize" format="#,###" style="text-align:right; "/>
  252. </datagrid>
  253. <select1 id="cmb_instcd" ref="/root/send/decltaxtotamt/instcd" class="combo_s_essential" appearance="minimal" style="left:205px; top:18px; width:125px; height:19px; ">
  254. <choices>
  255. <itemset>
  256. <label/>
  257. <value/>
  258. </itemset>
  259. </choices>
  260. </select1>
  261. <caption id="caption2" class="search_name" style="left:151px; top:19px; width:55px; height:17px; ">기관:</caption>
  262. </group>
  263. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  264. </xhtml:body>
  265. </xhtml:html>