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 { // 其他 -> 修改子计划