From a1b487e3417efb1481c3ef5598dcc4894529f1d5 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 18 四月 2024 16:42:04 +0800 Subject: [PATCH] 出入库明细打印的接口联调+根据公司的不同设置不同的打印宽度 --- src/api/reportForm/inventoryRwport.js | 31 ++++++++++++++++++++++++++++--- 1 files changed, 28 insertions(+), 3 deletions(-) diff --git a/src/api/reportForm/inventoryRwport.js b/src/api/reportForm/inventoryRwport.js index 114eb10..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 }) } @@ -35,4 +36,28 @@ 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