Commit abf756b7 authored by youjie's avatar youjie

no message

parent 371180ad
......@@ -2044,6 +2044,7 @@
checkeds.push(x.checked)
}
})
this.getNewChecked(checkeds,checkedsAll,type)
}else if(type==2){
this.isIndeterminate2 = false
this.list.HotelOrderListReport.forEach(x=>{
......@@ -2054,6 +2055,7 @@
}
})
})
this.getNewChecked(checkeds,checkedsAll,type)
}else if(type==3){
this.isIndeterminate3 = false
this.list.DiningList.forEach(x=>{
......@@ -2064,6 +2066,7 @@
}
})
})
this.getNewChecked(checkeds,checkedsAll,type)
}else if(type==4){
this.isIndeterminate4 = false
this.list.ScenicList.forEach(x=>{
......@@ -2074,8 +2077,9 @@
}
})
})
this.getNewChecked(checkeds,checkedsAll,type)
}
this.getNewChecked(checkeds,checkedsAll,type)
this.$forceUpdate()
},
getNewChecked(checkeds,checkedsAll,type){
if(checkeds.length>0&&checkeds.length==checkedsAll.length){
......@@ -2091,10 +2095,9 @@
}else if(checkeds.length==0){
if(type==1){ this.checkedAll1 = false }
if(type==2){ this.checkedAll2 = false }
else if(type==3){ this.checkedAll3 = true }
else if(type==4){ this.checkedAll4 = true }
else if(type==3){ this.checkedAll3 = false }
else if(type==4){ this.checkedAll4 = false }
}
// this.$forceUpdate()
},
// 全选
getCheckedAll(type){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment