(no commit message provided)
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
@ -47,3 +47,19 @@ export function getMaterialBaseList(params?: any) {
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取 BOM 父件列表
|
||||
export function getBomParents() {
|
||||
return request({
|
||||
url: '/v1/bom/parents',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取指定BOM详情
|
||||
export function getBom(parentId: number) {
|
||||
return request({
|
||||
url: `/v1/bom/${parentId}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user