{
"body": {
"conditions": {
"id": {
"conditionType": "NONE", // 条件类型(枚举字段,不可修改。NONE表示无特定条件类型)
"filter": ["RL202305001", "RL202305002"], // 还料任务ID筛选列表(示例:还料入库编号)
"value": "RL202305001", // 当前选中的还料任务ID
"timeRange": {
"start": 1682904000000, // 查询起始时间(13位时间戳,示例:2023-05-01 08:00:00)
"end": 1683711000000 // 查询结束时间(13位时间戳,示例:2023-05-10 15:30:00)
}
}
},
"paging": {
"start": 0, // 分页起始索引(从0开始)
"length": 1 // 每页返回记录数(示例:请求1条记录)
}
}
}
curl --location --request POST '/api/open/v4/inventory/task/materialReturn/query' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"conditions": {
"id": {
"conditionType": "NONE", // 条件类型(枚举字段,不可修改。NONE表示无特定条件类型)
"filter": ["RL202305001", "RL202305002"], // 还料任务ID筛选列表(示例:还料入库编号)
"value": "RL202305001", // 当前选中的还料任务ID
"timeRange": {
"start": 1682904000000, // 查询起始时间(13位时间戳,示例:2023-05-01 08:00:00)
"end": 1683711000000 // 查询结束时间(13位时间戳,示例:2023-05-10 15:30:00)
}
}
},
"paging": {
"start": 0, // 分页起始索引(从0开始)
"length": 1 // 每页返回记录数(示例:请求1条记录)
}
}
}'
{
"code": 0,
"message": "",
"data": {
"list": [
{
"id": 0,
"code": "",
"staffCode": "",
"staffName": "",
"planTime": 0,
"createTime": 0,
"workOrderCode": "",
"workOrderItemCode": "",
"workOrderProcedureCode": "",
"workOrderProcedureName": "",
"records": [
{
"itemCode": "",
"itemName": "",
"itemUnit": "",
"itemType": "",
"batchNumber": "",
"defaultWarehouseCode": "",
"quantity": 0.0,
"confirmedQuantity": 0.0,
"returnType": false,
"returnSnCode": "",
"defaultReturnWarehouseCode": ""
}
]
}
],
"start": 0,
"length": 0,
"recordsTotal": 0
}
}