(no commit message provided)

Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
dxc
2026-02-09 15:50:56 +08:00
parent e535a2d99c
commit 170e80e2a5
3 changed files with 125 additions and 14 deletions

View File

@ -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'
})
}