From 119efc91fd3374131c31b8c5f8f5f7cb8f6731cf Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期五, 17 十一月 2023 09:34:59 +0800
Subject: [PATCH] 将出入库明细拆分为出库明细和入库明细

---
 src/api/operate/scrap.js |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/api/operate/scrap.js b/src/api/operate/scrap.js
index c7a6d34..e0cac8a 100644
--- a/src/api/operate/scrap.js
+++ b/src/api/operate/scrap.js
@@ -25,14 +25,15 @@
 //     id
 //   })
 // }
-// // 淇敼鎶ュ簾
-// export function updateProduct(data) {
-//   return request({
-//     url: "/api-wms/v1/product/updateProduct",
-//     method: "post",
-//     data
-//   })
-// }
+
+// 淇敼鎶ュ簾
+export function updateScrap(data) {
+  return request({
+    url: "/api-wms/v1/product/updateDisuse",
+    method: "post",
+    data
+  })
+}
 // 楠岃瘉鎶ュ簾
 export function finishDisuse(id) {
   return request({

--
Gitblit v1.8.0