md
This commit is contained in:
parent
3e52591178
commit
b5332227fb
@ -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<this.selectList.length;i++){
|
||||
let item=this.selectList[i];
|
||||
|
||||
if(item.openChStatus==1||item.openChStatus==2||item.openChStatus==3){
|
||||
this.$modal.msgError("不允许删除");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const ids = row.id || this.ids;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user