From 687e4da4b6fb9147b12eb0cd5072e1dda02abc00 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 19 六月 2025 16:11:44 +0800
Subject: [PATCH] no message

---
 rsf-admin/src/page/orders/outStock/OutOrderList.jsx |   15 ++++++---------
 1 files changed, 6 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..662f9b9 100644
--- a/rsf-admin/src/page/orders/outStock/OutOrderList.jsx
+++ b/rsf-admin/src/page/orders/outStock/OutOrderList.jsx
@@ -130,16 +130,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