|
|
@ -299,7 +299,7 @@ export default { |
|
|
|
if ((list[i].isSubject && !list[i].required) && (list[i].isSubject && !list[i].result)) { |
|
|
|
if ((list[i].isSubject && !list[i].required) && (list[i].isSubject && !list[i].result)) { |
|
|
|
this.$message.warning(`第${list[i].index + 1}项,规则与结果至少填写一个`); |
|
|
|
this.$message.warning(`第${list[i].index + 1}项,规则与结果至少填写一个`); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} else if (list[i].isSubject && !list[i].isSave) { |
|
|
|
} else if (list[i].isSubject && (!list[i].isSave || !list[i].isDisabled)) { |
|
|
|
this.$message.warning(`第${list[i].index + 1}项,未保存`); |
|
|
|
this.$message.warning(`第${list[i].index + 1}项,未保存`); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|