diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index cbdebd397..1e5ffa384 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -135,6 +135,7 @@ export default { mobileFeePart: null, zipContainsMilitaryBase: false, selectedAppointmentType: null, + providerNumber: null, }; }, async beforeRouteEnter(to, from, next) { @@ -192,6 +193,7 @@ export default { if (newValue.zipCode !== this.zipCode) { this.resetMobileLocation(); this.selectedAppointmentType = null; + this.providerNumber = null; } this.state = newValue.state; @@ -220,11 +222,11 @@ export default { this.zipCode = newValue.addressQuestions.zipCode; this.isVehicleProtected = newValue.isVehicleProtected; - if ( - newValue.zipCode !== this.zipCode && - !this.selectedAppointmentType == "Mobile" - ) { - this.selectedAppointmentType = null; + if (newValue.zipCode !== this.zipCode) { + if (!this.selectedAppointmentType == "Mobile") { + this.selectedAppointmentType = null; + } + this.providerNumber = null; } }, },