전자납부번호 MASK 함수 추가.

main
jjh 1 year ago
parent a8cc0dedca
commit 8ce0298999

@ -859,6 +859,7 @@
, SD.ADDR_CHG_CD <!-- 주소 변경 코드 -->
, SD.TAX_NO <!-- 납세 번호 -->
, SD.EPAYNO <!-- 전자납부번호 -->
, GET_MASK_EPAYNO(SD.EPAYNO) AS EPAYNO_MASK <!-- 전자납부번호 -->
, SD.BANK_NM <!-- 은행 명 -->
, SD.VR_ACTNO <!-- 가상 계좌번호 -->
, SD.BANK_NM_2 <!-- 은행 명 2 -->

@ -466,9 +466,6 @@
});
});
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
// DataTables 스크롤 이벤트
$("#table-responsive--${pageName}").scroll(function() {
let el = $(this);
@ -510,6 +507,9 @@
$("#schLevyExclYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-30).date);
$("#schLevyExclYmdTo--${pageName}").datepicker("setDate", new Date());
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
}
// URL 설정

@ -488,9 +488,6 @@
});
});
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
// DataTables 스크롤 이벤트
$("#table-responsive--${pageName}").scroll(function() {
let el = $(this);
@ -532,6 +529,9 @@
$("#schRcptYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-30).date);
$("#schRcptYmdTo--${pageName}").datepicker("setDate", new Date());
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
}
// URL 설정

@ -369,9 +369,6 @@
});
});
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
// DataTables 스크롤 이벤트
$("#table-responsive--${pageName}").scroll(function() {
let el = $(this);
@ -413,6 +410,9 @@
$("#schReRegYmdFrom--${pageName}").datepicker("setDate", new Date());
$("#schReRegYmdTo--${pageName}").datepicker("setDate", new Date());
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
}
// URL 설정

@ -395,9 +395,6 @@
});
});
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
// DataTables 스크롤 이벤트
$("#table-responsive--${pageName}").scroll(function() {
let el = $(this);
@ -439,6 +436,9 @@
$("#schCrdnYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-90).date);
$("#schCrdnYmdTo--${pageName}").datepicker("setDate", new Date());
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
}
// URL 설정

@ -36,34 +36,36 @@
<div class="row g-1">
<!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap">
<div id="DataTables_Table_0_wrapper--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer">
<div id="table-responsive--${pageName}" class="table-responsive" style="overflow-x:scroll; height:336px; overflow-y:scroll;" >
<table class="dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
<thead>
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
<div class="table-responsive" id="table-responsive--${pageName}" style="overflow-x:scroll; height:336px; overflow-y:scroll;" >
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer"
id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
<thead class="sticky-thead">
<tr id="theadTr--${pageName}">
<th>수납</th>
<th>발송구분</th>
<th>발송일자</th>
<th>납기일자</th>
<th>등기번호</th>
<th>성명</th>
<th>주소</th>
<th>상세주소</th>
<th>우편번호</th>
<th>회계연도</th>
<th>부과번호</th>
<th>금액</th>
<th>배달일자</th>
<th>배달시각</th>
<th>미배달사유</th>
<th>수령인</th>
<th>수령인관계</th>
<th>공시송달일자</th>
<th>처리상태</th>
<th>등록일시</th>
<th>등록사용자</th>
<th>수정일시</th>
<th>수정사용자</th>
<th class="cmn" style="width: 140px">수납</th>
<th class="cmn" style="width: 140px">발송구분</th>
<th class="cmn" style="width: 140px">발송일자</th>
<th class="cmn" style="width: 140px">납기일자</th>
<th class="cmn" style="width: 140px">등기번호</th>
<th class="cmn" style="width: 140px">성명</th>
<th class="cmn" style="width: 140px">주소</th>
<th class="cmn" style="width: 140px">상세주소</th>
<th class="cmn" style="width: 140px">우편번호</th>
<th class="cmn" style="width: 140px">회계연도</th>
<th class="cmn" style="width: 140px">부과번호</th>
<th class="cmn" style="width: 140px">금액</th>
<th class="cmn" style="width: 140px">배달일자</th>
<th class="cmn" style="width: 140px">배달시각</th>
<th class="cmn" style="width: 140px">미배달사유</th>
<th class="cmn" style="width: 140px">수령인</th>
<th class="cmn" style="width: 140px">수령인관계</th>
<th class="cmn" style="width: 140px">공시송달일자</th>
<th class="cmn" style="width: 140px">처리상태</th>
<th class="cmn" style="width: 140px">등록일시</th>
<th class="cmn" style="width: 140px">등록사용자</th>
<th class="cmn" style="width: 140px">수정일시</th>
<th class="cmn" style="width: 140px">수정사용자</th>
<th class="cmn dummy-th"></th>
</tr>
</thead>
<tbody id="tbody--${pageName}">
@ -81,7 +83,7 @@
<td class="text-center" onclick="{onclick}">{RTPYR_ZIP}</td>
<td class="text-center" onclick="{onclick}">{FYR}</td>
<td class="text-center" onclick="{onclick}">{LEVY_NO}</td>
<td class="text-end" onclick="{onclick}">{LEVY_SUM_AMT}</td>
<td class="text-end" onclick="{onclick}">{SUM_AMT}</td>
<td class="text-center" onclick="{onclick}">{DLVR_YMD}</td>
<td class="text-center" onclick="{onclick}">{DLVR_TM}</td>
<td class="text-start" onclick="{onclick}">{UNDLVR_RSN_NM}</td>
@ -93,11 +95,12 @@
<td class="text-center" onclick="{onclick}">{RGTR_NM}</td>
<td class="text-center" onclick="{onclick}">{MDFCN_DT}</td>
<td class="text-center" onclick="{onclick}">{MDFR_NM}</td>
<td class="cmn dummy-td"></td>
</tr>
</template>
<template id="${infoPrefix}NotFound--${pageName}">
<tr class="odd">
<td valign="top" colspan="23" class="dataTables_empty text-center">발송 정보를 찾지 못했습니다.</td>
<td valign="top" colspan="24" class="dataTables_empty text-center">발송 정보를 찾지 못했습니다.</td>
</tr>
</template>
</table>
@ -150,17 +153,19 @@
<div class="row g-1">
<!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap">
<div id="DataTables_Table_0_wrapper--${pageName}${pageDataName2}" class="dataTables_wrapper dt-bootstrap5 no-footer">
<div id="table-responsive--${pageName}${pageDataName2}" class="table-responsive" style="overflow-x:scroll; height:200px; overflow-y:scroll;" >
<table class="dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}${pageDataName2}" aria-describedby="DataTables_Table_0_info">
<thead>
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}${pageDataName2}">
<div class="table-responsive" id="table-responsive--${pageName}${pageDataName2}" style="overflow-x:scroll; height:200px; overflow-y:scroll;" >
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer"
id="DataTables_Table_0--${pageName}${pageDataName2}" aria-describedby="DataTables_Table_0_info">
<thead class="sticky-thead">
<tr id="theadTr--${pageName}${pageDataName2}">
<th>공시송달일자</th>
<th>제목</th>
<th>문서번호</th>
<th>기타내용</th>
<th>등록일시</th>
<th>등록사용자</th>
<th class="cmn" style="width: 140px">공시송달일자</th>
<th class="cmn" style="width: 140px">제목</th>
<th class="cmn" style="width: 140px">문서번호</th>
<th class="cmn" style="width: 140px">기타내용</th>
<th class="cmn" style="width: 140px">등록일시</th>
<th class="cmn" style="width: 140px">등록사용자</th>
<th class="cmn dummy-th"></th>
</tr>
</thead>
<tbody id="tbody--${pageName}${pageDataName2}">
@ -173,11 +178,12 @@
<td class="text-center" onclick="{onclick}">{ETC_CN}</td>
<td class="text-center" onclick="{onclick}">{REG_DT}</td>
<td class="text-center" onclick="{onclick}">{RGTR_NM}</td>
<td class="cmn dummy-td"></td>
</tr>
</template>
<template id="${infoPrefix}NotFound--${pageName}${pageDataName2}">
<tr class="odd">
<td valign="top" colspan="6" class="dataTables_empty text-center">공시송달 정보를 찾지 못했습니다.</td>
<td valign="top" colspan="7" class="dataTables_empty text-center">공시송달 정보를 찾지 못했습니다.</td>
</tr>
</template>
</table>
@ -230,22 +236,20 @@
// 가상계좌번호
let vrActno = "";
if (item.data.BANK_NM != null) vrActno += item.data.BANK_NM + " " + item.data.VR_ACTNO + "\n"; // 가상 계좌번호
if (item.data.BANK_NM_2 != null) vrActno += item.data.BANK_NM_2 + " " + item.data.VR_ACTNO_2 + "\n"; // 가상 계좌번호2
if (item.data.BANK_NM_3 != null) vrActno += item.data.BANK_NM_3 + " " + item.data.VR_ACTNO_3 + "\n"; // 가상 계좌번호3
if (item.data.BANK_NM_4 != null) vrActno += item.data.BANK_NM_4 + " " + item.data.VR_ACTNO_4 + "\n"; // 가상 계좌번호4
if (item.data.BANK_NM_5 != null) vrActno += item.data.BANK_NM_5 + " " + item.data.VR_ACTNO_5 + "\n"; // 가상 계좌번호5
if (item.data.BANK_NM_6 != null) vrActno += item.data.BANK_NM_6 + " " + item.data.VR_ACTNO_6 + "\n"; // 가상 계좌번호6
if (item.data.BANK_NM_7 != null) vrActno += item.data.BANK_NM_7 + " " + item.data.VR_ACTNO_7 + "\n"; // 가상 계좌번호7
if (item.data.BANK_NM_8 != null) vrActno += item.data.BANK_NM_8 + " " + item.data.VR_ACTNO_8 + "\n"; // 가상 계좌번호8
if (item.data.BANK_NM_9 != null) vrActno += item.data.BANK_NM_9 + " " + item.data.VR_ACTNO_9 + "\n"; // 가상 계좌번호9
if (item.data.BANK_NM_10 != null) vrActno += item.data.BANK_NM_10 + " " + item.data.VR_ACTNO_10 + "\n"; // 가상 계좌번호10
if (item.data.BANK_NM_11 != null) vrActno += item.data.BANK_NM_11 + " " + item.data.VR_ACTNO_11; // 가상 계좌번호11
$("#vrActno--${pageName}").val(vrActno);
// 전자납부번호
$("#epayno--${pageName}").val(item.data.EPAYNO);
if (item.data.BANK_NM != "") vrActno += item.data.BANK_NM + " " + item.data.VR_ACTNO + "\n"; // 가상 계좌번호
if (item.data.BANK_NM_2 != "") vrActno += item.data.BANK_NM_2 + " " + item.data.VR_ACTNO_2 + "\n"; // 가상 계좌번호2
if (item.data.BANK_NM_3 != "") vrActno += item.data.BANK_NM_3 + " " + item.data.VR_ACTNO_3 + "\n"; // 가상 계좌번호3
if (item.data.BANK_NM_4 != "") vrActno += item.data.BANK_NM_4 + " " + item.data.VR_ACTNO_4 + "\n"; // 가상 계좌번호4
if (item.data.BANK_NM_5 != "") vrActno += item.data.BANK_NM_5 + " " + item.data.VR_ACTNO_5 + "\n"; // 가상 계좌번호5
if (item.data.BANK_NM_6 != "") vrActno += item.data.BANK_NM_6 + " " + item.data.VR_ACTNO_6 + "\n"; // 가상 계좌번호6
if (item.data.BANK_NM_7 != "") vrActno += item.data.BANK_NM_7 + " " + item.data.VR_ACTNO_7 + "\n"; // 가상 계좌번호7
if (item.data.BANK_NM_8 != "") vrActno += item.data.BANK_NM_8 + " " + item.data.VR_ACTNO_8 + "\n"; // 가상 계좌번호8
if (item.data.BANK_NM_9 != "") vrActno += item.data.BANK_NM_9 + " " + item.data.VR_ACTNO_9 + "\n"; // 가상 계좌번호9
if (item.data.BANK_NM_10 != "") vrActno += item.data.BANK_NM_10 + " " + item.data.VR_ACTNO_10 + "\n"; // 가상 계좌번호10
if (item.data.BANK_NM_11 != "") vrActno += item.data.BANK_NM_11 + " " + item.data.VR_ACTNO_11; // 가상 계좌번호11
$("#vrActno--${pageName}").val(vrActno); // 가상 계좌번호
$("#epayno--${pageName}").val(item.data.EPAYNO_MASK); // 전자납부번호
}
});
@ -322,7 +326,9 @@
// 화면 초기값 설정
setForm${pageName} = () => {
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
$("#DataTables_Table_0--${pageName}${pageDataName2}").find("th").resizable( {handles : "e"} );
}
/**************************************************************************

@ -155,7 +155,7 @@
<th class="cmn" style="width: 180px;">등록일시</th>
<th class="cmn" style="width: 140px;">등록사용자</th>
<th class="cmn" style="width: 140px;">단속상태</th>
<th class="cmn" style="width: 260px;">기타내용</th>
<th class="cmn" style="width: 280px;">기타내용</th>
<th class="cmn dummy-th"></th>
</tr>
</thead>
@ -536,7 +536,8 @@
**************************************************************************/
// 화면 초기화
initForm${pageName} = () => {
$("#frmEdit--${pageName}")[0].reset(); // 화면 초기화
$("#frmEdit--${pageName}${pageDataName1}")[0].reset();
$("#frmEdit--${pageName}${pageDataName2}")[0].reset();
}
// 이벤트 설정

Loading…
Cancel
Save