From b5332227fb6b895dd881d0f9136be1da4b5fa3e6 Mon Sep 17 00:00:00 2001 From: linfso Date: Fri, 23 May 2025 02:51:19 +0800 Subject: [PATCH] md --- .../InvoiceChRecordList.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/emis/emisSettleInvoiceChRecord/InvoiceChRecordList.vue b/src/views/emis/emisSettleInvoiceChRecord/InvoiceChRecordList.vue index 3b1c1ad7..d0b0e43c 100644 --- a/src/views/emis/emisSettleInvoiceChRecord/InvoiceChRecordList.vue +++ b/src/views/emis/emisSettleInvoiceChRecord/InvoiceChRecordList.vue @@ -214,6 +214,7 @@ export default { total: 0, // 渠道开票记录表表格数据 emisSettleInvoiceChRecordList: [], + selectList: [], currentId:null, openForm: false, @@ -396,6 +397,7 @@ export default { this.ids = selection.map(item => item.id) this.single = selection.length!==1 this.multiple = !selection.length + this.selectList=selection; }, // 排序 查询字段是表格中字段名字 动态取值排序顺序 handleSortChange(column) { @@ -459,9 +461,15 @@ export default { }, /** 删除按钮操作 */ handleDelete(row) { - if(row.openChStatus==1||row.openChStatus==2||row.openChStatus==3){ - this.$modal.msgError("不允许删除"); - return; + if(this.selectList&&this.selectList.length>0){ + for(let i=0;i