Merge pull request #2668 from Safelite/feature/CASH-845-stage-6
CASH-845 tech review changes
This commit is contained in:
commit
2eb807a0de
1 changed files with 9 additions and 13 deletions
|
|
@ -1171,7 +1171,7 @@ export default {
|
||||||
(this.isServiceableInshop && !selectedDateInshop) ||
|
(this.isServiceableInshop && !selectedDateInshop) ||
|
||||||
(this.isServiceableDropoff && !selectedDateInshop)
|
(this.isServiceableDropoff && !selectedDateInshop)
|
||||||
) {
|
) {
|
||||||
setTimeout(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.datePicker.showAnotherMonth().then((moreSelectableDates) => {
|
this.$refs.datePicker.showAnotherMonth().then((moreSelectableDates) => {
|
||||||
// update all dates
|
// update all dates
|
||||||
this.selectableDatesInshop.days =
|
this.selectableDatesInshop.days =
|
||||||
|
|
@ -1180,7 +1180,7 @@ export default {
|
||||||
moreSelectableDates.mobileTimeSlotsData.days;
|
moreSelectableDates.mobileTimeSlotsData.days;
|
||||||
this.setDisplayWaitList();
|
this.setDisplayWaitList();
|
||||||
});
|
});
|
||||||
}, 50);
|
});
|
||||||
}
|
}
|
||||||
if (this.isMobileSelected) {
|
if (this.isMobileSelected) {
|
||||||
this.selectedDate = selectedDateMobile;
|
this.selectedDate = selectedDateMobile;
|
||||||
|
|
@ -1599,17 +1599,13 @@ export default {
|
||||||
},
|
},
|
||||||
updateSelectedProviderAndZipCode(newZipCode, newProvider) {
|
updateSelectedProviderAndZipCode(newZipCode, newProvider) {
|
||||||
this.resetMobileLocation();
|
this.resetMobileLocation();
|
||||||
|
this.state = newZipCode.state;
|
||||||
getShopProviderData(newZipCode.zipCode).then((result) => {
|
this.zipCode = newZipCode.zipCode;
|
||||||
this.shopProviderData = result.data;
|
this.zipCodeCtu = newZipCode.zipCodeCtu;
|
||||||
this.state = newZipCode.state;
|
this.zipContainsMilitaryBase = newZipCode.containsMilitaryBase;
|
||||||
this.zipCode = newZipCode.zipCode;
|
this.selectedDate = null;
|
||||||
this.zipCodeCtu = newZipCode.zipCodeCtu;
|
this.selectedProvider = newProvider;
|
||||||
this.zipContainsMilitaryBase = newZipCode.containsMilitaryBase;
|
this.initializeDatePicker();
|
||||||
this.selectedDate = null;
|
|
||||||
this.selectedProvider = newProvider;
|
|
||||||
this.initializeDatePicker();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
handleAppointmentTypeChange(newAppointmentType) {
|
handleAppointmentTypeChange(newAppointmentType) {
|
||||||
this.updateFooterButtonText();
|
this.updateFooterButtonText();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue