ICreateOrderOption 接口
interface ICreateOrderOption
创建订单参数
属性
attachments
attachments?: IDesignAttachments[];
订单附件信息
类型: IDesignAttachments[]
contactPhone
contactPhone?: string;
联系电话
contactUser
contactUser?: string;
联系人
customerAddr
customerAddr?: string;
客户地址
customerId
customerId: string;
客户id
customerName
customerName: string;
客户姓名
customerPhone
customerPhone: string;
客户电话
customFields
customFields?: Record<string, string | boolean | number>;
自定义字段 (key:自定义字段名称、value:字段值)
designAttachments
designAttachments?: IDesignAttachments[];
设计附件信息
类型: IDesignAttachments[]
designRemark
designRemark?: string;
设计备注
emergencyLevel
emergencyLevel?: number;
紧急程度
externalCode
externalCode?: string;
外部系统编码
modelIds
modelIds: string[];
提审的顶层模型 ID 列表
orderName
orderName: string;
订单名称
orderType
orderType: EToolType[];
订单类型
类型: EToolType[]
parentOrderId
parentOrderId?: string;
父订单ID
receiptType
receiptType?: number;
单据类型
remark
remark?: string;
订单备注
repetitions
repetitions?: number;
订单套数(订单内产品批量下单N套)
shippingAddr
shippingAddr?: string;
收货地址
storeId
storeId?: string;
门店id
storeName
storeName?: string;
门店名称
subModels
subModels?: ISubModel[];
组件提审信息,如果提审的是组合下的顶层模型也存放在该字段
类型: ISubModel[]