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;