From 37bb01d4b7a758c525a9bd0e047c7aa34fa03454 Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 16 Jun 2026 10:15:18 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E5=85=A5=E5=BA=93=E5=8D=95?= =?UTF-8?q?=E6=8D=AE/=E5=87=BA=E5=BA=93=E5=8D=95=E6=8D=AE-=E6=96=B0?= =?UTF-8?q?=E5=A2=9E/=E7=BC=96=E8=BE=91-get=E6=8E=A5=E5=8F=A3=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=BA=93=E5=8C=BA=E5=85=A5=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/erp/stock/stock/index.ts | 4 ++-- src/views/erp/stock/in/components/StockInItemForm.vue | 11 +++++++++-- .../erp/stock/out/components/StockOutItemForm.vue | 11 +++++++++-- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/api/erp/stock/stock/index.ts b/src/api/erp/stock/stock/index.ts index d0e2a28a..b7795a49 100644 --- a/src/api/erp/stock/stock/index.ts +++ b/src/api/erp/stock/stock/index.ts @@ -45,8 +45,8 @@ export const StockApi = { }, // 查询产品库存详情 - getStock2: async (productId: number, warehouseId: number) => { - return await request.get({ url: `/erp/stock/get`, params: { productId, warehouseId } }) + getStock2: async (productId: number, warehouseId: number, areaId?: number) => { + return await request.get({ url: `/erp/stock/get`, params: { productId, warehouseId, areaId } }) }, // 获得产品库存数量 diff --git a/src/views/erp/stock/in/components/StockInItemForm.vue b/src/views/erp/stock/in/components/StockInItemForm.vue index c9f7a26e..1bdb41c3 100644 --- a/src/views/erp/stock/in/components/StockInItemForm.vue +++ b/src/views/erp/stock/in/components/StockInItemForm.vue @@ -16,7 +16,14 @@