From a686251b73f616532d6a9518faad49c7693a6e1c Mon Sep 17 00:00:00 2001 From: lishenao <3065849776@qq.com> Date: 星期二, 01 七月 2025 14:31:53 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/api/inventoryManagement/stockIn.js | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/src/api/inventoryManagement/stockIn.js b/src/api/inventoryManagement/stockIn.js new file mode 100644 index 0000000..d9924d4 --- /dev/null +++ b/src/api/inventoryManagement/stockIn.js @@ -0,0 +1,48 @@ +import request from "@/utils/request"; + +// 鏌ヨ鍏ュ簱淇℃伅鍒楄〃 +export const getStockInPage = (params) => { + return request({ + url: "/stockin/listPage", + method: "get", + params, + }); +}; + +// 淇敼搴撳瓨淇℃伅 +export const updateStockIn = (data) => { + return request({ + url: "/stockin/update", + method: "put", + data, + }); +}; + +// 鏂板鍟嗗搧鍏ュ簱淇℃伅 +export function addSutockIn(data) { + return request({ + url: '/stockin/add', + method: 'post', + data: data + }) +} + +// 鍒犻櫎鍏ュ簱淇℃伅 +export function delStockIn(ids) { + return request({ + url: '/stockin/del', + method: 'delete', + data: ids + }) +} + +// 瀵煎嚭鍏ュ簱淇℃伅 +export function exportStockIn(query) { + return request({ + url: '/stockin/export', + method: 'get', + params: query, + responseType: 'blob' + }) +} + -- Gitblit v1.9.3