From 8a42df9f13c1328b36ba5919258b2636dce455fe Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期二, 24 六月 2025 16:25:48 +0800 Subject: [PATCH] no message --- rsf-admin/src/page/orders/outStock/OutOrderList.jsx | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/rsf-admin/src/page/orders/outStock/OutOrderList.jsx b/rsf-admin/src/page/orders/outStock/OutOrderList.jsx index 1181459..a74ca93 100644 --- a/rsf-admin/src/page/orders/outStock/OutOrderList.jsx +++ b/rsf-admin/src/page/orders/outStock/OutOrderList.jsx @@ -115,6 +115,7 @@ const OutOrderList = (props) => { const translate = useTranslate(); const refresh = useRefresh(); + const notify = useNotify(); const [createDialog, setCreateDialog] = useState(false); const [manualDialog, setManualDialog] = useState(false); @@ -130,16 +131,13 @@ //鑾峰彇娉㈡瑙勫垯 const closeDialog = async (value) => { setWaveRule(false) + const res = await request.post(`/outStock/generate/wave`, { ids: selectIds, waveRuleId: value.id }); + if (res?.data?.code === 200) { + notify(res.data.msg); + } else { + notify(res.data.msg); + } refresh() - console.log('=====>'); - console.log(value); - console.log(selectIds); - // const res = await request.post(`/outStock/generate/wave`, { ids: selectIds }); - // if (res?.data?.code === 200) { - // notify(res.data.msg); - // } else { - // notify(res.data.msg); - // } } return ( -- Gitblit v1.9.1