From e14a5130dd81ec27c411ea0cbee8ec7496500e21 Mon Sep 17 00:00:00 2001 From: zhangdi <15053473693@163.com> Date: Wed, 11 Feb 2026 11:20:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E4=BA=A7=E7=AE=A1=E7=90=86=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../schedulingDashboard/container.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/views/productionSchedulingPlan/schedulingDashboard/container.vue b/src/views/productionSchedulingPlan/schedulingDashboard/container.vue index 8eb6c68..67d8da5 100644 --- a/src/views/productionSchedulingPlan/schedulingDashboard/container.vue +++ b/src/views/productionSchedulingPlan/schedulingDashboard/container.vue @@ -1328,15 +1328,18 @@ export default { }, // 任务 样式计算 getStatusColor(row) { - if (row.remindStatus == '1') { - return '#FFD700'; // 黄色(可自定义) - } else if (row.remindStatus == '2') { - return '#dc3545'; // 红色(与返工状态一致,或自定义) + if (row.planStatus == '1') { + if (row.remindStatus == '1') { + return '#FFD700'; // 黄色(可自定义) + } else if (row.remindStatus == '2') { + return '#dc3545'; // 红色(与返工状态一致,或自定义) + } + return '#6c757d'; } + // case '1': + // return '#6c757d'; switch (row.planStatus) { - case '1': - return '#6c757d'; case '5': return '#007bff'; case '2':