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

This commit is contained in:
이대환
2026-02-04 17:59:00 +09:00
parent df6340658e
commit 3b8eba8e0b
11 changed files with 155 additions and 75 deletions

View File

@@ -325,17 +325,17 @@ const fn_toggle_langHeader = function () {
$('.' + id).show();
if (id == 'langJp') {
$('#cstmclerCd').prop('disabled', true);
$('#zip').prop('readonly', false);
$('#dtlAdres').attr('placeholder', '以降の住所を入力してください。');
$('#mbtlnb').attr('placeholder', '');
$('#prefcode').prop('disabled', true);
$('#mbtlnb').attr('placeholder', '電話番号をハイフンなしで入力してください。');
$('#cstmclerCd').prop('disabled', true);
$('#prefcode').prop('disabled', false);
} else {
$('#cstmclerCd').prop('disabled', false);
$('#zip').prop('readonly', true);
$('#dtlAdres').attr('placeholder', '나머지 주소를 입력해 주세요');
$('#mbtlnb').attr('placeholder', '휴대폰번호\'-\'없이 입력하세요');
$('#prefcode').prop('disabled', false);
$('#cstmclerCd').prop('disabled', false);
$('#prefcode').prop('disabled', true);
$('#postcodeAlert').hide();
}
@@ -369,6 +369,7 @@ const fn_set_postcodeJp = function (Data) {
$("#adres").val(adres);
$("#dtlAdres").val(dtlAdres);
$("#prefcode").val(prefcode);
$("#adresDv").val("01");
} else {
$('#postcodeAlert').show();
}

View File

@@ -335,17 +335,17 @@ const fn_toggle_langHeader = function () {
$('.' + id).show();
if (id == 'langJp') {
$('#cstmclerCd').prop('disabled', true);
$('#zip').prop('readonly', false);
$('#dtlAdres').attr('placeholder', '以降の住所を入力してください。');
$('#mbtlnb').attr('placeholder', '');
$('#prefcode').prop('disabled', true);
$('#mbtlnb').attr('placeholder', '電話番号をハイフンなしで入力してください。');
$('#cstmclerCd').prop('disabled', true);
$('#prefcode').prop('disabled', false);
} else {
$('#cstmclerCd').prop('disabled', false);
$('#zip').prop('readonly', true);
$('#dtlAdres').attr('placeholder', '나머지 주소를 입력해 주세요');
$('#mbtlnb').attr('placeholder', '휴대폰번호\'-\'없이 입력하세요');
$('#prefcode').prop('disabled', false);
$('#cstmclerCd').prop('disabled', false);
$('#prefcode').prop('disabled', true);
$('#postcodeAlert').hide();
}
@@ -379,6 +379,7 @@ const fn_set_postcodeJp = function (Data) {
$("#adres").val(adres);
$("#dtlAdres").val(dtlAdres);
$("#prefcode").val(prefcode);
$("#adresDv").val("01");
} else {
$('#postcodeAlert').show();
}