From 7118f393605f8ef28457430d43a2608aa02f1696 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 22 一月 2026 14:28:42 +0800
Subject: [PATCH] 湟水峡 1.发货分开类型货车和快递,并可以上传图片
---
src/api/inventoryManagement/stockIn.js | 49 ++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 44 insertions(+), 5 deletions(-)
diff --git a/src/api/inventoryManagement/stockIn.js b/src/api/inventoryManagement/stockIn.js
index 8a3dfff..3481415 100644
--- a/src/api/inventoryManagement/stockIn.js
+++ b/src/api/inventoryManagement/stockIn.js
@@ -18,10 +18,27 @@
});
};
-// 鍑哄簱鍙拌处-鏌ヨ鎵嬪姩鍏ュ簱淇℃伅鍒楄〃
+// 鏌ヨ鐢熶骇鍏ュ簱淇℃伅鍒楄〃
+export const getStockInPageByProductProduction = (params) => {
+ return request({
+ url: "/stockin/listPageByProductProduction",
+ method: "get",
+ params,
+ });
+};
+
+// 鍑哄簱鍙拌处-鏌ヨ鑷畾涔夊叆搴撲俊鎭垪琛�
export const getStockInPageByCustom = (params) => {
return request({
url: "/stockmanagement/listPageByCustom",
+ method: "get",
+ params,
+ });
+};
+// 鍏ュ簱绠$悊-鏌ヨ鑷畾涔夊叆搴撲俊鎭垪琛�
+export const getInPageByCustom = (params) => {
+ return request({
+ url: "/stockin/listPageByCustom",
method: "get",
params,
});
@@ -53,6 +70,14 @@
data,
});
};
+// 淇敼鏉愭枡搴撳瓨淇℃伅
+export const updateManagementByCustom = (data) => {
+ return request({
+ url: "/stockin/updateManagementByCustom ",
+ method: "post",
+ data,
+ });
+};
// 鏂板鍟嗗搧鍏ュ簱淇℃伅
export function addSutockIn(data) {
@@ -63,7 +88,7 @@
})
}
-// 鏂板鎵嬪姩鍏ュ簱淇℃伅
+// 鏂板鑷畾涔夊叆搴撲俊鎭�
export function addStockInCustom(data) {
return request({
url: '/stockin/addCustom',
@@ -72,10 +97,18 @@
})
}
-// 缂栬緫鎵嬪姩鍏ュ簱淇℃伅
+// 缂栬緫鑷畾涔夊叆搴撲俊鎭�
export function updateStockInCustom(data) {
return request({
url: '/stockin/updateCustom',
+ method: 'post',
+ data: data
+ })
+}
+// 缂栬緫鎴愬搧鍏ュ簱淇℃伅
+export function updateProduct(data) {
+ return request({
+ url: '/stockin/update',
method: 'post',
data: data
})
@@ -90,7 +123,7 @@
})
}
-// 鍒犻櫎鎵嬪姩鍏ュ簱淇℃伅
+// 鍒犻櫎鑷畾涔夊叆搴撲俊鎭�
export function delStockInCustom(ids) {
return request({
url: '/stockin/delteCustom',
@@ -118,5 +151,11 @@
}
-//
+//鏌ヨ搴撳瓨鍥捐〃鏁版嵁
+export function getStockInChartData() {
+ return request({
+ url: '/stockin/listReport',
+ method: 'get'
+ })
+}
--
Gitblit v1.9.3