diff --git a/src/pages/Container/BranchCompany/Plan/Execute/List/index.js b/src/pages/Container/BranchCompany/Plan/Execute/List/index.js index 720a61d..90855df 100644 --- a/src/pages/Container/BranchCompany/Plan/Execute/List/index.js +++ b/src/pages/Container/BranchCompany/Plan/Execute/List/index.js @@ -91,8 +91,7 @@ function List(props) { && (currentTime.isBefore(planEndTime, "day") || currentTime.isSame(planEndTime, "day")); return ( - {/* props.permission(props.addPermissionKey || "inspection-qy-plan-execute-add") && */} - {(isInProgress) && ( + {(props.permission(props.addPermissionKey || "inspection-qy-plan-execute-add") && isInProgress) && (