ERP:初始化其它入库的表单 40%

This commit is contained in:
YunaiV
2024-02-06 12:44:39 +08:00
parent d92404f351
commit 53c94af027
4 changed files with 168 additions and 92 deletions

View File

@ -24,6 +24,11 @@ export const StockApi = {
return await request.get({ url: `/erp/stock/get?id=` + id })
},
// 查询产品库存详情
getStock2: async (productId: number, warehouseId: number) => {
return await request.get({ url: `/erp/stock/get`, params: { productId, warehouseId } })
},
// 导出产品库存 Excel
exportStock: async (params) => {
return await request.download({ url: `/erp/stock/export-excel`, params })