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

@@ -132,6 +132,9 @@
<input type="hidden" name="lnbAdres" class = "lnbAdres"value="<c:out value='${dlvylc.lnbAdres}'/>" />
<input type="hidden" name="recpntNm" class = "recpntNmR" value="<c:out value='${dlvylc.recpntNm}'/>" />
<input type="hidden" name="dtlAdres" class = "dtlAdres" value="<c:out value='${dlvylc.dtlAdres}'/>" />
<input type="hidden" name="dlvylcAreaCd" class="dlvylcAreaCd" value="<c:out value='${dlvylc.dlvylcAreaCd}'/>" />
<input type="hidden" name="prefcd" class="prefcd" value="<c:out value='${dlvylc.prefcd}'/>" />
<input type="hidden" name="cstmclerCd" class="cstmclerCd" value="<c:out value='${dlvylc.cstmclerCd}'/>" />
<input type="hidden" name="mbtlnb" class="mbtlnb" value="<c:out value='${dlvylc.mbtlnb}' />" />
</div>
</c:forEach>

View File

@@ -676,8 +676,8 @@
<c:when test="${order.ordrSttusCd == 25}">
<a href="javascript:void(0);" onclick="fn_call_setle_cancl_pop('<c:out value="${order.sopmalCd}"/>', '<c:out value="${order.ordrInnb}"/>', '', '<c:out value="${setleDt}"/>', '<c:out value="${setleTyCd}"/>', '<c:out value="${order.ordrSttusCd}"/>');" class="btn gray2">전체 결제취소</a>
</c:when>
<c:when test="${goods.ordrSttusCd > 34 && goods.ordrSttusCd < 55}">
<a href="javascript:void(0);" onclick="fn_pop_m2mqna_regist('<c:out value="${order.ordrInnb}"/>');">반품신청</a>
<c:when test="${order.ordrSttusCd > 34 && order.ordrSttusCd < 71}">
<a href="javascript:void(0);" onclick="fn_pop_m2mqna_regist('<c:out value="${order.ordrInnb}"/>');" class="btn gray2">구독취소</a>
</c:when>
</c:choose>
</div>

View File

@@ -1822,6 +1822,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);
@@ -1830,6 +1831,9 @@
$(form).find('input[name="recpntNm"]').val(data.recpntNm);
$(form).find('input[name="recpntMbtlnb"]').val(fn_format_mbtlnb(data.mbtlnb));
closeModal('postModal');
// 배송지 정보 세팅 이후 결제예정금액 재계산
fn_get_setle_amt();
}
/**
@@ -3633,11 +3637,12 @@
<c:set var="dftDlvylc" value="${data.purchsr.dftDlvylc}"/>
<div class="orderDetail__body">
<div class="deliveryInfo">
<label class="b-checkbox is-medium checkbox">
<input type="checkbox" value="Y" class="ordrrInfoSet">
<span class="check"></span>
<span class="control-label">주문자와 동일</span>
</label>
<%--일본 배송지 추가 - 일부 기능 삭제--%>
<%-- <label class="b-checkbox is-medium checkbox">--%>
<%-- <input type="checkbox" value="Y" class="ordrrInfoSet">--%>
<%-- <span class="check"></span>--%>
<%-- <span class="control-label">주문자와 동일</span>--%>
<%-- </label>--%>
<div class="dftDlvylc">
<p class="deliveryInfo__info">
<span class="deliveryInfo__info__name"><c:out value="${dftDlvylc.recpntNm}"/></span>
@@ -3708,14 +3713,15 @@
<c:otherwise>
<div class="orderDetail__body">
<div class="deliveryInfo">
<div class="b-checkbox-container">
<label class="b-checkbox is-medium checkbox w-full">
<input type="checkbox" value="Y"
class="ordrrInfoSet">
<span class="check"></span>
<span class="control-label">주문자와 동일</span>
</label>
</div>
<%--일본 배송지 추가 - 일부 기능 삭제--%>
<%-- <div class="b-checkbox-container">--%>
<%-- <label class="b-checkbox is-medium checkbox w-full">--%>
<%-- <input type="checkbox" value="Y"--%>
<%-- class="ordrrInfoSet">--%>
<%-- <span class="check"></span>--%>
<%-- <span class="control-label">주문자와 동일</span>--%>
<%-- </label>--%>
<%-- </div>--%>
<button type="button" id="btnDlvylcMngr" class="btn outline xsm deliveryAddressDefault btnDlvylcMngr presentArea"
style="position: absolute;
top: -1px;
@@ -3725,28 +3731,30 @@
<div class="userForm__inputBox">
<div class="userForm__inputBox__item">
<div class="userForm__inputBox__itemTitle">받는분</div>
<input class="input-text full required required_gift" type="text" name = "recpntNm" title="받는분" placeholder="받는분을 입력해 주세요" maxlength="10">
<input class="input-text full required required_gift" type="text" name = "recpntNm" title="받는분" placeholder="받는분을 입력해 주세요" maxlength="10" readonly>
</div>
<div class="userForm__inputBox__item deliveryAddressDefault presentArea">
<div class="userForm__inputBox__itemTitle">주소</div>
<div class="inputAddress">
<div class="inputAddress__postalCode">
<input class="input-text required" type="text" name="dlvylcZip" title="우편번호" maxlength="10" readonly><%--zip--%>
<button class="btn md theme outline" type="button" style = "padding: 20px;"
data-micromodal-trigger="modalDiv" onclick="fn_select_post_mobile(fn_set_dlvylc, '#postCodeCn', '#modalDiv', this);">우편번호 찾기</button>
<%--일본 배송지 추가 - 일부 기능 삭제--%>
<%-- <button class="btn md theme outline" type="button" style = "padding: 20px;"--%>
<%-- data-micromodal-trigger="modalDiv" onclick="fn_select_post_mobile(fn_set_dlvylc, '#postCodeCn', '#modalDiv', this);">우편번호 찾기</button>--%>
</div>
<input class="input-text full required" type="text" name="dlvylcAdres" title="도로명 or 지명 주소" maxlength="66" readonly><%--도로명 or 지명--%>
<input class="input-text full required" type="text" name="dlvylcAdresDtl" title="상세주소" placeholder="나머지 주소를 입력해 주세요." maxlength="66"><%--상세주소--%>
<input class="input-text full required" type="text" name="dlvylcAdresDtl" title="상세주소" placeholder="나머지 주소를 입력해 주세요." maxlength="66" readonly><%--상세주소--%>
<input type="hidden" name="dlvylcAdresDvCd">
<input type="hidden" name="dlvylcLnbAdres" title="도로명 or 지명 주소">
<input type="hidden" name="dlvylcRnmAdres" title="도로명 or 지명 주소">
<input type="hidden" name="dlvylcAreaCd">
<input type="hidden" name="prefcd">
<input type="hidden" name="cstmclerCd">
</div>
</div>
<div class="userForm__inputBox__item">
<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">
<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 class="userForm__inputBox__item dftDlvylcGift presentShowArea" style="display:none;">
<div class="userForm__inputBox__itemTitle">선물메세지</div>