feat: 添加产品与原材料BOM信息展示功能
- 新增listProductWithBom和listRawMaterialWithBom接口 - 在ProductSelect和RawMaterialSelect组件中展示BOM属性信息 - 优化物料状态显示条件及仓库过滤逻辑 - 更新统计组件查询参数
This commit is contained in:
@@ -51,3 +51,11 @@ export function delProduct(productId) {
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function listProductWithBom(query) {
|
||||
return request({
|
||||
url: '/wms/product/listWithBom',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
@@ -41,4 +41,4 @@ export function delProductBom(bomId) {
|
||||
url: '/wms/productBom/' + bomId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -59,3 +59,11 @@ export function listRawMaterialWithDemand(query) {
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listRawMaterialWithBom(query) {
|
||||
return request({
|
||||
url: '/wms/rawMaterial/listWithBom',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user