From 99c4dcb454bbcb467e88ac23fc28da4e143100d9 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期一, 23 六月 2025 14:42:02 +0800
Subject: [PATCH] #波次拣货

---
 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