|
@@ -180,7 +180,7 @@ export default {
|
|
allChecked(){
|
|
allChecked(){
|
|
if(this.isAllChecked){
|
|
if(this.isAllChecked){
|
|
for(let i in this.distributionList){
|
|
for(let i in this.distributionList){
|
|
- if(this.distributionList[i].teamNames.indexOf(this.user.name) == -1){
|
|
|
|
|
|
+ if(this.distributionList[i].teamNames&&this.distributionList[i].teamNames.indexOf(this.user.name) != -1){
|
|
this.distributionList[i].prodProcedure.isSelected = true
|
|
this.distributionList[i].prodProcedure.isSelected = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -191,6 +191,7 @@ export default {
|
|
}
|
|
}
|
|
this.isCanAgree = false
|
|
this.isCanAgree = false
|
|
}
|
|
}
|
|
|
|
+ console.log(this.distributionList)
|
|
this.$forceUpdate();
|
|
this.$forceUpdate();
|
|
},
|
|
},
|
|
itemChecked(){
|
|
itemChecked(){
|