From e938c6b3d994a8cb984079ee1c03aed7614fcb62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=90=8C=E5=AD=A6?= Date: Mon, 18 Aug 2025 16:28:29 +0800 Subject: [PATCH] =?UTF-8?q?UPDATE:=E4=BF=AE=E6=94=B9=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=8C=89=E9=92=AE=E5=88=A4=E6=96=AD=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E4=B8=BA=E4=B8=BB=E8=AE=A1=E5=88=92=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/plan/planList/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/plan/planList/index.vue b/frontend/src/views/plan/planList/index.vue index 2443853..6513715 100644 --- a/frontend/src/views/plan/planList/index.vue +++ b/frontend/src/views/plan/planList/index.vue @@ -580,8 +580,8 @@ const openDialog = (titleType: string, row: Partial = {}) => { if (row.children?.length > 0) { // 有子计划 -> 主计划 planType = 0 - } else if (row.origin == null) { - // 没有来源 -> 主计划 + } else if (row.fatherPlanId === '0') { + // 父级ID为"0" -> 主计划 planType = 0 } else { // 其他 -> 修改子计划