Commit 41f31163 authored by chenqikuai's avatar chenqikuai

fix: 修复原因显示

parent f844c1cd
...@@ -252,7 +252,7 @@ const errorReason = ref(""); ...@@ -252,7 +252,7 @@ const errorReason = ref("");
const getErrorNote = () => { const getErrorNote = () => {
if (props.is_normal_work) return; if (props.is_normal_work) return;
addressService addressService
.getNote({ id: props.outlet_id as number }) .getNote({ PosID: props.outlet_posId })
.then((res: { data: { note: string } }) => { .then((res: { data: { note: string } }) => {
errorReason.value = res.data.note; errorReason.value = res.data.note;
}); });
......
...@@ -48,7 +48,7 @@ class AddressService { ...@@ -48,7 +48,7 @@ class AddressService {
} }
} }
getNote(data: { id: number }) { getNote(data: { PosID: string }) {
return baseAxios({ return baseAxios({
method: "post", method: "post",
url: "/address/note", url: "/address/note",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment