fix: 운영 주문상세 배송지 수정 오류 보정

This commit is contained in:
이주일
2026-07-10 00:29:13 +09:00
parent 6222c3b7d1
commit 82ec7f8b20
3 changed files with 24 additions and 3 deletions

View File

@@ -1037,11 +1037,30 @@
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"/>');
let result = data.resBody ? data.resBody.result : null;
fn_get_dlvy('${data.dtl.ordrInnb}');
if (!result) {
alert('<spring:message code="error.internal-server"/>');
return;
}
if (typeof result === 'string') {
if (!fn_check_json(result)) {
alert('<spring:message code="error.internal-server"/>');
return;
}
result = JSON.parse(result);
}
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">