feat: 添加产品与原材料BOM信息展示功能

- 新增listProductWithBom和listRawMaterialWithBom接口
- 在ProductSelect和RawMaterialSelect组件中展示BOM属性信息
- 优化物料状态显示条件及仓库过滤逻辑
- 更新统计组件查询参数
This commit is contained in:
砂糖
2025-10-31 16:20:03 +08:00
parent 5bd8769a7b
commit d5aaf4e84d
8 changed files with 99 additions and 14 deletions

View File

@@ -51,3 +51,11 @@ export function delProduct(productId) {
method: 'delete'
})
}
export function listProductWithBom(query) {
return request({
url: '/wms/product/listWithBom',
method: 'get',
params: query
})
}

View File

@@ -41,4 +41,4 @@ export function delProductBom(bomId) {
url: '/wms/productBom/' + bomId,
method: 'delete'
})
}
}

View File

@@ -59,3 +59,11 @@ export function listRawMaterialWithDemand(query) {
params: query
})
}
export function listRawMaterialWithBom(query) {
return request({
url: '/wms/rawMaterial/listWithBom',
method: 'get',
params: query
})
}