接口文档 / 商品接口
获取调拨单详情
响应参数
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
data可选 | object | |
id可选 | integer | |
amount可选 | number | |
count可选 | number | |
kindCount可选 | integer | |
orderNo可选 | string | |
transType可选 | integer | |
transCostPriceType可选 | integer | |
createdUser可选 | object | |
created可选 | string | |
reviewDate可选 | string | |
reviewUser可选 | object | |
inConfirmDate可选 | string | |
inConfirmUser可选 | object | |
toOrgan可选 | object | |
inPharmacy可选 | object | |
fromOrgan可选 | object | |
outPharmacy可选 | object | |
lastModified可选 | string | |
lastModifiedUser可选 | object | |
status必填 | integer | |
items可选 | array<object> | |
error可选可为空 | object | |
响应示例
{
"data": {
"id": 0,
"amount": 0,
"count": 0,
"kindCount": 0,
"orderNo": "string",
"transType": 0,
"transCostPriceType": 0,
"createdUser": {
"id": "string",
"name": "string"
},
"created": "2026-01-01T00:00:00Z",
"reviewDate": "2026-01-01T00:00:00Z",
"reviewUser": {
"id": "string",
"name": "string"
},
"inConfirmDate": "2026-01-01T00:00:00Z",
"inConfirmUser": {
"id": "string",
"name": "string"
},
"toOrgan": {
"id": "string",
"name": "string"
},
"inPharmacy": {
"no": 0
},
"fromOrgan": {
"id": "string",
"name": "string"
},
"outPharmacy": {
"no": 0
},
"lastModified": "2026-01-01T00:00:00Z",
"lastModifiedUser": {
"id": "string",
"name": "string"
},
"status": 1,
"items": [
{
"applicationPackageCount": 0,
"applicationPieceCount": 0,
"packageCount": 0,
"pieceCount": 0,
"goods": {
"id": "string",
"name": "阿莫西林",
"typeId": 1,
"typeName": "药品",
"customTypeId": 213,
"customTypeName": "抗生素",
"manufacturer": "拜耳",
"medicineNmpn": "H20000001",
"barCode": "string",
"pieceUnit": "支",
"pieceNum": 10,
"piecePrice": 10.5,
"packageUnit": "盒",
"packagePrice": 105,
"shortId": "K1001",
"specification": "1ml:0.5mg*10支/盒",
"otcType": 1,
"status": 1,
"lastModified": "2022-05-13 12:22:56",
"goodsSpu": {
"id": "string",
"name": "string",
"brandName": "string",
"material": "string"
},
"goodsSpec": {
"color": "string",
"spec": "string"
},
"remark": "abc",
"dosageFormType": 0,
"dosageFormTypeName": "string",
"priceType": 0,
"priceMakeupPercent": 0
},
"outTotalCostPrice": 0,
"outPackageCostPrice": 0,
"bathes": [
{
"stockId": 0,
"batchNo": "string",
"expiryDate": "string",
"packageCount": 0,
"pieceCount": 0,
"outPackageCostPrice": 0
}
],
"transInBatches": [
{
"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
}
],
"lastModified": "2026-01-01T00:00:00Z"
}
]
},
"error": null
}业务失败包装示意
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}