收货接口更改
参数
receiptId: 6531277
mealcomeTime: 1524022134000
rand: 5911
返回值
{
"code": "0",
"data": {
"branchId": 50008,
"branchName": "保利店",
"code": "SH1804036531277",
"total": "",
"amount": 0.00,
"date": "2018-04-03 10:29:59",
"isElectron": 1,
"isBill": 0,
"list": [{
"goodsId": 5002161,
"goodsName": "碱面",
"date": "2018-04-02 17:19:05",
"unitId": 42,
"unitName": "斤",
"secondUnitId": 42,
"secondUnitName": "斤",
"spec": "-",
"realWeight": "",
"tare": "",
"imgUrl": "",
"detailId": "",
"departId": "",
"departName": "",
"createdDate": "2018-03-27 16:49:09",
"code": "",
"purchaseQuantity": 3.00,
"purchaseSecondQuantity": 3.00,
"receiveQuantity": 0.20,
"receiveSecondQuantity": 0.20,
"price": 0.00000,
"amount": 0.00000,
“difference”: +8, // 增加差额列
"statusId": "",
"statusName": "",
"note": "",// 返回logCount里的第一条数据的备注信息,如果没有返回""
"scale": 1.0000,
"logCount": 2,
"qualityException": true,
"priceException": true,
"acceptanceIndices": "",
"documentChangeRecords": "",
"children": [{
"goodsId": 5002161,
"goodsName": "碱面",
"date": "2018-04-02 17:19:05",
"unitId": 42,
"unitName": "斤",
"secondUnitId": 42,
"secondUnitName": "斤",
"spec": "-",
"realWeight": 10.30,
"tare": 0.00,
"imgUrl": ["http://p3pgahq8p.bkt.clouddn.com/msci_861504034254502_1522636801278.jpg"],
"detailId": 10161049,
"departId": 500145,
"departName": "测试档口",
"createdDate": "2018-03-27 16:49:09",
"code": "CG1803276352763",
"purchaseQuantity": 3.00,
"purchaseSecondQuantity": 3.00,
"receiveQuantity": 0.20,
"receiveSecondQuantity": 0.20,
"price": 0.00000,
"amount": 0.00000,
“difference”: +3, // 增加差额列
"statusId": 8,
"statusName": "异常",
"note": "",// 返回logCount里的第一条数据的备注信息,如果没有返回""
"scale": 1.0000,
"logCount": 2,
"qualityException": true,
"priceException": true,
"acceptanceIndices": "",
"documentChangeRecords": [{
"id": 14867530,
"tenantId": 50135,
"documentTypeId": 22,
"documentId": 6531277,
"detailId": 10161050,
"changeContent": "碱面 收货异常, 异常原因: 低于收货阀值",
"changeDate": "2018-04-03 10:30:00",
"changeId": "",
"changeEmployeeId": "",
"person": "未知"
}, {
"id": 14867531,
"tenantId": 50135,
"documentTypeId": 22,
"documentId": 6531277,
"detailId": 10161050,
"changeContent": "碱面 收货异常, 异常原因: 价格超出上期价格50%或价格为零",
"changeDate": "2018-04-03 10:30:00",
"changeId": "",
"changeEmployeeId": "",
"person": "未知"
}],
}],
}]
},
"msg": "",
"version": ""
}
网友评论