From af9ae0806cdce3935d8c5ec9f4e4f085587353b6 Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期四, 30 十一月 2023 11:18:03 +0800
Subject: [PATCH] edit:修改出入库明细单打印,canvas的裁切宽度

---
 src/api/reportForm/inventoryRwport.js |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/src/api/reportForm/inventoryRwport.js b/src/api/reportForm/inventoryRwport.js
index bef274f..9a86dfd 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,21 @@
     method: "post",
     data
   })
+}
+
+//鎶ヨ〃鍘嗗彶
+export function getHistory(data) {
+  return request({
+    url: "/api-wms/v1/forms/getHistory",
+    method: "post",
+    data
+  })
+}
+//鏌ヨ鍗曟潯璇︽儏鎺ュ彛
+export function getOperationInfo(data) {
+  return request({
+    url: `/api-wms/v1/operation/getOperationInfo/${data}`,
+    method: "get",
+    data
+  })
 }
\ No newline at end of file

--
Gitblit v1.8.0