V3.50
This commit is contained in:
@ -9,6 +9,16 @@ export function getBomList(params?: any) {
|
||||
})
|
||||
}
|
||||
|
||||
// 获取BOM详情(含库存信息)
|
||||
export function getBomWithStock(bomNo: string) {
|
||||
const trimmed = bomNo.replace(/^\/+|\/+$/g, '');
|
||||
const encoded = encodeURIComponent(trimmed);
|
||||
return request({
|
||||
url: `/v1/bom/stock/${encoded}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取BOM详情
|
||||
export function getBomDetail(bomNo: string, version?: string) {
|
||||
// 去除首尾斜杠,保留中间斜杠并进行 URL 编码
|
||||
|
||||
Reference in New Issue
Block a user