|
@@ -195,6 +195,9 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
})
|
|
|
+ if (!this.dataList.length) {
|
|
|
+ this.returnId = ''
|
|
|
+ }
|
|
|
// if (!this.dataList.length){
|
|
|
// this.$nextTick(()=>{
|
|
|
// this.details = {}
|
|
@@ -211,7 +214,7 @@ export default {
|
|
|
this.dataList = this.resArr(this.dataList, this.selection)
|
|
|
for (let i = 0; i <this.$refs.dia.$refs.pageRef.$refs.zjpage.$refs.tableEl.tableData.length ; i++) {
|
|
|
for (let j = 0; j < this.selected.length; j++) {
|
|
|
- if ( this.$refs.dia.$refs.pageRef.$refs.zjpage.$refs.tableEl.tableData[i].id == this.selected[j].id){
|
|
|
+ if ( this.$refs.dia.$refs.pageRef.$refs.zjpage.$refs.tableEl.tableData[i].id == this.selected[j].id || this.$refs.dia.$refs.pageRef.$refs.zjpage.$refs.tableEl.tableData[i].disabled ===true){
|
|
|
// k.disabled = true
|
|
|
this.$set(this.$refs.dia.$refs.pageRef.$refs.zjpage.$refs.tableEl.tableData[i],'disabled',true)
|
|
|
}
|