feature_0521
郑皇 5 years ago
parent 38dfb57675
commit e2699eee7e

@ -88,7 +88,6 @@ export default {
} else {
this.isSelect = [];
}
console.log(11, this.allSelect, this.isSelect);
store.getters.useData.stores = [];
this.isSelect.forEach((item) => {
const s = _this._.find(_this.shopListData, (shop) => shop.id == item);

@ -135,12 +135,23 @@ export default {
this.indeterminate = false;
if (this.allSelect) {
this.checkCompanys = [];
this.companyList.forEach((item) => {
this.checkCompanys.push(item.value);
});
} else {
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);
}
});
},
},
};

Loading…
Cancel
Save