Commit 41f31163 authored by chenqikuai's avatar chenqikuai

fix: 修复原因显示

parent f844c1cd
......@@ -252,7 +252,7 @@ const errorReason = ref("");
const getErrorNote = () => {
if (props.is_normal_work) return;
addressService
.getNote({ id: props.outlet_id as number })
.getNote({ PosID: props.outlet_posId })
.then((res: { data: { note: string } }) => {
errorReason.value = res.data.note;
});
......
......@@ -48,7 +48,7 @@ class AddressService {
}
}
getNote(data: { id: number }) {
getNote(data: { PosID: string }) {
return baseAxios({
method: "post",
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