fix : 주문결제 > 배송지 정보 세팅 - 배송지역코드, 개인통관부호, 도도부현코드 추가

This commit is contained in:
이대환
2026-02-11 11:44:45 +09:00
parent 2763d956a8
commit bcf64f0f92
11 changed files with 68 additions and 32 deletions

View File

@@ -1826,6 +1826,7 @@
$(form).find('input[name="dlvylcZip"]').val(data.postcode);
$(form).find('input[name="dlvylcAreaCd"]').val(data.dlvylcAreaCd);
$(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="dlvylcLnbAdres"]').val(data.jibunAddress);
$(form).find('input[name="dlvylcRnmAdres"]').val(data.roadAddress);
@@ -1834,6 +1835,9 @@
}
}
// 배송지 정보 세팅 이후 결제예정금액 재계산
fn_get_setle_amt();
}
/* 배송지정보 > 배송지 쿠폰 목록 조회 */
@@ -3530,11 +3534,12 @@
<%-- </c:if>--%>
</div>
<a href="javascript:void(0);" id="btnDlvylcMngr" class="btn md outline orderInfo__editBtn btnDlvylcMngr presentArea" style="display: none;">배송지 관리</a>
<label class="b-checkbox checkbox">
<input type="checkbox" class="ordrrInfoSet" value="">
<span class="check"></span>
<span class="control-label">주문자와 동일</span>
</label>
<%--일본 배송지 추가 - 일부 기능 삭제--%>
<%-- <label class="b-checkbox checkbox">--%>
<%-- <input type="checkbox" class="ordrrInfoSet" value="">--%>
<%-- <span class="check"></span>--%>
<%-- <span class="control-label">주문자와 동일</span>--%>
<%-- </label>--%>
</td>
</tr>
<!-- 기본 배송지 선택 시 Start -->
@@ -3573,7 +3578,7 @@
<!-- 신규 배송지 선택 시 Start -->
<tr class="deliveryAddressNew" style="display:none;">
<th><span class="orderInfo__title">받는분</span></th>
<td><input type="text" name="recpntNm" class="new rqrd input-text rqrd_gift" title="받는분 이름" placeholder="받는분 이름을 입력하세요."></td>
<td><input type="text" name="recpntNm" class="new rqrd input-text rqrd_gift" title="받는분 이름" placeholder="받는분 이름을 입력하세요." readonly></td>
</tr>
<tr class="deliveryAddressNew presentArea" style="display:none;">
<th><span class="orderInfo__title">주소</span></th>
@@ -3581,22 +3586,24 @@
<div class="inputAddress">
<div class="inputAddress__postalCode">
<input type="text" id="postcode" name="dlvylcZip" class="new rqrd input-text" title="우편번호" placeholder="" readonly>
<button type="button" id="btnPost1" onclick="fn_select_postcode(fn_set_postcode, this); return false;" class="btn md theme outline">우편번호 찾기</button>
<%--일본 배송지 추가 - 일부 기능 삭제--%>
<%-- <button type="button" id="btnPost1" onclick="fn_select_postcode(fn_set_postcode, this); return false;" class="btn md theme outline">우편번호 찾기</button>--%>
</div>
<input type="text" name="dlvylcAdres" class="new rqrd input-text full" title="주소" placeholder="" readonly>
<input type="text" name="dlvylcAdresDtl" class="new rqrd input-text full" title="나머지 주소" placeholder="나머지 주소를 입력해 주세요.">
<input type="text" name="dlvylcAdresDtl" class="new rqrd input-text full" title="나머지 주소" placeholder="나머지 주소를 입력해 주세요." readonly>
<input type="hidden" name="dlvylcAdresDvCd" class="new">
<input type="hidden" name="dlvylcLnbAdres" class="new">
<input type="hidden" name="dlvylcRnmAdres" class="new">
<input type="hidden" name="dlvylcAreaCd" class="new">
<input type="hidden" name="prefcd" class="new">
<input type="hidden" name="cstmclerCd" class="new">
</div>
</td>
</tr>
<tr class="deliveryAddressNew" style="display:none;">
<th> <span class="orderInfo__title">휴대폰번호</span></th>
<td>
<input type="text" name="recpntMbtlnb" oninput="fn_set_event(this, 'keyup', fn_fmt_telno)" maxlength="13" class="new rqrd input-text number rqrd_gift" title="휴대폰번호" placeholder="휴대폰번호 입력 (’-’ 없이)">
<input type="text" name="recpntMbtlnb" oninput="fn_set_event(this, 'keyup', fn_fmt_telno)" maxlength="13" class="new rqrd input-text number rqrd_gift" title="휴대폰번호" placeholder="휴대폰번호 입력 (’-’ 없이)" readonly>
</td>
</tr>
<!-- 신규 배송지 선택 시 End -->