From 4df1714eef2212dcfcc827f47dfd30078f2b1894 Mon Sep 17 00:00:00 2001 From: hwj Date: Thu, 9 Apr 2026 16:03:39 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E7=94=9F=E4=BA=A7=E8=AE=A1?= =?UTF-8?q?=E5=88=92-=E7=94=98=E7=89=B9=E5=9B=BE=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tasksummary/components/TaskScheduleDialog.vue | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/mes/tasksummary/components/TaskScheduleDialog.vue b/src/views/mes/tasksummary/components/TaskScheduleDialog.vue index 12dc58a1..86f3b6dc 100644 --- a/src/views/mes/tasksummary/components/TaskScheduleDialog.vue +++ b/src/views/mes/tasksummary/components/TaskScheduleDialog.vue @@ -180,6 +180,7 @@ >
任务明细ID:{{ plan.taskDetailId ?? '-' }}
计划数量:{{ plan.planNumber ?? '-' }}
+
交货日期:{{ plan.deliveryDateStr ?? '-' }}
开始:{{ plan.planStartTimeStr || '-' }}
结束:{{ plan.planEndTimeStr || '-' }}
最晚开工:{{ plan.latestStartTimeStr || '-' }}
@@ -523,7 +524,7 @@ const buildPreviewGanttData = (scheduleList: any[]) => { tasks.push({ id: deviceId, - text: `${device.deviceName ?? '-'}(产能:${device.ratedCapacity ?? '-'})`, + text: `${device.deviceName ?? '-'}`, start_date: formatGanttDate(firstPlan?._start), end_date: formatGanttDate(lastPlan?._end), duration: parentDuration, @@ -543,7 +544,7 @@ const buildPreviewGanttData = (scheduleList: any[]) => { const planTaskId = `plan-${device.deviceId}-${plan.taskDetailId ?? index}-${index}` tasks.push({ id: planTaskId, - text: `${plan.taskCode ?? '-'} / ${plan.productName ?? '-'} / ${plan.planNumber ?? 0}`, + text: `${plan.productCode ?? '-'} / ${plan.productName ?? '-'} / ${plan.taskCode ?? '-'}`, start_date: startDate, end_date: endDate, duration, @@ -639,13 +640,13 @@ const initGanttPreview = () => { label: '任务名称', tree: true, width: '*', - min_width: 220 + min_width: 200 }, { name: 'start_date', label: '开始时间', align: 'center', - width: 200, + width: 210, template: (task: any) => task?._planData ? `${formatGridDateText(task.start_date)}` @@ -659,7 +660,7 @@ const initGanttPreview = () => { name: 'duration', label: '天数', align: 'center', - width: 80, + width: 60, template: (task: any) => task?._planData ? `${task.duration ?? 0}` @@ -827,7 +828,7 @@ defineExpose({ open }) .schedule-gantt-container { flex: 1; min-width: 0; - height: 620px; + height: 800px; border: 1px solid var(--el-border-color); border-radius: 4px; overflow: hidden; @@ -850,7 +851,7 @@ defineExpose({ open }) } .schedule-plan-list { - max-height: 400px; + /* max-height: 480px; */ overflow: auto; border: 1px solid var(--el-border-color); border-radius: 4px;