fix : 주문결제 > 배송지 등록/수정 - 일본 주소(일본어) 옵션 추가(모바일)

This commit is contained in:
이대환
2026-03-04 15:07:49 +09:00
parent 066153a36b
commit 1ed4ceafe8
3 changed files with 58 additions and 9 deletions

View File

@@ -31,6 +31,12 @@
awaitCloseAnimation: true,
});
//배송지정보 세팅
dlvylcFormPreValues = {};
$('[name=dlvylcAreaCd]').on('change', fn_toggle_langHeader)
.on('change', fn_clear_dlvylcForm);
fn_toggle_langHeader();
});
</script>
<!-- 배송지 변경 -->
@@ -165,7 +171,17 @@
<div class="tabContent">
<div class="sub-box">
<form id = "dlvylcRegistForm">
<div class="userForm">
<div class="custom-radio-container">
<div class="custom-radio is-medium listW chk_on">
<input type="radio" id="langKr" name="dlvylcAreaCd" value="KR" checked>
<label for="langKr">KR</label>
</div>
<div class="custom-radio is-medium listW chk_on">
<input type="radio" id="langJp" name="dlvylcAreaCd" value="JP">
<label for="langJp">JP</label>
</div>
</div>
<div class="userForm" id="dlvylcFormTable">
<div class="userForm__inputBox">
<div class="userForm__inputBox__item">
<div class="userForm__inputBox__itemTitle">
@@ -185,12 +201,13 @@
</div>
<div class="inputAddress">
<div class="inputAddress__postalCode">
<input type="text" class="input-text" id="zip" name="zip" title="우편번호" maxlength="5" readonly>
<button type="button" class="btn md theme outline"
<input type="text" class="input-text" id="zip" name="zip" title="우편번호" maxlength="7" readonly>
<button type="button" class="btn md theme outline langKr"
data-micromodal-trigger="modalDiv"
onclick="fn_select_post_mobile(fn_select_dlvylc_postcode); return false;">우편번호
찾기
onclick="fn_select_post_mobile(fn_select_dlvylc_postcode); return false;">
우편번호 찾기
</button>
<button type="button" class="btn md theme outline langJp" onclick="fn_select_postcodeJp(); return false;">주소 찾기</button>
</div>
<input type="text" class="input-text full" id="adres" name="adres"
maxlength="66" readonly title="주소">
@@ -207,6 +224,12 @@
maxlength="13" placeholder="휴대폰번호'-'없이 입력하세요">
</div>
</div>
<div class="userForm__inputBox__item langKr">
<div class="userForm__inputBox__itemTitle">개인통관번호 (개인통관부호)<span class="required-asterisk">*</span></div>
<input type="text" class="input-text full" id="cstmclerCd" name="cstmclerCd" title="개인통관번호(개인통관부호)" maxlength="13" placeholder="P로 시작하는 13자리 부호를 입력하세요">
<button type="button" class="btn md theme outline" onclick="window.open('https://unipass.customs.go.kr/per/persIndex.do', '_blank'); return false;">통관번호 조회</button>
<input type="hidden" class="m-input" id="prefcode" name="prefcd">
</div>
<div class="userForm__inputBox__item">
<div class="b-checkbox-container userForm__inputBox__checks">
<label class="b-checkbox checkbox">

View File

@@ -13,6 +13,13 @@
if($(".telno").eq(0).val() !== undefined){
$(".telno").eq(0).val(fn_format_mbtlnb($(".telno").eq(0).val()));
}
//배송지정보 세팅
dlvylcFormPreValues = {};
$('[name=dlvylcAreaCd]').on('change', fn_toggle_langHeader)
.on('change', fn_clear_dlvylcForm);
fn_toggle_langHeader();
});
</script>
@@ -33,7 +40,17 @@
<div class="tabContent">
<div class="sub-box">
<form id = "dlvylcUpdtForm">
<div class="userForm">
<div class="custom-radio-container">
<div class="custom-radio is-medium listW chk_on">
<input type="radio" id="langKr" name="dlvylcAreaCd" value="KR" <c:if test="${'KR' eq dtlDlvylc.resultVO.dlvylcAreaCd}">checked</c:if>>
<label for="langKr">KR</label>
</div>
<div class="custom-radio is-medium listW chk_on">
<input type="radio" id="langJp" name="dlvylcAreaCd" value="JP" <c:if test="${'JP' eq dtlDlvylc.resultVO.dlvylcAreaCd}">checked</c:if>>
<label for="langJp">JP</label>
</div>
</div>
<div class="userForm" id="dlvylcFormTable">
<div class="userForm__inputBox">
<div class="userForm__inputBox__item">
<div class="userForm__inputBox__itemTitle">배송지명<span
@@ -54,12 +71,13 @@
<div class="inputAddress__postalCode">
<input type="text" class="input-text" id="zip" name="zip" title="우편번호"
maxlength="5" value="<c:out value = "${dtlDlvylc.resultVO.zip}"/>" readonly>
<button type="button" class="btn md theme outline"
maxlength="7" value="<c:out value = "${dtlDlvylc.resultVO.zip}"/>" readonly>
<button type="button" class="btn md theme outline langKr"
data-micromodal-trigger="modalDiv"
onclick="fn_select_post_mobile(fn_select_dlvylc_postcode, '#postCodeCn', '#modalDiv'); return false;">
우편번호 찾기
</button>
<button type="button" class="btn md theme outline langJp" onclick="fn_select_postcodeJp(); return false;">주소 찾기</button>
</div>
<input type="text" class="input-text full" id="adres" name="adres"
maxlength="66" title="주소" readonly value=<c:choose>
@@ -78,6 +96,13 @@
value="<c:out value ='${dtlDlvylc.resultVO.mbtlnb}'/>" maxlength="13" placeholder="휴대폰번호'-'없이 입력하세요">
</div>
</div>
<div class="userForm__inputBox__item langKr">
<div class="userForm__inputBox__itemTitle">개인통관번호 (개인통관부호)<span class="required-asterisk">*</span></div>
<input type="text" class="input-text full" id="cstmclerCd" name="cstmclerCd" title="개인통관번호(개인통관부호)" value="<c:out value = "${dtlDlvylc.resultVO.cstmclerCd}"/>"
maxlength="13" placeholder="P로 시작하는 13자리 부호를 입력하세요">
<button type="button" class="btn md theme outline" onclick="window.open('https://unipass.customs.go.kr/per/persIndex.do', '_blank'); return false;">통관번호 조회</button>
<input type="hidden" class="m-input" id="prefcode" name="prefcd" value="<c:out value = '${dtlDlvylc.resultVO.prefcd}'/>">
</div>
<div class="userForm__inputBox__item">
<div class="b-checkbox-container userForm__inputBox__checks">
<label class="b-checkbox checkbox">

View File

@@ -3739,7 +3739,8 @@
<button type="button" id="btnDlvylcMngr" class="btn outline xsm deliveryAddressDefault btnDlvylcMngr presentArea"
style="position: absolute;
top: -1px;
right: 0;">배송지관리</button>
right: 0;
z-index: 10;">배송지관리</button>
</div>
<div class="userForm">
<div class="userForm__inputBox">