From 8c64ac1cd077f2d5b488b7f5d2009ad07ceddc71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Wed, 13 Nov 2024 17:25:56 +0800 Subject: [PATCH] css --- src/config/mork2.js | 199 ++++++++++++++++++++++++++------- src/pages/modules/index2.vue | 74 ++++++------ src/pages/modules/style.stylus | 14 ++- 3 files changed, 208 insertions(+), 79 deletions(-) diff --git a/src/config/mork2.js b/src/config/mork2.js index e3fe78a..87c0341 100644 --- a/src/config/mork2.js +++ b/src/config/mork2.js @@ -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%" } ] } diff --git a/src/pages/modules/index2.vue b/src/pages/modules/index2.vue index 483e6f0..b0abc33 100644 --- a/src/pages/modules/index2.vue +++ b/src/pages/modules/index2.vue @@ -7,7 +7,7 @@
料箱库监控
总数量:{{ lx_task[0].total }}
-箱数:{{ lx_task[0].box }}箱
-耗时:{{ lx_task[0].time }}
+总数量:{{ lx_task[0].total }}
+箱数:{{ lx_task[0].box }}箱
+耗时:{{ lx_task[0].time }}
总数量:{{ lx_task[1].total }}
-箱数:{{ lx_task[1].box }}箱
-耗时:{{ lx_task[1].time }}
+总数量:{{ lx_task[1].total }}
+箱数:{{ lx_task[1].box }}箱
+耗时:{{ lx_task[1].time }}
实时库存分析
{{ e.name }}
-{{ e.qty }}
-{{ e.percent }}
+{{ e.qty }}
+{{ e.percent }}
+托盘库监控
总数量:{{ tp_task[0].total }}
-箱数:{{ tp_task[0].box }}箱
-耗时:{{ tp_task[0].time }}
+总数量:{{ tp_task[0].total }}
+箱数:{{ tp_task[0].box }}箱
+耗时:{{ tp_task[0].time }}
总数量:{{ tp_task[1].total }}
-箱数:{{ tp_task[1].box }}箱
-耗时:{{ tp_task[1].time }}
+总数量:{{ tp_task[1].total }}
+箱数:{{ tp_task[1].box }}箱
+耗时:{{ tp_task[1].time }}
实时库存分析
{{ e.name }}
{{ e.qty }}
@@ -201,7 +203,7 @@