From b188f092410531465fc27c0328e1ca3c7a69c321 Mon Sep 17 00:00:00 2001 From: hwj Date: Mon, 13 Apr 2026 18:00:30 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E6=8E=92=E4=BA=A7=E7=94=98?= =?UTF-8?q?=E7=89=B9=E5=9B=BE=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/TaskSchedulePreviewDialog.vue | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/views/mes/tasksummary/components/TaskSchedulePreviewDialog.vue b/src/views/mes/tasksummary/components/TaskSchedulePreviewDialog.vue index bd265092..1b2bfcfd 100644 --- a/src/views/mes/tasksummary/components/TaskSchedulePreviewDialog.vue +++ b/src/views/mes/tasksummary/components/TaskSchedulePreviewDialog.vue @@ -16,11 +16,11 @@
{{ plan.productCode ?? '-' }} / {{ plan.productName ?? '-' }} - 进行中 +
任务明细ID:{{ plan.taskDetailId ?? '-' }}
计划数量:{{ plan.planNumber ?? '-' }}
@@ -306,13 +306,7 @@ const getTaskByTooltipNode = (node: HTMLElement) => { return undefined } } -const isPlanInProgress = (plan: any) => { - const start = dayjs(plan?.planStartTimeStr) - const end = dayjs(plan?.planEndTimeStr) - if (!start.isValid() || !end.isValid()) return false - const now = dayjs() - return (now.isAfter(start) || now.isSame(start)) && (now.isBefore(end) || now.isSame(end)) -} + const initTaskTooltips = () => { const tooltipsExt = (gantt.ext as any)?.tooltips const tooltip = tooltipsExt?.tooltip @@ -848,6 +842,7 @@ onBeforeUnmount(() => { .schedule-plan-list { overflow: auto; + max-height: 55vh; border: 1px solid var(--el-border-color); border-radius: 4px; padding: 8px;