fix: 주문상세 배송지 수정 시 배송지역 코드 누락 보정

This commit is contained in:
이주일
2026-07-09 22:26:31 +09:00
parent cba5e39c8e
commit 16b1ad14f4
2 changed files with 14 additions and 3 deletions

View File

@@ -1037,11 +1037,21 @@
url:'<c:url value="/mngr/ordr/ordrmngr/updateDlvylcInfoUpdt"/>',
data:$(obj).serialize(),
success:function(data) {
if (data.resBody != null) {
alert('<spring:message code="success.common.update"/>');
const result = data.resBody ? data.resBody.result : null;
fn_get_dlvy('${data.dtl.ordrInnb}');
if (!result) {
alert('<spring:message code="error.internal-server"/>');
return;
}
if (result.status !== '0') {
alert(result.message || '<spring:message code="error.internal-server"/>');
return;
}
alert('<spring:message code="success.common.update"/>');
fn_get_dlvy('${data.dtl.ordrInnb}');
},
error:function(data) {
fn_proc_error_message(data);

View File

@@ -18,6 +18,7 @@
<form id="adres${orderShipping.ordrDlvyInnb}">
<input type="hidden" name="sopmalCd" id="sopmalCd" value="${orderShipping.sopmalCd}"/>
<input type="hidden" name="ordrInnb" id="ordrInnb" value="${orderShipping.ordrInnb}">
<input type="hidden" name="dlvylcAreaCd" value="${orderShipping.dlvylcAreaCd}">
<h3 class="content-section__title">배송지 정보</h3>
<div class="form-control-container mb-10">
<div class="left">