cs.crm.quotation.update
更新已有报价单档案信息
- 请求路由:
cs.crm.quotation.update- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "cs.crm.quotation.update",
"data" : {
"replaceMe" : "包含更新内容的报价单对象"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
quotationNo | String | 否 | 报价单号 (主键) |
status | String | 否 | 状态 |
quotationType | String | 否 | 报价类型 |
salesperson | Object | 否 | 归属销售人员 |
salesperson.department | String | 否 | 部门id |
salesperson.departmentName | String | 否 | 部门名称 |
salesperson.username | String | 否 | 用户标识 |
salesperson.name | String | 否 | 用户名称 |
salesperson.nameEn | String | 否 | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
salesperson.mobile | String | 否 | 用户手机号 |
salesperson.email | String | 否 | 用户邮箱 |
salesperson.position | String | 否 | 职位 |
salesperson.contactRoles | String[] | 否 | 联系人承担的职责,支持多选;未指定时为空集合 |
customerUsername | String | 否 | 客户信息(往来单位id) |
freightRateId | String | 否 | 运价id |
carrier | String | 否 | 船公司(往来单位id) |
pols | String[] | 否 | 起运港(往来单位id)集合 |
pods | String[] | 否 | 目的港(往来单位id)集合 |
pors | String[] | 否 | 收货地(往来单位id)集合 |
fnds | String[] | 否 | 交货地(往来单位id)集合 |
cargoName | String | 否 | 货品名称 |
cargoWeight | Number | 否 | 当前报价所含全部货品的总重量(KGS) |
incoTerms | String | 否 | 国际贸易条款(基础数据id) |
frequency | String | 否 | 频率(基础数据id) |
currency | String | 否 | 币种 |
validityPeriod | String | 否 | 有效期 |
containerInfos | Object[] | 否 | 集装箱信息 |
containerInfos.[].unitPrice | Number | 否 | 单价 |
containerInfos.[].totalAmount | Number | 否 | 总金额 |
containerInfos.[].type | String | 否 | 箱型类型 |
containerInfos.[].name | String | 否 | 箱型名称 |
containerInfos.[].nameEn | String | 否 | 箱型英文名称 |
containerInfos.[].count | Number | 否 | 数量 |
containerInfos.[].containerNos | String[] | 否 | 当前箱型明细包含的柜号;未指定具体集装箱的出口业务可不填写。 |
surchargeInfo | Object | 否 | 附加费信息 |
quickQuotationText | String | 否 | 快速报价文本 |
attachments | Object[] | 否 | 报价附件列表 |
attachments.[].title | String | 否 | 附件标题 |
attachments.[].description | String | 否 | 附件说明 |
attachments.[].binaryId | String[] | 否 | 附件id |
remarks | String | 否 | 备注信息 |
legalEntityId | String | 否 | 法人主体id |
customerId | String | 否 | 客户id |
extraProps | Object | 否 | 扩展属性 |
crBy | String | 否 | 创建者 |
upBy | String | 否 | 最后修改者 |
crDate | String | 否 | 创建时间 |
upDate | String | 否 | 最后修改时间 |
id | Varies | 否 | 返回报价业务主键,供报价导出和通用持久化使用。 |
返回
更新后 的报价单对象 Mono 封装
{ }
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
quotationNo | String | 报价单号 (主键) |
status | String | 状态 |
quotationType | String | 报价类型 |
salesperson | Object | 归属销售人员 |
salesperson.department | String | 部门id |
salesperson.departmentName | String | 部门名称 |
salesperson.username | String | 用户标识 |
salesperson.name | String | 用户名称 |
salesperson.nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
salesperson.mobile | String | 用户手机号 |
salesperson.email | String | 用户邮箱 |
salesperson.position | String | 职位 |
salesperson.contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
customerUsername | String | 客户信息(往来单位id) |
customer | Object | 客户信息 |
customer.country | String | 国家 |
customer.countryEn | String | 国家(英文) |
customer.abbreviation | String | 名称缩写 |
customer.address | String | 地址(中文) |
customer.addressEn | String | 地址(英文) |
customer.contactPersons | Object[] | 联系人信息列表,支持多个联系人 |
customer.contactPersons.[].username | String | 用户标识 |
customer.contactPersons.[].name | String | 用户名称 |
customer.contactPersons.[].nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
customer.contactPersons.[].mobile | String | 用户手机号 |
customer.contactPersons.[].email | String | 用户邮箱 |
customer.contactPersons.[].position | String | 职位 |
customer.contactPersons.[].contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
customer.bankAccounts | Object[] | 银行账户列表,支持多个账户 |
customer.bankAccounts.[].accountName | String | 开户名称 |
customer.bankAccounts.[].bankName | String | 银行名称 |
customer.bankAccounts.[].bankCode | String | 联行号 |
customer.bankAccounts.[].bankAccount | String | 银行账号 |
customer.bankAccounts.[].currency | String | 币制 |
customer.bankAccounts.[].swiftCode | String | SWIFT CODE |
customer.bankAccounts.[].address | String | 地址 |
customer.bankAccounts.[].isDefault | Boolean | 是否默认 |
customer.invoiceInfo | Object | 开票信息 |
customer.invoiceInfo.companyName | String | 公司名称 |
customer.invoiceInfo.taxIdentificationNumber | String | 纳税识别号 |
customer.invoiceInfo.companyAddress | String | 公司地址 |
customer.invoiceInfo.phone | String | 电话 |
customer.invoiceInfo.bankAccount | String | 银行账号 |
customer.invoiceInfo.contact | String | 联系人 |
customer.invoiceInfo.email | String | 邮箱 |
customer.extraProps | Object | 扩展信息 |
customer.relatedCustomers | Object[] | 关联客户列表 |
customer.relatedCustomers.[].tags | String[] | 该客户赋予当前往来单位的角色标签列表(如 shipper, consignee, importBuyer 等) |
customer.relatedCustomers.[].extraProps | Object | 专属定制扩展属性 (Key 为 tag 比如 "shipper", Value 为特定定制的 Unit 实例) |
customer.relatedCustomers.[].unitId | String | 往来单位唯一ID,主键 |
customer.relatedCustomers.[].name | String | 名称(中文) |
customer.relatedCustomers.[].nameEn | String | 名称(英文) |
customer.unitId | String | 往来单位唯一ID,主键 |
customer.name | String |