CSR-1012 | add back page prereqs for service-location and moved consts
This commit is contained in:
parent
cdeed7226e
commit
4c4101a9df
2 changed files with 14 additions and 12 deletions
|
|
@ -95,12 +95,11 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
arePagePrerequisitesValid() {
|
arePagePrerequisitesValid() {
|
||||||
return true;
|
return (
|
||||||
// (
|
store.getters.lineItems.supportingItems !== null &&
|
||||||
// store.getters.lineItems.supportingItems !== null &&
|
store.getters.order.serviceLocation.zipCode !== null &&
|
||||||
// store.getters.order.serviceLocation.zipCode !== null &&
|
store.getters.payment.isInsurance !== null
|
||||||
// store.getters.payment.isInsurance !== null
|
);
|
||||||
// );
|
|
||||||
},
|
},
|
||||||
setData(mobileFee) {
|
setData(mobileFee) {
|
||||||
if (mobileFee) {
|
if (mobileFee) {
|
||||||
|
|
|
||||||
|
|
@ -60,13 +60,16 @@ export default {
|
||||||
linkWidgetName: String,
|
linkWidgetName: String,
|
||||||
modalWidgetName: String,
|
modalWidgetName: String,
|
||||||
},
|
},
|
||||||
|
setup() {
|
||||||
|
const textboxQuestionWidgetName = "ServiceZipQuestionWidget";
|
||||||
|
const alertInvalidZipWidgetName = "AlertInvalidZipWidget";
|
||||||
|
|
||||||
|
return {
|
||||||
|
textboxQuestionWidgetName,
|
||||||
|
alertInvalidZipWidgetName,
|
||||||
|
};
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
textboxQuestionWidgetName() {
|
|
||||||
return "ServiceZipQuestionWidget";
|
|
||||||
},
|
|
||||||
alertInvalidZipWidgetName() {
|
|
||||||
return "AlertInvalidZipWidget";
|
|
||||||
},
|
|
||||||
serviceZipLinkText() {
|
serviceZipLinkText() {
|
||||||
if (this.modelValue.zipCode && this.modelValue.zipCode.length > 0) {
|
if (this.modelValue.zipCode && this.modelValue.zipCode.length > 0) {
|
||||||
return this.modelValue.state + ", " + this.modelValue.zipCode;
|
return this.modelValue.state + ", " + this.modelValue.zipCode;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue