代码优化

This commit is contained in:
BianLzhaoMin 2024-08-16 16:50:47 +08:00
parent fd7bafeea7
commit fa4e3b3621
1 changed files with 2 additions and 2 deletions

View File

@ -333,7 +333,7 @@ export default {
/** 批量导出月结明细表 */ /** 批量导出月结明细表 */
handleBatchExport() { handleBatchExport() {
console.log('批量导出月结明细表') console.log('批量导出月结明细表')
this.exportParams = []
if (this.ids.length < 1) { if (this.ids.length < 1) {
this.$message.error('请勾选需要导出的数据!') this.$message.error('请勾选需要导出的数据!')
return return
@ -348,7 +348,6 @@ export default {
}) })
this.exportDialogVisible = true this.exportDialogVisible = true
this.$refs.tableRef.clearSelection()
}, },
/** 关闭弹框 */ /** 关闭弹框 */
handleCloseDialog() { handleCloseDialog() {
@ -369,6 +368,7 @@ export default {
) )
this.exportDialogVisible = false this.exportDialogVisible = false
this.$refs.tableRef.clearSelection()
}, },
/** 月结记录 */ /** 月结记录 */
handleMonthRecord(row) { handleMonthRecord(row) {