fix : 주문결제 > 배송지 정보 세팅 - 배송지역코드, 개인통관부호, 도도부현코드 추가
This commit is contained in:
@@ -89,6 +89,9 @@
|
||||
<input type="hidden" name="lnbAdres" class = "lnbAdres"value="<c:out value='${resultMap.lnbAdres}'/>" />
|
||||
<input type="hidden" name="recpntNm" class = "recpntNmR" value="<c:out value='${resultMap.recpntNm}'/>" />
|
||||
<input type="hidden" name="dtlAdres" class = "dtlAdres" value="<c:out value='${resultMap.dtlAdres}'/>" />
|
||||
<input type="hidden" name="dlvylcAreaCd" class="dlvylcAreaCd" value="<c:out value='${resultMap.dlvylcAreaCd}'/>" />
|
||||
<input type="hidden" name="prefcd" class="prefcd" value="<c:out value='${resultMap.prefcd}'/>" />
|
||||
<input type="hidden" name="cstmclerCd" class="cstmclerCd" value="<c:out value='${resultMap.cstmclerCd}'/>" />
|
||||
<input type="hidden" name="mbtlnb" class = "mbtlnb" value="<c:out value='${resultMap.mbtlnb}' />" />
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
|
||||
@@ -1135,8 +1135,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);" class="btn-ordr-sttus btn gray sm full" 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>
|
||||
|
||||
@@ -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 -->
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user