|
|
@@ -440,12 +440,13 @@ export default {
|
|
|
this.$message.error('请先选择批量删除的产品记录')
|
|
|
return
|
|
|
}
|
|
|
- this.$confirm(`将删除这${this.multipleSelection.length}条记录, 是否继续?`, '提示', {
|
|
|
+ const ids = this.multipleSelection.map(item => item.id)
|
|
|
+ this.$confirm(`将删除这${ids.length}条记录, 是否继续?`, '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- deleteOTATicketSale({ idList: this.multipleSelection }).then(res => {
|
|
|
+ deleteOTATicketSale({ idList: ids }).then(res => {
|
|
|
this.$message.success('批量删除成功')
|
|
|
this.multipleSelection = [] // 清空选中待删记录
|
|
|
this.getList()
|