半成品成品价格于BOM表关联

This commit is contained in:
dxc
2026-03-02 13:39:52 +08:00
parent 16350842f8
commit cf75b80e13
4 changed files with 55 additions and 3 deletions

View File

@ -42,7 +42,7 @@ export function searchMaterialBase(keyword: string, page: number = 1) {
})
}
// 搜索BOM (新增)
// 搜索BOM
export function searchBom(keyword: string) {
return request({
url: '/inbound/product/search-bom',
@ -68,11 +68,20 @@ export function getFilterOptions() {
})
}
// [新增] 负责人历史记录
// [新增] 负责人历史记录全局查询
export function getManagerHistory(params: any) {
return request({
url: '/inbound/product/suggestions/managers',
method: 'get',
params
})
}
// [新增] BOM 成本自动计算
export function calculateBomCost(params: {bom_code: string, bom_version: string}) {
return request({
url: '/inbound/product/calculate-bom-cost',
method: 'get',
params
})
}

View File

@ -70,11 +70,20 @@ export function getFilterOptions() {
})
}
// [新增] 生产负责人历史记录
// [新增] 生产负责人历史记录全局查询
export function getManagerHistory(params: any) {
return request({
url: '/inbound/semi/suggestions/managers',
method: 'get',
params
})
}
// [新增] BOM 成本自动计算
export function calculateBomCost(params: {bom_code: string, bom_version: string}) {
return request({
url: '/inbound/semi/calculate-bom-cost',
method: 'get',
params
})
}