szbinv.inventories.updateDetail
修改盘点单的分配地点
- 请求路由:
szbinv.inventories.updateDetail- 交互模型:
Request Response修改盘点单的分配地点
请求
RSocket.rr({
route: 'szbinv.inventories.updateDetail',
data: {
id: "111",
allotScope: [
{
scope: "深圳湾站后勤保障处",
places: [
"行政楼602",
"行政楼603"
]
},
{
scope: "深圳湾站公物仓",
places: [
"行政楼607"
]
}
]
}
})
请求参数
| 属性 | 类型 | 默认值 | 必须 | 说明 |
|---|---|---|---|---|
| id | string | 是 | 盘点单id | |
| planId | string | 是 | 盘点计划id | |
| name | string | 是 | 盘点单名称 | |
| username | string | 是 | 负责人 | |
| fullName | string | 是 | 负责人姓名 | |
| scope | string | 是 | 盘点范围 | |
| status | string | 是 | 是否盘点完 | |
| remark | string | 否 | 备注 | |
| allotScope | list | 否 | 分配的盘点区域 | |
| allotScope.scope | string | 否 | 区域 | |
| allotScope.places | list | 否 | 具体的地点 |
返回
{
"upBy": "admin@szbp",
"upDate": "2022-07-05T03:45:52.590516600Z",
"tenantId": "szbp",
"id": "62c3b3f0a1f456759848cf94",
"name": "测试盘点单名称",
"planId": "62cf70120e59b10719449756",
"username": "kai@szbp",
"fullName": "凯",
"scope": "0",
"status": "0",
"remark": "",
"allotScope": [
{
"scope": "深圳湾站后勤保障处",
"places": [
"行政楼602",
"行政楼603"
]
},
{
"scope": "深圳湾站公物仓",
"places": [
"行政楼607"
]
}
]
}
返回属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | string | 唯一id |
| planId | string | 盘点计划id |
| name | string | 盘点单名称 |
| username | string | 负责人 |
| fullName | string | 负责人姓名 |
| scope | string | 盘点范围(0:全量,1:部分) |
| crName | string | 创建人姓名 |
| status | string | 是否盘点完(0:创建,1:已下载,2:已上传,3:已完成,4:已取消) |
| remark | string | 备注 |
| downloadTime | Instant | 下载时间 |
| uploadTime | Instant | 上传时间 |
| completeTime | Instant | 完成时间 |
| cancelTime | Instant | 取消时间 |
| allotScope | list | 分配的区域 |
| allotScope.scope | list | 分配范围 |
| allotScope.places | list | 具体地点 |
| placesDetail | list_AssetModel | 盘点地区明细 |
| placesDetail.place | String | 盘点地区 |
| placesDetail.assets | list_Asset | 明细 |
| placesDetail.assets.assetNum | string | 资产编号 |
| placesDetail.assets.rfid | string | 盘点结果 |
| placesDetail.assets.usage | string | 使用状态(字典) |
| placesDetail.assets.remark | string | 备注 |
| crBy | String | 创建人 |
| upBy | String | 修改人 |
| crDate | Instant | 创建时间 |
| upDate | Instant | 更新时间 |
| tenantId | String | 租户id |
错误码
| 值 | 说明 |
|---|