跳到主要内容

ICreateOrderOption interface

创建订单参数

Signature:

interface ICreateOrderOption 

Properties

Property

Modifiers

Type

Description

attachments?

IDesignAttachments[]

(Optional) 订单附件信息

contactPhone?

string

(Optional) 联系电话

contactUser?

string

(Optional) 联系人

customerAddr?

string

(Optional) 客户地址

customerId

string

客户id

customerName

string

客户姓名

customerPhone

string

客户电话

customFields?

Record<string, string | boolean | number>

(Optional) 自定义字段 (key:自定义字段名称、value:字段值)

designAttachments?

IDesignAttachments[]

(Optional) 设计附件信息

designRemark?

string

(Optional) 设计备注

emergencyLevel?

number

(Optional) 紧急程度

externalCode?

string

(Optional) 外部系统编码

modelIds

string[]

提审的顶层模型 ID 列表

orderName

string

订单名称

orderType

EToolType[]

订单类型

parentOrderId?

string

(Optional) 父订单ID

receiptType?

number

(Optional) 单据类型

remark?

string

(Optional) 订单备注

repetitions?

number

(Optional) 订单套数(订单内产品批量下单N套)

shippingAddr?

string

(Optional) 收货地址

storeId?

string

(Optional) 门店id

storeName?

string

(Optional) 门店名称

subModels?

ISubModel[]

(Optional) 组件提审信息,如果提审的是组合下的顶层模型也存放在该字段