cs.slot-procurements.allocation.info
查询指定时间窗口内活跃采购单的库存分配实况信息
- 请求路由:
cs.slot-procurements.allocation.info- 交互模型:
Request Stream- 访问限制: 无
请求
RSocket.rs({
"route" : "cs.slot-procurements.allocation.info",
"data" : {
"replaceMe" : "包含时间范围与周数的请求对象"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
week | String | 否 | 周次 |
from | String | 否 | 周次开始时间 |
to | String | 否 | 周次结束时间 |
返回
分配情况汇总信息流 Flux 封装
[ ]
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
poId | String | 采购单 ID |
poNo | String | 采购单号 |
supplierId | String | 供应商(往来单位id) |
supplier | Object | 供应商(往来单位) |
supplier.country | String | 国家 |
supplier.countryEn | String | 国家(英文) |
supplier.abbreviation | String | 名称缩写 |
supplier.address | String | 地址(中文) |
supplier.addressEn | String | 地址(英文) |
supplier.contactPersons | Object[] | 联系人信息列表,支持多个联系人 |
supplier.contactPersons.[].username | String | 用户标识 |
supplier.contactPersons.[].name | String | 用户名称 |
supplier.contactPersons.[].nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
supplier.contactPersons.[].mobile | String | 用户手机号 |
supplier.contactPersons.[].email | String | 用户邮箱 |
supplier.contactPersons.[].position | String | 职位 |
supplier.contactPersons.[].contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
supplier.bankAccounts | Object[] | 银行账户列表,支持多个账户 |
supplier.bankAccounts.[].accountName | String | 开户名称 |
supplier.bankAccounts.[].bankName | String | 银行名称 |
supplier.bankAccounts.[].bankCode | String | 联行号 |
supplier.bankAccounts.[].bankAccount | String | 银行账号 |
supplier.bankAccounts.[].currency | String | 币制 |
supplier.bankAccounts.[].swiftCode | String | SWIFT CODE |
supplier.bankAccounts.[].address | String | 地址 |
supplier.bankAccounts.[].isDefault | Boolean | 是否默认 |
supplier.invoiceInfo | Object | 开票信息 |
supplier.invoiceInfo.companyName | String | 公司名称 |
supplier.invoiceInfo.taxIdentificationNumber | String | 纳税识别号 |
supplier.invoiceInfo.companyAddress | String | 公司地址 |
supplier.invoiceInfo.phone | String | 电话 |
supplier.invoiceInfo.bankAccount | String | 银行账号 |
supplier.invoiceInfo.contact | String | 联系人 |
supplier.invoiceInfo.email | String | 邮箱 |
supplier.extraProps | Object | 扩展信息 |
supplier.relatedCustomers | Object[] | 关联客户列表 |
supplier.relatedCustomers.[].tags | String[] | 该客户赋予当前往来单位的角色标签列表(如 shipper, consignee, importBuyer 等) |
supplier.relatedCustomers.[].extraProps | Object | 专属定制扩展属性 (Key 为 tag 比如 "shipper", Value 为特定定制的 Unit 实例) |
supplier.relatedCustomers.[].unitId | String | 往来单位唯一ID,主键 |
supplier.relatedCustomers.[].name | String | 名称(中文) |
supplier.relatedCustomers.[].nameEn | String | 名称(英文) |
supplier.unitId | String | 往来单位唯一ID,主键 |
supplier.name | String | 名称(中文) |
supplier.nameEn | String | 名称(英文) |
routeInfoId | String | 航线信息(基础数据id) |
routeInfo | Object | 航线信息(基础数据) |
routeInfo.itemId | String |