개인통관부호 처리 추가(2)

This commit is contained in:
김현욱
2026-03-06 14:56:19 +09:00
parent 3dc906cfc6
commit c82f48966a
3 changed files with 37 additions and 2 deletions

View File

@@ -10239,6 +10239,12 @@ body {
font-weight: 400; font-weight: 400;
color: #495057; color: #495057;
} }
.deliveryInfo__cstmclerCd {
margin-bottom: 10px;
font-size: 14px;
font-weight: 400;
color: #495057;
}
.deliveryInfo__message { .deliveryInfo__message {
display: flex; display: flex;
width: 100%; width: 100%;

View File

@@ -10239,6 +10239,12 @@ body {
font-weight: 400; font-weight: 400;
color: #495057; color: #495057;
} }
.deliveryInfo__cstmclerCd {
margin-bottom: 10px;
font-size: 14px;
font-weight: 400;
color: #495057;
}
.deliveryInfo__message { .deliveryInfo__message {
display: flex; display: flex;
width: 100%; width: 100%;

View File

@@ -121,6 +121,12 @@
$(".mbtlnbC").val($(".mbtlnbPop").eq(idx).text()); $(".mbtlnbC").val($(".mbtlnbPop").eq(idx).text());
//주소 //주소
$(".deliveryInfo__address").text($(".dlvyAdres").eq(idx).text()); $(".deliveryInfo__address").text($(".dlvyAdres").eq(idx).text());
//개인통관번호
let cstmclerText = 'KR' === $(".dlvylcAreaCd").eq(idx).val() ? '개인통관번호 : ' + $(".cstmclerCd").eq(idx).val() : '';
$(".deliveryInfo__cstmclerCd").text(cstmclerText);
$(".cstmclerCdC").val($(".cstmclerCd").eq(idx).val());
console.log("cstmclerCd : ",cstmclerText);
console.log("dlvylcAreaCd : ",$(".dlvylcAreaCd").eq(idx).val());
//hidden 정보 set //hidden 정보 set
fn_select_mngrOrdr_postcode(fn_set_dlvylc, idx); fn_select_mngrOrdr_postcode(fn_set_dlvylc, idx);
} }
@@ -1819,6 +1825,9 @@
let mbtlnb = fn_format_mbtlnb(data.mbtlnb); let mbtlnb = fn_format_mbtlnb(data.mbtlnb);
$(form).find('input[name="recpntTelnb"]').val(mbtlnb); $(form).find('input[name="recpntTelnb"]').val(mbtlnb);
} }
console.log("data.cstmclerCd : ",data.cstmclerCd);
$(form).find('input[name="dlvylcZip"]').val(data.postcode); $(form).find('input[name="dlvylcZip"]').val(data.postcode);
$(form).find('input[name="dlvylcAreaCd"]').val(data.dlvylcAreaCd); $(form).find('input[name="dlvylcAreaCd"]').val(data.dlvylcAreaCd);
$(form).find('input[name="prefcd"]').val(data.prefcd); $(form).find('input[name="prefcd"]').val(data.prefcd);
@@ -1857,6 +1866,7 @@
$(form).find('input[name="dlvylcZip"]').val(data.postcode); $(form).find('input[name="dlvylcZip"]').val(data.postcode);
$(form).find('input[name="dlvylcAreaCd"]').val(data.dlvylcAreaCd); $(form).find('input[name="dlvylcAreaCd"]').val(data.dlvylcAreaCd);
$(form).find('input[name="prefcd"]').val(data.prefcd); $(form).find('input[name="prefcd"]').val(data.prefcd);
$(form).find('input[name="cstmclerCd"]').val(data.cstmclerCd);
$(form).find('input[name="dlvylcAdresDvCd"]').val(data.addressType); $(form).find('input[name="dlvylcAdresDvCd"]').val(data.addressType);
$(form).find('input[name="dlvylcLnbAdres"]').val(data.jibunAddress); $(form).find('input[name="dlvylcLnbAdres"]').val(data.jibunAddress);
$(form).find('input[name="dlvylcRnmAdres"]').val(data.roadAddress); $(form).find('input[name="dlvylcRnmAdres"]').val(data.roadAddress);
@@ -3669,9 +3679,14 @@
<c:out value="${dftDlvylc.adres}"/> <c:out value="${dftDlvylc.adres}"/>
<c:out value="${dftDlvylc.dtlAdres}"/> <c:out value="${dftDlvylc.dtlAdres}"/>
</p> </p>
<p class="deliveryInfo__cstmclerCd">
<c:out value="${dftDlvylc.dlvylcAreaCd eq 'KR' ? '개인통관번호 : ' : ''}"/>
<c:out value="${dftDlvylc.cstmclerCd}"/>
</p>
<input type="hidden" name="dlvylcAdresDvCd" value="<c:out value="${dftDlvylc.adresDv}"/>"> <input type="hidden" name="dlvylcAdresDvCd" value="<c:out value="${dftDlvylc.adresDv}"/>">
<input type="hidden" name="dlvylcZip" value="<c:out value="${dftDlvylc.zip}"/>"> <input type="hidden" name="dlvylcZip" value="<c:out value="${dftDlvylc.zip}"/>">
<input type="hidden" name="dlvylcAreaCd" value="<c:out value="${dftDlvylc.dlvylcAreaCd}"/>"> <input type="hidden" name="dlvylcAreaCd" value="<c:out value="${dftDlvylc.dlvylcAreaCd}"/>">
<input type="hidden" name="cstmclerCd" class="cstmclerCdC required" title="개인통관번호" value="<c:out value="${dftDlvylc.cstmclerCd}"/>">
<input type="hidden" name="prefcd" value="<c:out value="${dftDlvylc.prefcd}"/>"> <input type="hidden" name="prefcd" value="<c:out value="${dftDlvylc.prefcd}"/>">
<input type="hidden" name="dlvylcLnbAdres" title="도로명 or 지명 주소" value="<c:out value="${dftDlvylc.lnbAdres}"/>"> <input type="hidden" name="dlvylcLnbAdres" title="도로명 or 지명 주소" value="<c:out value="${dftDlvylc.lnbAdres}"/>">
<input type="hidden" name="dlvylcRnmAdres" title="도로명 or 지명 주소" value="<c:out value="${dftDlvylc.rnmAdres}"/>"> <input type="hidden" name="dlvylcRnmAdres" title="도로명 or 지명 주소" value="<c:out value="${dftDlvylc.rnmAdres}"/>">
@@ -3689,6 +3704,10 @@
<div class="userForm__inputBox__itemTitle">휴대폰 번호</div> <div class="userForm__inputBox__itemTitle">휴대폰 번호</div>
<input class="input-text full required_gift" type="tel" title="휴대폰 번호" name= "recpntMbtlnb" oninput="fn_set_event(this, 'keyup', fn_fmt_telno);" placeholder="휴대폰번호(“-”) 없이 입력" value="" maxlength="13"> <input class="input-text full required_gift" type="tel" title="휴대폰 번호" name= "recpntMbtlnb" oninput="fn_set_event(this, 'keyup', fn_fmt_telno);" placeholder="휴대폰번호(“-”) 없이 입력" value="" maxlength="13">
</div> </div>
<div class="userForm__inputBox__item">
<div class="userForm__inputBox__itemTitle">개인통관번호</div>
<input class="input-text full required_gift" type="text" title="개인통관번호" name= "cstmclerCd" placeholder="배송지 관리에서 입력하세요." value="" maxlength="13">
</div>
<div class="userForm__inputBox__item"> <div class="userForm__inputBox__item">
<div class="userForm__inputBox__itemTitle">선물메세지</div> <div class="userForm__inputBox__itemTitle">선물메세지</div>
<input type="text" name="giftMssageCn" class="gift input-text full" title="선물메세지" placeholder="선물 메세지를 입력하세요."> <input type="text" name="giftMssageCn" class="gift input-text full" title="선물메세지" placeholder="선물 메세지를 입력하세요.">
@@ -3696,7 +3715,7 @@
</div> </div>
</div> </div>
<div class="deliveryInfo__message select-box"> <div class="deliveryInfo__message select-box" style="margin-top: 10px;">
<div class="deliveryInfo__message select-box"> <div class="deliveryInfo__message select-box">
<select class="dlvylcCouponList" name="dlvylcCouponList" id="dlvylcCouponList" title="배송비 쿠폰"> <select class="dlvylcCouponList" name="dlvylcCouponList" id="dlvylcCouponList" title="배송비 쿠폰">
<option value="" selected>배송비 쿠폰 선택</option> <option value="" selected>배송비 쿠폰 선택</option>
@@ -3764,13 +3783,17 @@
<input type="hidden" name="dlvylcRnmAdres" title="도로명 or 지명 주소"> <input type="hidden" name="dlvylcRnmAdres" title="도로명 or 지명 주소">
<input type="hidden" name="dlvylcAreaCd"> <input type="hidden" name="dlvylcAreaCd">
<input type="hidden" name="prefcd"> <input type="hidden" name="prefcd">
<input type="hidden" name="cstmclerCd"> <%-- <input type="hidden" name="cstmclerCd" title="개인통관번호">--%>
</div> </div>
</div> </div>
<div class="userForm__inputBox__item"> <div class="userForm__inputBox__item">
<div class="userForm__inputBox__itemTitle">휴대폰 번호</div> <div class="userForm__inputBox__itemTitle">휴대폰 번호</div>
<input class="input-text full required required_gift" type="tel" title="휴대폰 번호" name= "recpntMbtlnb" oninput="fn_set_event(this, 'keyup', fn_fmt_telno);" placeholder="휴대폰번호(“-”) 없이 입력" value="" maxlength="13" readonly> <input class="input-text full required required_gift" type="tel" title="휴대폰 번호" name= "recpntMbtlnb" oninput="fn_set_event(this, 'keyup', fn_fmt_telno);" placeholder="휴대폰번호(“-”) 없이 입력" value="" maxlength="13" readonly>
</div> </div>
<div class="userForm__inputBox__item">
<div class="userForm__inputBox__itemTitle">개인통관번호</div>
<input class="input-text full required required_gift" type="text" title="개인통관번호" name= "cstmclerCd" placeholder="배송지 관리에서 입력하세요." value="" maxlength="13" readonly>
</div>
<div class="userForm__inputBox__item dftDlvylcGift presentShowArea" style="display:none;"> <div class="userForm__inputBox__item dftDlvylcGift presentShowArea" style="display:none;">
<div class="userForm__inputBox__itemTitle">선물메세지</div> <div class="userForm__inputBox__itemTitle">선물메세지</div>
<input type="text" name="giftMssageCn" class="input-text full" title="선물메세지" placeholder="선물 메세지를 입력하세요."> <input type="text" name="giftMssageCn" class="input-text full" title="선물메세지" placeholder="선물 메세지를 입력하세요.">