From f7a7f529d90e9ef77252558674412d3e6f06f4aa Mon Sep 17 00:00:00 2001 From: hwj Date: Thu, 9 Apr 2026 17:30:23 +0800 Subject: [PATCH] =?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-=E7=94=98=E7=89=B9=E5=9B=BE=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/plan/index.ts | 3 + .../components/TaskScheduleDialog.vue | 76 +++++++++++++++++-- 2 files changed, 74 insertions(+), 5 deletions(-) diff --git a/src/api/mes/plan/index.ts b/src/api/mes/plan/index.ts index e62872fc..eb1abd67 100644 --- a/src/api/mes/plan/index.ts +++ b/src/api/mes/plan/index.ts @@ -63,6 +63,9 @@ export const PlanApi = { saveBatchPlan: async (data: any) => { return await request.post({ url: `/mes/plan/saveBatchPlan`, data }) }, + createBatch: async (data:any) => { + return await request.post({ url: `/mes/plan/create-batch`, data }) + }, // 派工生产计划 arrangePlan: async (data: ItemRequisitionVO) => { return await request.put({ url: `/mes/plan/paigong`, data }) diff --git a/src/views/mes/tasksummary/components/TaskScheduleDialog.vue b/src/views/mes/tasksummary/components/TaskScheduleDialog.vue index 86f3b6dc..6d43b3d5 100644 --- a/src/views/mes/tasksummary/components/TaskScheduleDialog.vue +++ b/src/views/mes/tasksummary/components/TaskScheduleDialog.vue @@ -167,7 +167,7 @@ {{ activePreviewDevice.deviceName }} {{ activePreviewDevice.deviceId }} - {{ activePreviewDevice.ratedCapacity ?? '-' }} + {{ activePreviewDevice.ratedCapacity ?? '-' }} {{ activePreviewDevice.plans?.length ?? 0 }} @@ -189,6 +189,7 @@ @@ -199,6 +200,7 @@