站台创建的时候绑定集中站

This commit is contained in:
joylink_cuiweidong 2019-12-19 13:14:29 +08:00
parent e300164580
commit 27196e9c54

View File

@ -340,11 +340,12 @@ export default {
//
//
let beCentralizedStation = {};
this.stationList.forEach(data=>{
this.stationList.some(data=>{
if (data.centralized) {
if (data.code == this.addModel.stationCode) {
beCentralizedStation = {};
return data.code;
beCentralizedStation[this.addModel.stationCode] = data.code;
return true;
}
data.chargeStationCodeList.forEach(charge=>{
beCentralizedStation[charge] = data.code;