|
|
@@ -498,6 +498,8 @@ const getConclusionStatusType = (item: ReportItemVO): 'success' | 'info' => {
|
|
|
|
|
|
// 判断是否允许作废
|
|
|
const canVoidItem = (item: ReportItemVO): boolean => {
|
|
|
+ // 主项目不允许作废
|
|
|
+ if (item.reportType === PressureReportType.MAIN) return false
|
|
|
const forbiddenStatuses = [
|
|
|
PressureCheckerMyTaskStatus.RECORD_CHECK, // 记录校核
|
|
|
PressureCheckerMyTaskStatus.REPORT_AUDIT, // 报告审核
|