报废单详情查询收费
POST
/open/v1/supplyChain/scrapDetail(下行接口)报废单详情
请求参数
Body 参数application/json
queryRange
integer
必需
查询范围,1.品牌,2门店
scrapId
integer
必需
单据号(支持模糊查询),最长14位,BF + 年(4位) + 月(2位) + 日(2位) + 流水号(4位)
示例
{
"queryRange": 77,
"scrapId": 13
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
返回编码,详见错误码
message
string
返回信息
messageUuid
string
消息uuid
result
#/definitions/2409046必需
示例
{
"code": 0,
"message": "OK",
"messageUuid": "3b4cce269b0d45a3a2a783e91bed263a",
"result": {
"success": true,
"message": null,
"scrapId": 34342,
"scrapNo": "BF201608100001",
"warehouseId": 12,
"warehouseName": "仓库名称",
"updaterName": "老李",
"updateTime": "2016-08-02 10:00:00",
"confirmerName": "老李",
"confirmTime": "2016-08-02 10:00:00",
"status": 1,
"amount": 34.56,
"details": [
{
"skuId": 234,
"skuTypeId": 2,
"skuTypeName": "鱼",
"skuCode": "SKU0001",
"skuName": "海鲈鱼",
"unitId": 2,
"unitName": "Kg",
"price": 11,
"qty": 45.5,
"reasonId": 41,
"reason": "过期",
"batchNumber": 1234,
"skuConvertList": [
{
"unitId": 2,
"unitName": "箱",
"unitSmall": 0,
"unitStander": 0,
"unitPurchase": 1,
"skuConvert": 4000
}
]
}
],
"warehouses": [
{
"warehouseId": 1,
"warehouseName": "海鲜仓"
}
],
"reasons": [
{
"reasonId": 1,
"reason": "过期"
}
]
}
}
修改于 3 年前