跳到主要内容

IDP.Integration.Bom.createPlanksAsync() function

批量创建板件接口

Signature:

function createPlanksAsync(option: {
planks: BomPlankEditable[];
}): Promise<{
plankIds: string[];
}>;

Links: function createPlanksAsync(option: { planks: BomPlankEditable[]; }): Promise<{ plankIds: string[]; }>;

Parameters

Parameter

Type

Description

option

{ planks: BomPlankEditable[]; }

@vm-type AsyncFunctionType

Returns:

Promise<{ plankIds: string[]; }>

Exceptions

{Error} 报错即表示创建失败