Commit e1b8c490 authored by chenqikuai's avatar chenqikuai

fix

parent 52052baa
...@@ -93,11 +93,7 @@ ...@@ -93,11 +93,7 @@
}, },
{ {
name: '确定', name: '确定',
click: async () => { click: handleConfirmCopy,
await copyGoodsRef.checkForm();
refetch();
return true;
},
}, },
], ],
}" }"
...@@ -301,7 +297,15 @@ const navigate = router.push; ...@@ -301,7 +297,15 @@ const navigate = router.push;
const handleClickSortList = (v: string) => { const handleClickSortList = (v: string) => {
sortList.find((i) => i.value === v)?.click(); sortList.find((i) => i.value === v)?.click();
}; };
const handleConfirmCopy = async () => {
const res = await copyGoodsRef.value.checkForm();
if (res) {
refetch();
return true;
} else {
return false;
}
};
const handleDeleteGoodsShow = (item: any) => { const handleDeleteGoodsShow = (item: any) => {
focusedProofDetail.value = item; focusedProofDetail.value = item;
if (item.status === 0) { if (item.status === 0) {
......
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