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 @@