diff --git a/src/api/erp/product/product/index.ts b/src/api/erp/product/product/index.ts index 38eaa599..1f176047 100644 --- a/src/api/erp/product/product/index.ts +++ b/src/api/erp/product/product/index.ts @@ -37,7 +37,7 @@ export const ProductApi = { }, // 查询产品精简列表 - getProductSimpleList: async (params?: { categoryId?: string | number }) => { + getProductSimpleList: async (params?: { categoryId?: string | number; categoryType?: number }) => { return await request.get({ url: `/erp/product/simple-list-all`, params }) }, // 查询原料精简列表 diff --git a/src/views/erp/stock/stock/index.vue b/src/views/erp/stock/stock/index.vue index 5b4be8d5..9f3c577d 100644 --- a/src/views/erp/stock/stock/index.vue +++ b/src/views/erp/stock/stock/index.vue @@ -160,11 +160,11 @@ {{ formatStockCount(row.totalBaseCount) }} - +