This commit is contained in:
蔡玲
2024-11-08 14:03:49 +08:00
parent 029e700848
commit cc5bd5ca7e
13 changed files with 547 additions and 196 deletions

View File

@@ -7,7 +7,7 @@ export const getAllBigScreen = () => {
},
{
"count": "20",
"name": "物料一",
"name": "物料一物料一物料一物料一",
"percent": "10%"
},
{
@@ -34,26 +34,6 @@ export const getAllBigScreen = () => {
"count": "20",
"name": "物料六",
"percent": "10%"
},
{
"count": "20",
"name": "物料七",
"percent": "10%"
},
{
"count": "20",
"name": "物料八",
"percent": "10%"
},
{
"count": "20",
"name": "物料九",
"percent": "10%"
},
{
"count": "20",
"name": "物料十",
"percent": "10%"
}
],
historyInventoryIOAnalysis: [
@@ -235,3 +215,178 @@ export const getAllBigScreen = () => {
return res
}
export const queryPickingPoint = () => {
let res = [
{
"id": "1810932943246462976",
"code": "1308",
"name": "一号拣选位",
"product_area": "A1",
"region_code": "PICK01",
"point_type": null,
"lock_type": "0",
"group_code": null,
"point_location": "一号拣选位",
"remark": null,
"is_used": true,
"create_name": "管理员",
"create_time": "2024-07-10 15:03:53",
"update_name": "管理员",
"update_time": "2024-09-07 17:07:04",
"form_data": null,
"priority": "1",
"vehicle_code": null
},
{
"id": "1810933451587719168",
"code": "1311",
"name": "二号拣选位",
"product_area": "A1",
"region_code": "PICK01",
"point_type": null,
"lock_type": "0",
"group_code": null,
"point_location": "二号拣选位",
"remark": null,
"is_used": true,
"create_name": "管理员",
"create_time": "2024-07-10 15:05:55",
"update_name": "管理员",
"update_time": "2024-08-31 14:53:32",
"form_data": null,
"priority": "1",
"vehicle_code": null
}
]
return res
}
export const pickingInfo = () => {
let res = [
{
"qty": 100,
"vehicle_code": "X000010",
"create_time": null,
"update_time": null,
"stor_code": null,
"task_type": "PK20241107003",
"material_name": "测试物料",
"material_code": "24999999S",
"assign_qty": 111,
"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\"}",
"product_area": "A1"
},
{
"qty": 300,
"vehicle_code": "X00007",
"create_time": null,
"update_time": null,
"stor_code": null,
"task_type": "PK20241107004",
"material_name": "测试物料",
"material_code": "24999999S",
"assign_qty": 111,
"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\"}",
"product_area": "A1"
}
]
return res
}
export const synthesizeInfo = () => {
let res = {
"tp_used": {
"total": 960,
"used": 1,
"free": 959,
"percent": "0.1%"
},
"lx_out_week": [
{
"date": "11-08",
"total_qty": 2210.000
},
{
"date": "11-07",
"total_qty": "0"
},
{
"date": "11-06",
"total_qty": "0"
},
{
"date": "11-05",
"total_qty": "0"
},
{
"date": "11-04",
"total_qty": "0"
},
{
"date": "11-03",
"total_qty": "0"
},
{
"date": "11-02",
"total_qty": "0"
}
],
"tp_in_week": [],
"tp_inventory": [
{
"total": "0"
}
],
"lx_used": {
"total": 21424,
"used": 1,
"free": 21423,
"percent": "0.0%"
},
"tp_task": [
{
"total": 0,
"box": 0,
"time": "0h"
},
{
"total": 0,
"box": 0,
"time": "0h"
}
],
"lx_in_week": [],
"tp_out_week": [],
"lx_task": [
{
"total": 0,
"box": 0,
"time": "0h"
},
{
"total": 2210,
"box": 9,
"time": "5.0h"
}
],
"lx_inventory": [
{
"total": 200.000
},
{
"qty": 200.000,
"name": "测试物料",
"percent": "100.00%"
}
]
}
return res
}