fix : 배송지 등록/수정 - 일본 주소(일본어) 옵션 추가(모바일)
This commit is contained in:
@@ -386,17 +386,17 @@ const fn_update_dlvylc = function (pageIndex,msg,isMobile) {
|
||||
$('.' + 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();
|
||||
}
|
||||
@@ -430,6 +430,7 @@ const fn_update_dlvylc = function (pageIndex,msg,isMobile) {
|
||||
$("#adres").val(adres);
|
||||
$("#dtlAdres").val(dtlAdres);
|
||||
$("#prefcode").val(prefcode);
|
||||
$("#adresDv").val("01");
|
||||
} else {
|
||||
$('#postcodeAlert').show();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user