(no commit message provided)
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user