@@ -236,7 +236,7 @@
// 计划规则 巡点检 设备保养
this.$refs.planRulesDialogRef.open(item);
} else if (item.itemType == 2) {
- if(!item.planId && item.executeMethod == 1) {
+ if((!item.plans || item.plans.length == 0) && item.executeMethod == 1) {
this.$message.error('未生成记录计划');
return;
}