commit
16e4be49d8
2 changed files with 9 additions and 2 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
@updated-serviceability="setServiceabilityDetails"
|
@updated-serviceability="setServiceabilityDetails"
|
||||||
@updated-contains-military-base="setContainsMilitaryBase"
|
@updated-contains-military-base="setContainsMilitaryBase"
|
||||||
@updated-bill-to-account-number="setBillToAccountNumber"
|
@updated-bill-to-account-number="setBillToAccountNumber"
|
||||||
@reset-waitlist="resetWaitlist"
|
@service-zip-changed-from-modal="onServiceZipChanged"
|
||||||
linkWidgetName="ServiceZipLinkWidget"
|
linkWidgetName="ServiceZipLinkWidget"
|
||||||
modalWidgetName="ServiceZipModalWidget" />
|
modalWidgetName="ServiceZipModalWidget" />
|
||||||
<alert
|
<alert
|
||||||
|
|
@ -987,6 +987,13 @@ export default {
|
||||||
this.dispatchStoreAction(this.storeActions.SAVE_WAITLIST_REQUESTED, false, false);
|
this.dispatchStoreAction(this.storeActions.SAVE_WAITLIST_REQUESTED, false, false);
|
||||||
this.waitListRequested = false;
|
this.waitListRequested = false;
|
||||||
},
|
},
|
||||||
|
onServiceZipChanged() {
|
||||||
|
this.resetWaitlist();
|
||||||
|
this.appointmentType = null;
|
||||||
|
this.selectedProvider = null;
|
||||||
|
this.appointmentTypeFromAppointmentTypeQuestion = null;
|
||||||
|
this.preSelectedDate = null;
|
||||||
|
},
|
||||||
setServiceabilityDetails(serviceabilityDetails) {
|
setServiceabilityDetails(serviceabilityDetails) {
|
||||||
this.isGlassServiceableInshop = serviceabilityDetails.isGlassServiceableInshop;
|
this.isGlassServiceableInshop = serviceabilityDetails.isGlassServiceableInshop;
|
||||||
this.isRecalibrationServiceableInshop =
|
this.isRecalibrationServiceableInshop =
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,7 @@ export default {
|
||||||
this.$emit("updated-serviceability", serviceabilityDetails.data);
|
this.$emit("updated-serviceability", serviceabilityDetails.data);
|
||||||
this.$emit("updated-contains-military-base", zipCodeData.containsMilitaryBase);
|
this.$emit("updated-contains-military-base", zipCodeData.containsMilitaryBase);
|
||||||
this.$emit("updated-bill-to-account-number", billToAccountNumber);
|
this.$emit("updated-bill-to-account-number", billToAccountNumber);
|
||||||
this.$emit("reset-waitlist");
|
this.$emit("service-zip-changed-from-modal");
|
||||||
// update the page level model
|
// update the page level model
|
||||||
this.$emit("update:modelValue", this.internalModel);
|
this.$emit("update:modelValue", this.internalModel);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue