(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:19:19 +08:00
parent 40abb53721
commit b61072eea0
4 changed files with 173 additions and 8 deletions

View File

@ -28,4 +28,22 @@ export function printStocktakeReport(data: any) {
method: 'post',
data
})
}
}
// 保存 BOM 结构
export function saveBom(data: { parent_id: number; children: any[] }) {
return request({
url: '/v1/bom',
method: 'post',
data
})
}
// 获取基础物料列表
export function getMaterialBaseList(params?: any) {
return request({
url: '/v1/bom/base/list',
method: 'get',
params
})
}