WIP
This commit is contained in:
parent
31355e1e73
commit
902cd69858
3 changed files with 14 additions and 6 deletions
|
|
@ -190,10 +190,10 @@ export default {
|
|||
},
|
||||
},
|
||||
showMilitaryZipAlert() {
|
||||
return (
|
||||
this.zipContainsMilitaryBase &&
|
||||
(this.isZipServiceableMobile == null || this.isZipServiceableMobile === true)
|
||||
);
|
||||
const isZipServiceableMobile =
|
||||
this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile;
|
||||
|
||||
return this.zipContainsMilitaryBase && isZipServiceableMobile;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
|
|
@ -55,8 +55,13 @@ export default {
|
|||
return filteredAnswers;
|
||||
},
|
||||
serviceability() {
|
||||
const mobileAvailable =
|
||||
this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile;
|
||||
let mobileAvailable;
|
||||
if (this.IsRecalibrationServiceableMobile == null) {
|
||||
mobileAvailable = this.isGlassServiceableMobile;
|
||||
} else {
|
||||
mobileAvailable = this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile;
|
||||
}
|
||||
|
||||
const inshopAvailable =
|
||||
this.isGlassServiceableInshop && this.isRecalibrationServiceableInshop;
|
||||
|
||||
|
|
@ -87,6 +92,8 @@ export default {
|
|||
handler(newValue) {
|
||||
if (newValue == "MobileOnly") {
|
||||
this.selectedValues = "Mobile";
|
||||
} else {
|
||||
this.selectedValues = null;
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ const getDefaultState = () => {
|
|||
state: null,
|
||||
zipCode: null,
|
||||
zipCodeCtu: null,
|
||||
serviceType: null,
|
||||
},
|
||||
customer: {
|
||||
emailAddress: null,
|
||||
|
|
|
|||
Loading…
Reference in a new issue