|
|
@ -135,12 +135,23 @@ export default {
|
|
|
|
this.indeterminate = false;
|
|
|
|
this.indeterminate = false;
|
|
|
|
|
|
|
|
|
|
|
|
if (this.allSelect) {
|
|
|
|
if (this.allSelect) {
|
|
|
|
|
|
|
|
this.checkCompanys = [];
|
|
|
|
this.companyList.forEach((item) => {
|
|
|
|
this.companyList.forEach((item) => {
|
|
|
|
this.checkCompanys.push(item.value);
|
|
|
|
this.checkCompanys.push(item.value);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.checkCompanys = [];
|
|
|
|
this.checkCompanys = [];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
store.getters.useData.company = [];
|
|
|
|
|
|
|
|
this.checkCompanys.forEach((item) => {
|
|
|
|
|
|
|
|
const c = _this._.find(
|
|
|
|
|
|
|
|
_this.companyListdata,
|
|
|
|
|
|
|
|
(shop) => shop.id == item
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
if (c) {
|
|
|
|
|
|
|
|
store.getters.useData.company.push(c);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|