This commit is contained in:
蔡玲
2024-11-13 17:25:56 +08:00
parent 85c9e3216b
commit 8c64ac1cd0
3 changed files with 208 additions and 79 deletions

View File

@@ -264,37 +264,39 @@ export const queryPickingPoint = () => {
export const pickingInfo = () => {
let res = [
{
"qty": 100,
"vehicle_code": "X000010",
"qty": 26,
"vehicle_code": "Z00017",
"create_time": null,
"update_time": null,
"stor_code": null,
"task_type": "PK20241107003",
"task_type": "PK20240909006",
"material_name": "测试物料",
"material_code": "24999999S",
"assign_qty": 111,
"material_code": null,
"material_spec": "test_zz",
"assign_qty": 7,
"single_weight": 15.70,
"theory_qty": 0,
"actual_weight": 0,
"remaining_qty": 100,
"form_data": "{\"stor_code\": \"FStockId\", \"point_code\": \"1308\", \"product_area\": \"A1\", \"vehicle_code\": \"X00007\"}",
"remaining_qty": 26,
"form_data": "{\"stor_code\": \"FStockId\", \"point_code\": \"1311\", \"product_area\": \"A1\", \"vehicle_code\": \"Z00017\"}",
"product_area": "A1"
},
{
"qty": 300,
"vehicle_code": "X00007",
"qty": 200,
"vehicle_code": "X00021",
"create_time": null,
"update_time": null,
"stor_code": null,
"task_type": "PK20241107004",
"task_type": "PK20241017002",
"material_name": "测试物料",
"material_code": "24999999S",
"assign_qty": 111,
"material_code": null,
"material_spec": "test_zz",
"assign_qty": 4,
"single_weight": 15.70,
"theory_qty": 0,
"actual_weight": 0,
"remaining_qty": 300,
"form_data": "{\"stor_code\": \"FStockId\", \"point_code\": \"1308\", \"product_area\": \"A1\", \"vehicle_code\": \"X00007\"}",
"remaining_qty": 200,
"form_data": "{\"stor_code\": \"FStockId\", \"point_code\": \"1311\", \"product_area\": \"A1\", \"vehicle_code\": \"X00021\"}",
"product_area": "A1"
}
]
@@ -305,51 +307,85 @@ export const synthesizeInfo = () => {
let res = {
"tp_used": {
"total": 960,
"used": 1,
"free": 959,
"percent": "0.1%"
"used": 5,
"free": 955,
"percent": "0.52%"
},
"lx_out_week": [
{
"date": "11-13",
"total_qty": "0"
},
{
"date": "11-12",
"total_qty": "0"
},
{
"date": "11-11",
"total_qty": "0"
},
{
"date": "11-10",
"total_qty": "0"
},
{
"date": "11-09",
"total_qty": "0"
},
{
"date": "11-08",
"total_qty": 2210.000
"total_qty": "0"
},
{
"date": "11-07",
"total_qty": "0"
},
}
],
"tp_in_week": [
{
"date": "11-06",
"date": "11-13",
"total_qty": "0"
},
{
"date": "11-05",
"date": "11-12",
"total_qty": "0"
},
{
"date": "11-04",
"date": "11-11",
"total_qty": "0"
},
{
"date": "11-03",
"date": "11-10",
"total_qty": "0"
},
{
"date": "11-02",
"date": "11-09",
"total_qty": "0"
},
{
"date": "11-08",
"total_qty": "0"
},
{
"date": "11-07",
"total_qty": "0"
}
],
"tp_in_week": [],
"tp_inventory": [
{
"total": "0"
"total": 4.000
},
{
"qty": 4.000,
"name": "托盘",
"percent": "100.00%"
}
],
"lx_used": {
"total": 21424,
"used": 1,
"free": 21423,
"percent": "0.0%"
"total": 21423,
"used": 94,
"free": 21329,
"percent": "0.44%"
},
"tp_task": [
{
@@ -363,28 +399,111 @@ export const synthesizeInfo = () => {
"time": "0h"
}
],
"lx_in_week": [],
"tp_out_week": [],
"lx_in_week": [
{
"date": "11-13",
"total_qty": 4400.000
},
{
"date": "11-12",
"total_qty": "0"
},
{
"date": "11-11",
"total_qty": "0"
},
{
"date": "11-10",
"total_qty": "0"
},
{
"date": "11-09",
"total_qty": "0"
},
{
"date": "11-08",
"total_qty": "0"
},
{
"date": "11-07",
"total_qty": "0"
}
],
"tp_out_week": [
{
"date": "11-13",
"total_qty": "0"
},
{
"date": "11-12",
"total_qty": "0"
},
{
"date": "11-11",
"total_qty": "0"
},
{
"date": "11-10",
"total_qty": "0"
},
{
"date": "11-09",
"total_qty": "0"
},
{
"date": "11-08",
"total_qty": "0"
},
{
"date": "11-07",
"total_qty": "0"
}
],
"lx_task": [
{
"total": 4400,
"box": 19,
"time": "0.0h"
},
{
"total": 0,
"box": 0,
"time": "0h"
},
{
"total": 2210,
"box": 9,
"time": "5.0h"
}
],
"lx_inventory": [
{
"total": 200.000
"total": 15800.000
},
{
"qty": 200.000,
"qty": 12000.000,
"name": "测试物料",
"percent": "100.00%"
"percent": "75.95%"
},
{
"qty": 2000.000,
"name": "A345度等径承插口弯头45CCL1 1/8USNA0131010TH",
"percent": "12.66%"
},
{
"qty": 1500.000,
"name": "A345度等径承插口弯头45CCL1 5/8USNA0131014",
"percent": "9.49%"
},
{
"qty": 300.000,
"name": "A345度等径承插口弯头45CCL1 5/8USNA0131014TH",
"percent": "1.90%"
},
{
"qty": 1500.000,
"name": "A345度等径承插口弯头45CCL1 5/8USNA0131014",
"percent": "9.49%"
},
{
"qty": 300.000,
"name": "A345度等径承插口弯头45CCL1 5/8USNA0131014TH",
"percent": "1.90%"
}
]
}