接口 operators.depot.purchase.return.list
接口说明
采购退货列表
业务参数
参数名称 |
类型 |
是否必须 |
说明 |
page |
int |
N |
页数 |
pageSize |
int |
N |
条数 |
criteria |
Object |
N |
过滤条件 |
criteria.SupplierID |
String |
N |
供应商 id |
criteria.DepotID |
String |
N |
仓库 id |
criteria.OpAccountID |
String |
N |
制单人 id |
criteria.DateRange |
String |
N |
时间范围 |
criteria.ReceiptNo |
String |
N |
单据号 |
请求示例
{
"method": "operators.depot.purchase.return.list",
"biz_content": {
"page": 1,
"pageSize": 10,
"criteria": {
"SupplierID": "69c39945314d630011fc2b8c",
"DepotID": "69c39945314d630011fc2b8c",
"OpAccountID": "69c39945314d630011fc2b8c",
"DateRange": "2019-04-23 - 2019-04-24",
"ReceiptNo": "CG19013017400641293",
},
}
}
返回结果
返回示例
{
"error_code": 0,
"error_msg": "SUCCESS"
"data": {
"total": 28,
"per_page": 10,
"current_page": 1,
"last_page": 3,
"from": 0,
"to": 10,
"data": [{
"SupplierID": "69c39945314d630011fc2b8c",
"DepotID": "69c39945314d630011fc2b8c",
"ProductList": [
{
"BarCode": "9555613800451",
"Price": 10,
"Qty": 1,
"TotalPrice": 10,
"PurchasePrice": 0.1,
"PurchaseQty": 0,
"SpecQty": 1,
"Parts": 1
}
],
"Remarks": "222",
"OID": "5a1e1b3a2928b400124ab1f3",
"BizTime": 1555914910,
"OpAccountID": "69c39945314d630011fc2b8c",
"TotalProductQty": 1,
"TotalPrice": 10,
"TotalSpecQty": 1,
"ReceiptNo": "CG19013017400641293",
"Status": 0,
"CreateAt": 1555933344,
"UpdatedAt": 1556010509,
"id": "5cbda8a0fb10c230652f8444",
"SupplierVO": {
"Name": "XXX科技有限公司"
},
"DepotVO": {
"Name": "仓库"
},
"OpAccountVO": {
"TrueName": "SSS"
}
}, {...}]
}
}