接口文档 / 商品接口
获取盘点单详情
响应参数
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
data可选 | object | |
checkOrderItemList可选 | array<object> | |
comment可选 | object | |
id可选 | integer | |
orderNo可选 | string | |
status可选 | integer | |
organId可选 | string | |
organName可选 | string | |
count可选 | number | |
kindCount可选 | integer | |
totalCostPriceChange可选 | number | |
totalPriceChange可选 | number | |
operator可选 | string | |
operatorId可选 | string | |
effectiveDate可选 | string | |
lastModified可选 | string | |
error可选可为空 | object | |
响应示例
{
"data": {
"checkOrderItemList": [
{
"id": 0,
"productId": "string",
"productShortId": "string",
"productName": "string",
"specification": "string",
"expiryDate": "string",
"productionDate": "yyyy-mm-dd",
"pieceNum": 5,
"pieceUnit": "片",
"packageUnit": "盒",
"stockId": "string",
"packageCostPrice": 0,
"beforePieceCount": 0,
"beforePackageCount": 0,
"afterPieceCount": 0,
"afterPackageCount": 0,
"changePieceCount": 0,
"changePackageCount": 0,
"amount": 0,
"lastModified": "2022-05-13 12:22:56",
"checkBatches": [
{
"stockId": 12312,
"stockInOutDetailId": 12312,
"batchId": 12312,
"supplier": {
"id": "string",
"name": "string"
},
"batchNo": 555555,
"productionDate": "2023-01-11",
"expiryDate": "2023-01-11",
"packageCount": 1,
"pieceCount": 1,
"packageCostPrice": 1,
"pieceNum": 10,
"costPrice": 1,
"packagePrice": 1
}
]
}
],
"comment": {
"time": "2026-01-01T00:00:00Z",
"content": "string",
"employeeId": "string",
"employeeName": "string"
},
"id": 0,
"orderNo": "PD20220526000001",
"status": 0,
"organId": "ffffffff0000000019b354880922800a",
"organName": "高新大源店",
"count": 12,
"kindCount": 5,
"totalCostPriceChange": 0,
"totalPriceChange": 0,
"operator": "string",
"operatorId": 123456,
"effectiveDate": "2022-04-07 15:12:53",
"lastModified": "2022-05-13 12:22:56"
},
"error": null
}业务失败包装示意
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}