往来单位管理-不能导出选中数据 修复

This commit is contained in:
binbin_pan 2024-04-10 14:43:40 +08:00
parent f832eb9f35
commit bb8d41c879
1 changed files with 3 additions and 1 deletions

View File

@ -253,7 +253,8 @@ export default {
pageSize: 10, pageSize: 10,
unitName: undefined, unitName: undefined,
dictType: undefined, dictType: undefined,
status: undefined status: undefined,
dataCondition: []
}, },
// //
form: {}, form: {},
@ -359,6 +360,7 @@ export default {
// //
handleSelectionChange(selection) { handleSelectionChange(selection) {
this.ids = selection.map(item => item.unitId) this.ids = selection.map(item => item.unitId)
this.queryParams.dataCondition = this.ids
this.single = selection.length != 1 this.single = selection.length != 1
this.multiple = !selection.length this.multiple = !selection.length
}, },