From e4b641e65e49c7854ed11e7822316431f5e0ce1b Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期五, 27 六月 2025 08:36:03 +0800
Subject: [PATCH] 出库单生成波次功能优化
---
rsf-admin/src/page/orders/outStock/OutOrderList.jsx | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/rsf-admin/src/page/orders/outStock/OutOrderList.jsx b/rsf-admin/src/page/orders/outStock/OutOrderList.jsx
index bf9b7dc..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)
- refresh()
- console.log('=====>');
- console.log(value);
- console.log(selectIds);
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()
}
return (
--
Gitblit v1.9.1