From 7f97968e2f94ac53532a60f08c134c74a3a24847 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 27 三月 2024 17:35:59 +0800 Subject: [PATCH] 采购数量的产品信息请求接口修改+数量是0的时候没有显示的问题修改 --- src/api/purchaseManage/purchase.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/api/purchaseManage/purchase.js b/src/api/purchaseManage/purchase.js index 6e1941b..19c132b 100644 --- a/src/api/purchaseManage/purchase.js +++ b/src/api/purchaseManage/purchase.js @@ -105,8 +105,8 @@ // 纭閲囪喘鍗� export function newSubmitPurchase(data) { return request({ - url: "/api/purchase/newSubmit/"+data, - method: "get", + url: "/api/purchase/newSubmit", + method: "post", data }) } @@ -179,3 +179,11 @@ data }) } +// 鍏ㄩ儴鍚堟牸鍏ュ簱 +export function allProductInWarehouse(data) { + return request({ + url: "/api/purchase/allProductInWarehouse", + method: "post", + data + }) +} -- Gitblit v1.8.0