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() {
|
showMilitaryZipAlert() {
|
||||||
return (
|
const isZipServiceableMobile =
|
||||||
this.zipContainsMilitaryBase &&
|
this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile;
|
||||||
(this.isZipServiceableMobile == null || this.isZipServiceableMobile === true)
|
|
||||||
);
|
return this.zipContainsMilitaryBase && isZipServiceableMobile;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
|
|
@ -55,8 +55,13 @@ export default {
|
||||||
return filteredAnswers;
|
return filteredAnswers;
|
||||||
},
|
},
|
||||||
serviceability() {
|
serviceability() {
|
||||||
const mobileAvailable =
|
let mobileAvailable;
|
||||||
this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile;
|
if (this.IsRecalibrationServiceableMobile == null) {
|
||||||
|
mobileAvailable = this.isGlassServiceableMobile;
|
||||||
|
} else {
|
||||||
|
mobileAvailable = this.isGlassServiceableMobile && this.isRecalibrationServiceableMobile;
|
||||||
|
}
|
||||||
|
|
||||||
const inshopAvailable =
|
const inshopAvailable =
|
||||||
this.isGlassServiceableInshop && this.isRecalibrationServiceableInshop;
|
this.isGlassServiceableInshop && this.isRecalibrationServiceableInshop;
|
||||||
|
|
||||||
|
|
@ -87,6 +92,8 @@ export default {
|
||||||
handler(newValue) {
|
handler(newValue) {
|
||||||
if (newValue == "MobileOnly") {
|
if (newValue == "MobileOnly") {
|
||||||
this.selectedValues = "Mobile";
|
this.selectedValues = "Mobile";
|
||||||
|
} else {
|
||||||
|
this.selectedValues = null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ const getDefaultState = () => {
|
||||||
state: null,
|
state: null,
|
||||||
zipCode: null,
|
zipCode: null,
|
||||||
zipCodeCtu: null,
|
zipCodeCtu: null,
|
||||||
|
serviceType: null,
|
||||||
},
|
},
|
||||||
customer: {
|
customer: {
|
||||||
emailAddress: null,
|
emailAddress: null,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue