From b865238720aa3cf1f9191363fa14067739a9b081 Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 21 Apr 2026 09:33:08 +0800 Subject: [PATCH 01/22] =?UTF-8?q?feat=EF=BC=9A=E7=94=9F=E4=BA=A7=E8=AE=A1?= =?UTF-8?q?=E5=88=92-=E5=B7=B2=E5=BC=80=E5=B7=A5-=E6=A3=80=E9=AA=8C?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/plan/index.vue | 13 ++++++++-- src/views/mes/zjTask/ZjTaskForm.vue | 39 +++++++++++++++++++---------- 2 files changed, 37 insertions(+), 15 deletions(-) diff --git a/src/views/mes/plan/index.vue b/src/views/mes/plan/index.vue index d6a679a4..8e14a610 100644 --- a/src/views/mes/plan/index.vue +++ b/src/views/mes/plan/index.vue @@ -168,8 +168,8 @@ v-hasPermi="['mes:plan:update']" v-if="scope.row.status === 1 && scope.row.isPreProduction === 1"> {{ t('ProductionPlan.Plan.actionTrialLabel') }} - + {{ t('ProductionPlan.Plan.actionInspectLabel') }} + + - + diff --git a/src/views/mes/productionReport/components/ProductionReportBasicInfo.vue b/src/views/mes/productionReport/components/ProductionReportBasicInfo.vue index 0e937ce1..eb83aa11 100644 --- a/src/views/mes/productionReport/components/ProductionReportBasicInfo.vue +++ b/src/views/mes/productionReport/components/ProductionReportBasicInfo.vue @@ -72,9 +72,7 @@ watch( /** 打开产品信息对话框 */ const openProductInfo = (row: any) => { - if (row?.productId) { - productInfoDialogRef.value?.open(row.productId) - } + productInfoDialogRef.value?.open(row) } From 8eab07d76191029db1821d34dcee4e3fd5062f6c Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 21 Apr 2026 09:56:27 +0800 Subject: [PATCH 03/22] =?UTF-8?q?style=EF=BC=9A=E7=94=9F=E4=BA=A7=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8-=E5=88=97=E8=A1=A8=E6=B7=BB=E5=8A=A0=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ProductionReportBaogongInfo.vue | 16 ++++++++++++++++ .../components/ProductionReportBasicInfo.vue | 16 ++++++++++++++++ .../components/ProductionReportQualityInfo.vue | 16 ++++++++++++++++ .../components/ProductionReportRelatedPlan.vue | 17 +++++++++++++++++ 4 files changed, 65 insertions(+) diff --git a/src/views/mes/productionReport/components/ProductionReportBaogongInfo.vue b/src/views/mes/productionReport/components/ProductionReportBaogongInfo.vue index edbe5b6e..5fdc1647 100644 --- a/src/views/mes/productionReport/components/ProductionReportBaogongInfo.vue +++ b/src/views/mes/productionReport/components/ProductionReportBaogongInfo.vue @@ -1,5 +1,10 @@ + + diff --git a/src/views/mes/productionReport/index.vue b/src/views/mes/productionReport/index.vue index 8d4efa6e..c1618589 100644 --- a/src/views/mes/productionReport/index.vue +++ b/src/views/mes/productionReport/index.vue @@ -123,8 +123,10 @@ :percentage="getProductionProgressPercent(scope.row)" :width="40" :stroke-width="4" + :show-text="false" :color="getProductionProgressPercent(scope.row) === 100 ? '#67c23a' : undefined" /> + {{ getProductionProgressPercent(scope.row) }}% @@ -276,6 +278,7 @@ onMounted(() => { display: flex; align-items: center; justify-content: center; + gap: 4px; } .production-progress-cell :deep(.el-progress-circle) { @@ -284,11 +287,8 @@ onMounted(() => { justify-content: center; } -.production-progress-cell :deep(.el-progress__text) { - display: flex; - align-items: center; - justify-content: center; - font-size: 10px !important; - min-width: auto !important; +.production-progress-text { + font-size: 12px; + white-space: nowrap; } diff --git a/src/views/mes/tasksummary/index.vue b/src/views/mes/tasksummary/index.vue index 3460001f..f10eb885 100644 --- a/src/views/mes/tasksummary/index.vue +++ b/src/views/mes/tasksummary/index.vue @@ -93,8 +93,10 @@ v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" hi :percentage="getProductionProgressPercent(scope.row)" :width="40" :stroke-width="4" + :show-text="false" :color="getProductionProgressPercent(scope.row) === 100 ? '#67c23a' : undefined" /> + {{ getProductionProgressPercent(scope.row) }}% @@ -273,6 +275,7 @@ const handleTabClick = (tab: TabsPaneContext) => { display: flex; align-items: center; justify-content: center; + gap: 4px; } .production-progress-cell :deep(.el-progress-circle) { @@ -281,11 +284,8 @@ const handleTabClick = (tab: TabsPaneContext) => { justify-content: center; } -.production-progress-cell :deep(.el-progress__text) { - display: flex; - align-items: center; - justify-content: center; - font-size: 10px !important; - min-width: auto !important; +.production-progress-text { + font-size: 12px; + white-space: nowrap; } From 006c03b747bdcc2e1acabded7117f73050e6e1da Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 21 Apr 2026 16:58:00 +0800 Subject: [PATCH 18/22] =?UTF-8?q?style=EF=BC=9A=E4=BB=BB=E5=8A=A1=E5=8D=95?= =?UTF-8?q?=E6=8E=92=E4=BA=A7-create-batch=E6=8E=A5=E5=8F=A3=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=A2=86=E6=96=99=E4=BA=BA/=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E6=8D=9F=E8=80=97=E5=85=A5=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/TaskSchedulePreviewDialog.vue | 36 ++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/src/views/mes/tasksummary/components/TaskSchedulePreviewDialog.vue b/src/views/mes/tasksummary/components/TaskSchedulePreviewDialog.vue index 32402548..c260a20c 100644 --- a/src/views/mes/tasksummary/components/TaskSchedulePreviewDialog.vue +++ b/src/views/mes/tasksummary/components/TaskSchedulePreviewDialog.vue @@ -1,5 +1,17 @@