Merge pull request #1054 from Safelite/feature/CSR-1205
Feature/csr 1205
This commit is contained in:
commit
a3aaf1283e
1 changed files with 7 additions and 5 deletions
|
|
@ -135,6 +135,7 @@ export default {
|
||||||
mobileFeePart: null,
|
mobileFeePart: null,
|
||||||
zipContainsMilitaryBase: false,
|
zipContainsMilitaryBase: false,
|
||||||
selectedAppointmentType: null,
|
selectedAppointmentType: null,
|
||||||
|
providerNumber: null,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
async beforeRouteEnter(to, from, next) {
|
async beforeRouteEnter(to, from, next) {
|
||||||
|
|
@ -192,6 +193,7 @@ export default {
|
||||||
if (newValue.zipCode !== this.zipCode) {
|
if (newValue.zipCode !== this.zipCode) {
|
||||||
this.resetMobileLocation();
|
this.resetMobileLocation();
|
||||||
this.selectedAppointmentType = null;
|
this.selectedAppointmentType = null;
|
||||||
|
this.providerNumber = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.state = newValue.state;
|
this.state = newValue.state;
|
||||||
|
|
@ -220,12 +222,12 @@ export default {
|
||||||
this.zipCode = newValue.addressQuestions.zipCode;
|
this.zipCode = newValue.addressQuestions.zipCode;
|
||||||
this.isVehicleProtected = newValue.isVehicleProtected;
|
this.isVehicleProtected = newValue.isVehicleProtected;
|
||||||
|
|
||||||
if (
|
if (newValue.zipCode !== this.zipCode) {
|
||||||
newValue.zipCode !== this.zipCode &&
|
if (!this.selectedAppointmentType == "Mobile") {
|
||||||
!this.selectedAppointmentType == "Mobile"
|
|
||||||
) {
|
|
||||||
this.selectedAppointmentType = null;
|
this.selectedAppointmentType = null;
|
||||||
}
|
}
|
||||||
|
this.providerNumber = null;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
isServiceableMobile() {
|
isServiceableMobile() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue