|
@@ -14,7 +14,7 @@
|
|
|
* 1.0 2021.01.18 jsshin 최초 작성
|
|
* 1.0 2021.01.18 jsshin 최초 작성
|
|
|
*******************************************************************************
|
|
*******************************************************************************
|
|
|
-->
|
|
-->
|
|
|
-<div class="modalPopup" id="popupCustomerDetail" data-width="1600">
|
|
|
|
|
|
|
+<div class="modalPopup" data-width="1600">
|
|
|
<div class="panelStyle">
|
|
<div class="panelStyle">
|
|
|
<!-- TITLE -->
|
|
<!-- TITLE -->
|
|
|
<div class="panelTitle">
|
|
<div class="panelTitle">
|
|
@@ -148,7 +148,7 @@
|
|
|
<tr>
|
|
<tr>
|
|
|
<th class="dashR">자택주소</th>
|
|
<th class="dashR">자택주소</th>
|
|
|
<td class="dashR" colspan="3">
|
|
<td class="dashR" colspan="3">
|
|
|
- <input type="text" id="homePostNo" name="homePostNo" class="w100" readonly="readonly"/>
|
|
|
|
|
|
|
+ <input type="text" id="homeZipNo" name="homeZipNo" class="w100" readonly="readonly"/>
|
|
|
<button type="button" class="btn btn-info btn-lg" onclick="fnOpenDaumAddr('custInfoForm');">우편번호찾기</button>
|
|
<button type="button" class="btn btn-info btn-lg" onclick="fnOpenDaumAddr('custInfoForm');">우편번호찾기</button>
|
|
|
<br/>
|
|
<br/>
|
|
|
<input type="text" id="homeBaseAddr" name="homeBaseAddr" class="w300" readonly="readonly"/>
|
|
<input type="text" id="homeBaseAddr" name="homeBaseAddr" class="w300" readonly="readonly"/>
|
|
@@ -277,9 +277,9 @@
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th>전화번호</th>
|
|
<th>전화번호</th>
|
|
|
- <td>
|
|
|
|
|
- <input th:type="hidden" id="recipTelno" name="recipTelno">
|
|
|
|
|
- <select class="w100" id="telFirstNo" name="telFirstNo"/>
|
|
|
|
|
|
|
+ <td >
|
|
|
|
|
+ <input type="hidden" id="recipTelno" name="recipTelno"/>
|
|
|
|
|
+ <select class="w100" id="telFirstNo" name="telFirstNo">
|
|
|
<option value="">선택</option>
|
|
<option value="">선택</option>
|
|
|
<option th:if="${nationalNumberList}" th:each="oneData, status : ${nationalNumberList}"
|
|
<option th:if="${nationalNumberList}" th:each="oneData, status : ${nationalNumberList}"
|
|
|
th:value="${oneData.cd}" th:text="|${oneData.cd}|"></option>
|
|
th:value="${oneData.cd}" th:text="|${oneData.cd}|"></option>
|
|
@@ -291,7 +291,7 @@
|
|
|
</td>
|
|
</td>
|
|
|
<th>휴대전화번호<i class="star"></i></th>
|
|
<th>휴대전화번호<i class="star"></i></th>
|
|
|
<td colspan="4">
|
|
<td colspan="4">
|
|
|
- <input th:type="hidden" id="recipPhnno" name="recipPhnno"/>
|
|
|
|
|
|
|
+ <input type="hidden" id="recipPhnno" name="recipPhnno"/>
|
|
|
<select class="w100" id="recipFirstNo" name="recipFirstNo">
|
|
<select class="w100" id="recipFirstNo" name="recipFirstNo">
|
|
|
<option value="">선택</option>
|
|
<option value="">선택</option>
|
|
|
<option th:if="${nationalHpNumberList}" th:each="oneData, status : ${nationalHpNumberList}"
|
|
<option th:if="${nationalHpNumberList}" th:each="oneData, status : ${nationalHpNumberList}"
|
|
@@ -662,7 +662,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
{headerName: "쿠폰발행 상세사유", field: "pubReasonDtl", width: 300, cellClass: 'text-center'},
|
|
{headerName: "쿠폰발행 상세사유", field: "pubReasonDtl", width: 300, cellClass: 'text-center'},
|
|
|
- {headerName: "등록자", field: "regId", width: 100, cellClass: 'text-center'},
|
|
|
|
|
|
|
+ {headerName: "등록자", field: "regNm", width: 100, cellClass: 'text-center'},
|
|
|
{
|
|
{
|
|
|
headerName: "등록일시", field: "regDt", width: 150, cellClass: 'text-center',
|
|
headerName: "등록일시", field: "regDt", width: 150, cellClass: 'text-center',
|
|
|
cellRenderer: function (params) {
|
|
cellRenderer: function (params) {
|
|
@@ -785,8 +785,7 @@
|
|
|
{headerName: "수령자", field: "recipNm", width: 100, cellClass: 'text-center'},
|
|
{headerName: "수령자", field: "recipNm", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "전화번호", field: "recipTelno", width: 130, cellClass: 'text-center'},
|
|
{headerName: "전화번호", field: "recipTelno", width: 130, cellClass: 'text-center'},
|
|
|
{headerName: "휴대전화번호", field: "recipPhnno", width: 130, cellClass: 'text-center'},
|
|
{headerName: "휴대전화번호", field: "recipPhnno", width: 130, cellClass: 'text-center'},
|
|
|
- {headerName: "이메일", field: "recipEmail", width: 150, cellClass: 'text-center'},
|
|
|
|
|
- {headerName: "우편번호", field: "recipPostNo", width: 100, cellClass: 'text-center'},
|
|
|
|
|
|
|
+ {headerName: "우편번호", field: "recipZipNo", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "기본주소", field: "recipBaseAddr", width: 300, cellClass: 'text-left'},
|
|
{headerName: "기본주소", field: "recipBaseAddr", width: 300, cellClass: 'text-left'},
|
|
|
{headerName: "상세주소", field: "recipDtlAddr", width: 150, cellClass: 'text-left'},
|
|
{headerName: "상세주소", field: "recipDtlAddr", width: 150, cellClass: 'text-left'},
|
|
|
{
|
|
{
|
|
@@ -796,7 +795,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
{headerName: "삭제", field: "delYn", width: 50, cellClass: 'text-center'},
|
|
{headerName: "삭제", field: "delYn", width: 50, cellClass: 'text-center'},
|
|
|
- {headerName: "수정자", field: "updId", width: 100, cellClass: 'text-center'},
|
|
|
|
|
|
|
+ {headerName: "수정자", field: "updNm", width: 100, cellClass: 'text-center'},
|
|
|
{
|
|
{
|
|
|
headerName: "수정일시", field: "updDt", width: 150, cellClass: 'text-center',
|
|
headerName: "수정일시", field: "updDt", width: 150, cellClass: 'text-center',
|
|
|
cellRenderer: function (params) {
|
|
cellRenderer: function (params) {
|
|
@@ -947,13 +946,13 @@
|
|
|
return false;
|
|
return false;
|
|
|
|
|
|
|
|
// 전화번호
|
|
// 전화번호
|
|
|
- let telFirstNo = $('#custAddrForm input[name=telFirstNo]').val();
|
|
|
|
|
|
|
+ let telFirstNo = $('#custAddrForm select[name=telFirstNo]').val();
|
|
|
let telMiddleNo = $('#custAddrForm input[name=telMiddleNo]').val();
|
|
let telMiddleNo = $('#custAddrForm input[name=telMiddleNo]').val();
|
|
|
let telLastNo = $('#custAddrForm input[name=telLastNo]').val();
|
|
let telLastNo = $('#custAddrForm input[name=telLastNo]').val();
|
|
|
$('#custAddrForm input[name=recipTelno]').val(telFirstNo + '-' + telMiddleNo + '-' + telLastNo);
|
|
$('#custAddrForm input[name=recipTelno]').val(telFirstNo + '-' + telMiddleNo + '-' + telLastNo);
|
|
|
|
|
|
|
|
// 핸드폰번호 필수값 validation 함수에서 null 체크
|
|
// 핸드폰번호 필수값 validation 함수에서 null 체크
|
|
|
- let recipFirstNo = $('#custAddrForm input[name=recipFirstNo]').val();
|
|
|
|
|
|
|
+ let recipFirstNo = $('#custAddrForm select[name=recipFirstNo]').val();
|
|
|
let recipMiddleNo = $('#custAddrForm input[name=recipMiddleNo]').val();
|
|
let recipMiddleNo = $('#custAddrForm input[name=recipMiddleNo]').val();
|
|
|
let recipLastNo = $('#custAddrForm input[name=recipLastNo]').val();
|
|
let recipLastNo = $('#custAddrForm input[name=recipLastNo]').val();
|
|
|
$('#custAddrForm input[name=recipPhnno]').val(recipFirstNo + '-' + recipMiddleNo + '-' + recipLastNo);
|
|
$('#custAddrForm input[name=recipPhnno]').val(recipFirstNo + '-' + recipMiddleNo + '-' + recipLastNo);
|
|
@@ -1068,21 +1067,20 @@
|
|
|
if (!gagajf.isNull(event.data)) {
|
|
if (!gagajf.isNull(event.data)) {
|
|
|
$('#custAddrForm input[name=custDelvAddrSq]').val(event.data.custDelvAddrSq);
|
|
$('#custAddrForm input[name=custDelvAddrSq]').val(event.data.custDelvAddrSq);
|
|
|
$('#custAddrForm input[name=delvAddrNm]').val(event.data.delvAddrNm);
|
|
$('#custAddrForm input[name=delvAddrNm]').val(event.data.delvAddrNm);
|
|
|
- $('#custAddrForm input[name=recipEmail]').val(event.data.recipEmail);
|
|
|
|
|
$('#custAddrForm input[name=recipNm]').val(event.data.recipNm);
|
|
$('#custAddrForm input[name=recipNm]').val(event.data.recipNm);
|
|
|
|
|
|
|
|
if (!gagajf.isNull(event.data.recipPhnno)) {
|
|
if (!gagajf.isNull(event.data.recipPhnno)) {
|
|
|
let phnNoSplit = event.data.recipPhnno.split("-");
|
|
let phnNoSplit = event.data.recipPhnno.split("-");
|
|
|
- $('#custAddrForm input[name=recipFirstNo]').val(phnNoSplit[0]);
|
|
|
|
|
|
|
+ $('#custAddrForm select[name=recipFirstNo]').val(phnNoSplit[0]);
|
|
|
$('#custAddrForm input[name=recipMiddleNo]').val(phnNoSplit[1]);
|
|
$('#custAddrForm input[name=recipMiddleNo]').val(phnNoSplit[1]);
|
|
|
$('#custAddrForm input[name=recipLastNo]').val(phnNoSplit[2]);
|
|
$('#custAddrForm input[name=recipLastNo]').val(phnNoSplit[2]);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (!gagajf.isNull(event.data.recipTelno)) {
|
|
if (!gagajf.isNull(event.data.recipTelno)) {
|
|
|
let telNoSplit = event.data.recipTelno.split("-");
|
|
let telNoSplit = event.data.recipTelno.split("-");
|
|
|
- $('#custAddrForm input[name=telFirstNo]').val(telNoSplit[0]);
|
|
|
|
|
|
|
+ $('#custAddrForm select[name=telFirstNo]').val(telNoSplit[0]);
|
|
|
$('#custAddrForm input[name=telMiddleNo]').val(telNoSplit[1]);
|
|
$('#custAddrForm input[name=telMiddleNo]').val(telNoSplit[1]);
|
|
|
- $('#custAddrForm input[name=telLiastNo]').val(telNoSplit[2]);
|
|
|
|
|
|
|
+ $('#custAddrForm input[name=telLastNo]').val(telNoSplit[2]);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$('#custAddrForm input[name=recipZipNo]').val(event.data.recipZipNo);
|
|
$('#custAddrForm input[name=recipZipNo]').val(event.data.recipZipNo);
|
|
@@ -1125,7 +1123,7 @@
|
|
|
let snsType = fnGetSnsType(data.nvJoinId, data.kkJoinId, data.ysJoinId);
|
|
let snsType = fnGetSnsType(data.nvJoinId, data.kkJoinId, data.ysJoinId);
|
|
|
$('#snsType').text(snsType);
|
|
$('#snsType').text(snsType);
|
|
|
|
|
|
|
|
- $('#homePostNo').val(data.homePostNo);
|
|
|
|
|
|
|
+ $('#homeZipNo').val(data.homeZipNo);
|
|
|
$('#homeBaseAddr').val(data.homeBaseAddr);
|
|
$('#homeBaseAddr').val(data.homeBaseAddr);
|
|
|
$('#homeDtlAddr').val(data.homeDtlAddr);
|
|
$('#homeDtlAddr').val(data.homeDtlAddr);
|
|
|
$('#sexGb').text(gagaAgGrid.lookupValue(genderGbList, data.sexGb));
|
|
$('#sexGb').text(gagaAgGrid.lookupValue(genderGbList, data.sexGb));
|
|
@@ -1136,9 +1134,6 @@
|
|
|
fnDisplayCellPhnno(data.maskingCellPhnno); // 핸드폰
|
|
fnDisplayCellPhnno(data.maskingCellPhnno); // 핸드폰
|
|
|
fnDisplayManaged(data.managedRsn); // 관리대상
|
|
fnDisplayManaged(data.managedRsn); // 관리대상
|
|
|
|
|
|
|
|
- //custInfoForm Hidden : LMS팝업 사용시 필요
|
|
|
|
|
- $('#custNm').val(data.maskingCustNm);
|
|
|
|
|
-
|
|
|
|
|
//기존데이트 저장
|
|
//기존데이트 저장
|
|
|
orgData = data;
|
|
orgData = data;
|
|
|
|
|
|
|
@@ -1220,7 +1215,7 @@
|
|
|
oncomplete: function(data) {
|
|
oncomplete: function(data) {
|
|
|
// 우편번호와 주소 정보를 해당 필드에 넣는다.
|
|
// 우편번호와 주소 정보를 해당 필드에 넣는다.
|
|
|
if (id === 'custInfoForm') {
|
|
if (id === 'custInfoForm') {
|
|
|
- $('#homePostNo').val(data.zonecode);
|
|
|
|
|
|
|
+ $('#homeZipNo').val(data.zonecode);
|
|
|
$('#homeBaseAddr').val(cfnGetDaumRoadAddr(data));
|
|
$('#homeBaseAddr').val(cfnGetDaumRoadAddr(data));
|
|
|
$('#homeDtlAddr').focus();
|
|
$('#homeDtlAddr').focus();
|
|
|
}
|
|
}
|