From 4c71426795d126d0491f2e4105090273909e6d51 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 19 四月 2024 15:16:38 +0800 Subject: [PATCH] 辅助数量限制值修改 --- src/api/reportForm/inventoryRwport.js | 40 +++++++++++++++++++++++++++++++++++++--- 1 files changed, 37 insertions(+), 3 deletions(-) diff --git a/src/api/reportForm/inventoryRwport.js b/src/api/reportForm/inventoryRwport.js index bef274f..de91f23 100644 --- a/src/api/reportForm/inventoryRwport.js +++ b/src/api/reportForm/inventoryRwport.js @@ -1,6 +1,5 @@ // 搴撳瓨鎶ヨ〃 import request from "@/common/untils/request.js" -import axios from "axios" // 鑾峰彇搴撳瓨鎶ヨ〃 @@ -13,8 +12,10 @@ } // 浠撳簱绫诲瀷鍒楄〃 -export const getWarehouseList = async (data) => { - return await axios.get(`/api-wms/v1/warehouse/warehouse`, { +export const getWarehouseList = (data) => { + return request({ + url: "/api-wms/v1/warehouse/warehouse", + method: "get", params: data }) } @@ -26,4 +27,37 @@ method: "post", data }) +} + +//鎶ヨ〃鍘嗗彶 +export function getHistory(data) { + return request({ + url: "/api-wms/v1/forms/getHistory", + method: "post", + data + }) +} +// 鍑哄叆搴撴槑缁� +export function listByCondition(data) { + return request({ + url: "/api-wms/v1/operation/listByCondition", + method: "post", + data + }) +} +//鏌ヨ鍗曟潯璇︽儏鎺ュ彛 +export function getOperationInfo(data) { + return request({ + url: `/api-wms/v1/operation/getOperationInfo/${data}`, + method: "get", + data + }) +} +// 鏈堝害缁熻鎶ヨ〃 +export function getmonthStats(data) { + return request({ + url: "/api-wms/v1/forms/monthStats", + method: "post", + data + }) } \ No newline at end of file -- Gitblit v1.8.0