审批页面 (待办)
[TOC]
简要描述
请求URL
http://172.16.14.59:8082/deviceManagement/warehouse/lendList
请求方式
- POST
参数
{
"company":1,
"status":[4],
"borrowNumber":"8FBB53A2F8244D04824AE51730EFEB", 借用单号 模糊查询
"pageNum":1,
"pageSize":10
}
返回示例
{
"code": 200,
"success": true,
"msg": "操作成功",
"data": {
"total": 4,
"status_sum": { 各状态统计
"1": 23,
"4": 1,
"6": 2
},
"list": [
{
"check_reason": null, 归还退回原因
"dgh": 0, 待归还
"counts": 1, 查询状态的总数
"cause": "给客户", 用途
"th_device_models": [], 退回设备型号
"device_type": 1, 设备类别
"device_types": [ 借单中所有设备类别
"1"
],
"estimate_return_time": "2023-04-10 16:38:28", 预计归还
"sp_device_numbers": [], 归还审批设备
"borrow_number": "202304101638580000594",
"review_reason": null,
"device_name": "绝缘子憎水性检测仪绝缘子憎水性检测仪",
"device_names": [
"绝缘子憎水性检测仪绝缘子憎水性检测仪"
],
"return_time": "2023-04-12 14:11:16",
"sp": 0, 归还审批数量
"device_numbers": [
"0000000vvvvvjjjjjuuu56655"
],
"gh": 1, 已归还
"dgh_device_numbers": [], 待归还
"device_models": [ 设备型号
"HB-HCA20"
],
"dgh_device_models": [], 待归还型号
"borrow_user": 1636272960009609217,
"gh_device_models": [ 归还型号
"HB-HCA20"
],
"borrow_time": "2023-04-11 16:38:24", 借用时间
"th_device_numbers": [], 退回编码
"th": 0, 退回数量
"allcounts": 1, 单子总设备数
"sp_device_models": [],归还审批型号
"gh_device_numbers": [
"0000000vvvvvjjjjjuuu56655"
],
"username": "仓管", 借用人
"status": 1, 单子状态(1: 完成 2: 借用中 3: 借用审核 4: 归还检查 5: 审核退回 6: 归还退回)',
"all_status": [ 单子所有状态
"1"
]
},
{
"gh": 0, 归还
"check_reason": null, 归还退回原因
"device_models": [
"ceshi"
],
"allcounts": 11, 全部设备数
"return_time": null,归还时间
"sp": 2, 归还待审批
"sp_device_models": [ 归还待审批型号
"HB-70"
],
"sp_device_numbers": [ 归还待审批编码
"123213123",
"1321321321123"
],
"counts": 1,
"cause": "干活干活",
"estimate_return_time": "2023-03-20 10:26:36",
"borrow_user": 1,
"borrow_time": "2023-03-20 10:26:36",
"borrow_number": "7a2cb02c57324178a9f516e44e659e19",
"review_reason": null,借出退回原因
"device_name": "ceshi",
"th": 0, 退回
"device_numbers": [
"231322"
],
"username": "admin", 借用人
"status": 3
"all_status": [ 单子所有状态
"4",
"2",
"1"
]
},
{
"gh": 0,
"check_reason": "归还退回原因",
"device_models": [
"HB-70"
],
"counts": 1,
"cause": "干活干活",
"estimate_return_time": "2023-03-20 10:26:36",
"borrow_user": 2,
"borrow_time": "2023-03-20 10:26:36",
"borrow_number": "896da9ae59904dc38682e1d6f0121e32",
"review_reason": "借出退回原因",
"device_name": "器具增加",
"th": 0,
"device_numbers": [
"464566132356461",
"464566132356464"
],
"username": "admin1",
"status": 3
"all_status": [
"4",
"2",
"1"
]
},
{
"check_reason": null,
"dgh": 8,
"counts": 3,
"cause": "",
"th_device_models": [],
"device_type": 1,
"estimate_return_time": "2023-04-13 17:29:05",
"sp_device_numbers": [
"123213123",
"1321321321123"
],
"borrow_number": "202304131729050000904",
"review_reason": null,
"device_name": "工器具",
"device_names": [
"工器具"
],
"return_time": null,
"sp": 2,
"device_numbers": [
"123213123",
"1321321321123",
"222",
"46456613235646",
"464566132356462",
"464566132356464",
"464566132356468",
"88888889",
"888888891",
"8888888913",
"8888888914"
],
"gh": 1,
"dgh_device_numbers": [
"222",
"464566132356462",
"464566132356464",
"464566132356468",
"88888889",
"888888891",
"8888888913",
"8888888914"
],
"device_models": [
"HB-70"
],
"dgh_device_models": [
"HB-70"
],
"borrow_user": 1635565557878272002,
"gh_device_models": [
"HB-70"
],
"borrow_time": "2023-04-13 17:29:02",
"th_device_numbers": [],
"th": 0,
"allcounts": 11,
"sp_device_models": [
"HB-70"
],
"gh_device_numbers": [
"46456613235646"
],
"username": "用户",
"status": 4,
"all_status": [
"4",
"2",
"1"
]
}
{
"gh": 0,
"check_reason": null,
"device_models": [
"HB-70"
],
"counts": 1,
"cause": "干活干活",
"estimate_return_time": "2023-03-20 10:26:36",
"borrow_user": 2,
"borrow_time": "2023-03-20 10:26:36",
"borrow_number": "896da9ae59904dc38682e1d6f0121e3233",
"review_reason": null,
"device_name": "器具增加",
"th": 0,
"device_numbers": [
"5"
],
"username": "admin1",
"status": 3
},
{
"gh": 0,
"check_reason": null,
"device_models": [
"ceshi"
],
"counts": 1,
"cause": "干活干活",
"estimate_return_time": "2023-03-20 10:26:36",
"borrow_user": 1,
"borrow_time": "2023-03-20 10:26:36",
"borrow_number": "9ad74ff4779d4d4e886012dbe2c285ca",
"review_reason": null,
"device_name": "ceshi",
"th": 0,
"device_numbers": [
"231322"
],
"username": "admin",
"status": 3
}
]
}
}
备注
- 更多返回错误代码请看首页的错误代码描述