[update] 修改bug87699

This commit is contained in:
lideqin
2024-07-30 14:59:42 +08:00
parent 1474abf83c
commit c8892cd78d
@@ -341,6 +341,10 @@ export default {
},
// 批量关闭
batchClose () {
if (this.selectedRowKeys.length <= 0) {
this.$message.warning(this.$t('selectARecord'))
return
}
// 只有待整改状态的可以关闭
const isHaveClosed = this.selectionRows.find(i => i.rectifyStatus !== RectificationState.TO_BE_RECTIFIED.value)
if (isHaveClosed) {