From b114f42bd50a6c971a0cfe6f7b390d7065e98fe2 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 11 七月 2025 15:54:40 +0800
Subject: [PATCH] 添加新增离职时,页面新增入职字段改为新增离职。员工编号改为下拉选择框,选择员工编号后带出人员入职填的信息

---
 src/api/inventoryManagement/stockIn.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/api/inventoryManagement/stockIn.js b/src/api/inventoryManagement/stockIn.js
index 53ee074..5e104f7 100644
--- a/src/api/inventoryManagement/stockIn.js
+++ b/src/api/inventoryManagement/stockIn.js
@@ -9,10 +9,19 @@
     });
 };
 
-// 淇敼搴撳瓨淇℃伅
+// 淇敼鍏ュ簱瀛樹俊鎭�
 export const updateStockIn = (data) => {
     return request({
         url: "/stockin/update",
+        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
     })
 }

--
Gitblit v1.9.3