接口 operators.depot.purchase.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.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": 48,
"per_page": 10,
"current_page": 1,
"last_page": 5,
"from": 0,
"to": 10,
"data": [{
"SupplierID": "69c39945314d630011fc2b8c",
"DepotID": "69c39945314d630011fc2b8c",
"ProductList": [
{
"BarCode": "6914068024318",
"Price": 100,
"Qty": 1,
"TotalPrice": 100,
"PurchasePrice": 1,
"PurchaseQty": 1,
"SpecQty": 1,
"Parts": 0
}
],
"Remarks": "",
"OID": "5a1e1b3a2928b400124ab1f3",
"BizTime": 1548841192,
"OpAccountID": "69c39945314d630011fc2b8c",
"TotalProductQty": 1,
"TotalPrice": 100,
"TotalSpecQty": 1,
"ReceiptNo": "CG19013017400641293",
"Status": 1,
"CreateAt": 1548841206,
"UpdatedAt": 1548841206,
"id": "5c5170f6eec70600129d0a0a",
"SupplierVO": {
"Name": "XXX科技有限公司"
},
"DepotVO": {
"Name": "饮料"
},
"OpAccountVO": {
"TrueName": "13500000000"
}
}, {...}]
}
}