楼主,找到原因了,是计划库中有对 计划状态的一个判断
static function TPlanSpecialLogic.GetPlanCanEdit(AContext: TContext; APlan: TPlan): Boolean;
var
lOperatorPosition: TOperatorPosition;
begin
case APlan.PlanState of
TPlanState.psPlanEditing, TPlanState.psPlanExecuting:
begin
lOperatorPosition := TPlanSpecialLogic.GetOperatorPosition(AContext);
Result := APlan.PlanExecutors.FindPlanExecutor(petEditors, lOperatorPosition.PersonMember.ID, False) <> nil;
end;
else
Result := False; //如果计划状态是完成,那么 直接就跳转到这里,就不允许进行编辑此计划。
end;
end;