[update] 修改bug87699
This commit is contained in:
@@ -341,6 +341,10 @@ export default {
|
|||||||
},
|
},
|
||||||
// 批量关闭
|
// 批量关闭
|
||||||
batchClose () {
|
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)
|
const isHaveClosed = this.selectionRows.find(i => i.rectifyStatus !== RectificationState.TO_BE_RECTIFIED.value)
|
||||||
if (isHaveClosed) {
|
if (isHaveClosed) {
|
||||||
|
|||||||
Reference in New Issue
Block a user