将半成品和成品跟bom表进行相关联

This commit is contained in:
dxc
2026-02-12 17:16:24 +08:00
parent b682d4b02f
commit 853374de5d
8 changed files with 292 additions and 192 deletions

View File

@ -41,6 +41,15 @@ export function searchMaterialBase(keyword: string) {
})
}
// 搜索BOM (新增)
export function searchBom(keyword: string) {
return request({
url: '/inbound/product/search-bom',
method: 'get',
params: { keyword }
})
}
// 用户建议
export function getUserSuggestions(params: any) {
return request({
@ -56,4 +65,4 @@ export function getFilterOptions() {
url: '/inbound/product/options',
method: 'get'
})
}
}

View File

@ -44,6 +44,15 @@ export function searchMaterialBase(keyword: string) {
})
}
// 5.5 搜索BOM (新增)
export function searchBom(keyword: string) {
return request({
url: '/inbound/semi/search-bom',
method: 'get',
params: { keyword }
})
}
// 用户建议
export function getUserSuggestions(params: any) {
return request({
@ -59,4 +68,4 @@ export function getFilterOptions() {
url: '/inbound/semi/options',
method: 'get'
})
}
}