From 7bdc564533f48b33c3822b663ca755db991afd0d Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 10 七月 2025 15:20:46 +0800
Subject: [PATCH] 选择产品下的子产品(子产品也有对应的规格型号),产品大类选择框不展示选择的子产品

---
 src/api/inventoryManagement/stockIn.js |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/src/api/inventoryManagement/stockIn.js b/src/api/inventoryManagement/stockIn.js
index d9924d4..5e104f7 100644
--- a/src/api/inventoryManagement/stockIn.js
+++ b/src/api/inventoryManagement/stockIn.js
@@ -9,11 +9,20 @@
     });
 };
 
-// 淇敼搴撳瓨淇℃伅
+// 淇敼鍏ュ簱瀛樹俊鎭�
 export const updateStockIn = (data) => {
     return request({
         url: "/stockin/update",
-        method: "put",
+        method: "post",
+        data,
+    });
+};
+
+// 淇敼搴撳瓨淇℃伅
+export const updateManagement = (data) => {
+    return request({
+        url: "/stockin/updateManagement",
+        method: "post",
         data,
     });
 };
@@ -31,7 +40,7 @@
 export function delStockIn(ids) {
     return request({
         url: '/stockin/del',
-        method: 'delete',
+        method: 'post',
         data: ids
     })
 }
@@ -46,3 +55,14 @@
     })
 }
 
+export function selectProductRecordListByPuechaserId(query) {
+    return request({
+        url: '/stockin/productlist',
+        method: 'get',
+        params: query
+    })
+}
+
+
+//
+

--
Gitblit v1.9.3