522 lines
15 KiB
JavaScript
522 lines
15 KiB
JavaScript
/* eslint-disable */
|
|
export const getAllBigScreen = () => {
|
|
let res = {
|
|
inventoryAnalysis: [
|
|
{
|
|
"count": "439"
|
|
},
|
|
{
|
|
"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%"
|
|
},
|
|
{
|
|
"count": "20",
|
|
"name": "物料六",
|
|
"percent": "10%"
|
|
}
|
|
],
|
|
historyInventoryIOAnalysis: [
|
|
{
|
|
"total_outstorage_qty": 0.0,
|
|
"data": "08-01",
|
|
"total_instorage_qty": 0.0
|
|
},
|
|
{
|
|
"total_outstorage_qty": 1.0,
|
|
"data": "08-02",
|
|
"total_instorage_qty": 0.0
|
|
},
|
|
{
|
|
"total_outstorage_qty": 0.0,
|
|
"data": "08-03",
|
|
"total_instorage_qty": 0.0
|
|
},
|
|
{
|
|
"total_outstorage_qty": 0.0,
|
|
"data": "08-04",
|
|
"total_instorage_qty": 0.0
|
|
},
|
|
{
|
|
"total_outstorage_qty": 0.0,
|
|
"data": "08-05",
|
|
"total_instorage_qty": 0.0
|
|
},
|
|
{
|
|
"total_outstorage_qty": 6.0,
|
|
"data": "08-06",
|
|
"total_instorage_qty": 6.0
|
|
},
|
|
{
|
|
"total_outstorage_qty": 28.0,
|
|
"data": "08-07",
|
|
"total_instorage_qty": 178.0
|
|
}
|
|
],
|
|
inventoryIOAnalysis: [
|
|
{
|
|
"total_outstorage_qty": 0.0,
|
|
"total_instorage_qty": 100.0,
|
|
"material_id": "1759154624864063488",
|
|
"material_name": "测试物料",
|
|
"material_code": "A1001"
|
|
},
|
|
{
|
|
"total_outstorage_qty": 28.0,
|
|
"total_instorage_qty": 78.0,
|
|
"material_id": "1759155580745945088",
|
|
"material_name": "测试物料2",
|
|
"material_code": "A1002"
|
|
}
|
|
],
|
|
todayTask: [
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:19:10",
|
|
"carno": "",
|
|
"task_code": "1821053300573868033",
|
|
"next_point_code": "01-01-01",
|
|
"start_point_code": "CKDJ1"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:13:46",
|
|
"carno": "",
|
|
"task_code": "1821051936523292673",
|
|
"next_point_code": "RKDJ2",
|
|
"start_point_code": "01-01-02"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:16:10",
|
|
"carno": "",
|
|
"task_code": "1821052566008631297",
|
|
"next_point_code": "01-01-02",
|
|
"start_point_code": "RKDJ2"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:19:00",
|
|
"carno": "",
|
|
"task_code": "1821053354068021249",
|
|
"next_point_code": "01-01-02",
|
|
"start_point_code": "CKDJ2"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:16:20",
|
|
"carno": "",
|
|
"task_code": "1821052576351784961",
|
|
"next_point_code": "01-01-03",
|
|
"start_point_code": "RKDJ1"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:10:35",
|
|
"carno": "AMB-02",
|
|
"task_code": "1821050896554004481",
|
|
"next_point_code": "01-02-02",
|
|
"start_point_code": "RKDJ5"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:17:52",
|
|
"carno": "",
|
|
"task_code": "1821053001335443457",
|
|
"next_point_code": "CKDJ2",
|
|
"start_point_code": "01-01-02"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:10:15",
|
|
"carno": "AMB-01",
|
|
"task_code": "1821050807915778049",
|
|
"next_point_code": "01-01-03",
|
|
"start_point_code": "RKDJ3"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:13:56",
|
|
"carno": "",
|
|
"task_code": "1821051969201115137",
|
|
"next_point_code": "RKDJ3",
|
|
"start_point_code": "01-01-03"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:10:05",
|
|
"carno": "AMB-01",
|
|
"task_code": "1821050760486588417",
|
|
"next_point_code": "01-01-02",
|
|
"start_point_code": "RKDJ2"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:10:25",
|
|
"carno": "AMB-02",
|
|
"task_code": "1821050853545611265",
|
|
"next_point_code": "01-02-01",
|
|
"start_point_code": "RKDJ4"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:13:36",
|
|
"carno": "",
|
|
"task_code": "1821051901286944769",
|
|
"next_point_code": "RKDJ1",
|
|
"start_point_code": "01-01-01"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:17:42",
|
|
"carno": "",
|
|
"task_code": "1821052983480291329",
|
|
"next_point_code": "CKDJ1",
|
|
"start_point_code": "01-01-01"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:16:00",
|
|
"carno": "",
|
|
"task_code": "1821052554327494657",
|
|
"next_point_code": "01-01-01",
|
|
"start_point_code": "RKDJ3"
|
|
},
|
|
{
|
|
"task_status": "完成",
|
|
"create_time": "2024-08-07 13:09:55",
|
|
"carno": "AMB-01",
|
|
"task_code": "1821050707009212417",
|
|
"next_point_code": "01-01-01",
|
|
"start_point_code": "RKDJ1"
|
|
}
|
|
]
|
|
}
|
|
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 = {
|
|
taskList: [
|
|
{
|
|
"qty": 26,
|
|
"vehicle_code": "Z00017",
|
|
"create_time": null,
|
|
"update_time": null,
|
|
"stor_code": null,
|
|
"task_type": "PK20240909006",
|
|
"material_name": "测试物料33fdfdff测试物料33",
|
|
"material_code": null,
|
|
"material_spec": "test_zz",
|
|
"assign_qty": 7,
|
|
"single_weight": 15.70,
|
|
"theory_qty": 0,
|
|
"actual_weight": 0,
|
|
"remaining_qty": 26,
|
|
"form_data": "{\"stor_code\": \"FStockId\", \"point_code\": \"1311\", \"product_area\": \"A1\", \"vehicle_code\": \"Z00017\"}",
|
|
"product_area": "A1"
|
|
},
|
|
{
|
|
"qty": 200,
|
|
"vehicle_code": "X00021",
|
|
"create_time": null,
|
|
"update_time": null,
|
|
"stor_code": null,
|
|
"task_type": "PK20241017002",
|
|
"material_name": "测试物料",
|
|
"material_code": null,
|
|
"material_spec": "test_zz",
|
|
"assign_qty": 4,
|
|
"single_weight": 15.70,
|
|
"theory_qty": 0,
|
|
"actual_weight": 0,
|
|
"remaining_qty": 200,
|
|
"form_data": "{\"stor_code\": \"FStockId\", \"point_code\": \"1311\", \"product_area\": \"A1\", \"vehicle_code\": \"X00021\"}",
|
|
"product_area": "A1"
|
|
}
|
|
],
|
|
pointInfo: {
|
|
is_used: false
|
|
}
|
|
}
|
|
return res
|
|
}
|
|
|
|
export const synthesizeInfo = () => {
|
|
let res = {
|
|
"tp_used": {
|
|
"total": 960,
|
|
"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": "0"
|
|
},
|
|
{
|
|
"date": "11-07",
|
|
"total_qty": "0"
|
|
}
|
|
],
|
|
"tp_in_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"
|
|
}
|
|
],
|
|
"tp_inventory": [
|
|
{
|
|
"total": 4.000
|
|
},
|
|
{
|
|
"qty": 4.000,
|
|
"name": "托盘",
|
|
"percent": "100.00%"
|
|
}
|
|
],
|
|
"lx_used": {
|
|
"total": 21423,
|
|
"used": 94,
|
|
"free": 21329,
|
|
"percent": "0.44%"
|
|
},
|
|
"tp_task": [
|
|
{
|
|
"total": 0,
|
|
"box": 0,
|
|
"time": "0h"
|
|
},
|
|
{
|
|
"total": 0,
|
|
"box": 0,
|
|
"time": "0h"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"lx_inventory": [
|
|
{
|
|
"total": 15800.000
|
|
},
|
|
{
|
|
"qty": 12000.000,
|
|
"name": "测试物料",
|
|
"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%"
|
|
}
|
|
]
|
|
}
|
|
return res
|
|
}
|
|
|
|
export const updateMaterialInfo = (code, w) => {
|
|
let res = {code: '200'}
|
|
return res
|
|
}
|