From 49e3acda8fb6135075f7d89ca9733822312c7acc Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 28 Feb 2024 17:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData1.js | 95 +++++++++++++++++++++++++++++++++ src/pages/modules/PressProd.vue | 4 +- src/router/index.js | 5 ++ src/style/reset.css | 1 + 4 files changed, 103 insertions(+), 2 deletions(-) diff --git a/src/config/getData1.js b/src/config/getData1.js index 857a601..96ec875 100644 --- a/src/config/getData1.js +++ b/src/config/getData1.js @@ -2,3 +2,98 @@ import {post} from '@js/http.js' /** 压制看板 */ export const cockpitpress = (id) => post('api/cockpit/press', {}) + +export const sortProductionMonitor = () => { + let res = { + // 当前工单信息 + 'current': { + // 物料 + 'materialName': '转炉镁碳砖MASC-65鞍钢23Z001', + // 当前工单 + 'workOrderCode': '230919001', + // 数量 + 'qty': '10000块', + // 重量 + 'weight': '10.00吨', + // 是否留有半托 + 'hasHalf': '否', + // 订单号 + 'orderCode': '', + // 规格 + 'spec': '11/11', + // 托盘类型 + 'vehicleType': '一类木托盘', + // 客户 + 'customer': '客户' + }, + // 已拆垛 + 'depalletize': { + // 未完成 + 'uncompleted': 10000, + // 已完成 + 'completed': 0 + }, + // 已码垛 + 'palletize': { + // 未完成 + 'uncompleted': 50, + // 已完成 + 'completed': 50 + }, + // 已拆垛信息 + 'depalletizedVehicle': [ + { + // 物料 + 'materialName': 'aaa', + // 时间 + 'datetime': '2023-09-14 14:23:57', + // 数量 + 'qty': '18块', + // 托盘号 + 'vehicleCode': 'M0002', + // 重量 + 'weight': '0.18吨' + } + ], + // 已码垛信息 + 'palletizedVehicle': [ + { + // 物料 + 'materialName': 'aaa', + // 时间 + 'datetime': '2023-09-14 14:23:57', + // 数量 + 'qty': '18块', + // 托盘号 + 'vehicleCode': 'M0002', + // 重量 + 'weight': '0.18吨' + } + ], + // 剩余工单列表 + 'residualWorkOrder': [ + { + // 物料 + 'materialName': '转炉镁碳砖MASC-65鞍钢23Z001', + // 当前工单 + 'workOrderCode': '230919001', + // 数量 + 'qty': '10000块', + // 重量 + 'weight': '10.00吨', + // 是否留有半托 + 'hasHalf': '否', + // 订单号 + 'orderCode': '12333', + // 规格 + 'spec': '11/11', + // 托盘类型 + 'vehicleType': '一类木托盘', + // 客户 + 'customer': '客户', + 'createTime': '2023-09-14 14:23:57' + } + ] + } + return res +} diff --git a/src/pages/modules/PressProd.vue b/src/pages/modules/PressProd.vue index dce39c5..5c8b5dc 100644 --- a/src/pages/modules/PressProd.vue +++ b/src/pages/modules/PressProd.vue @@ -1,6 +1,6 @@