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: {
|
||||
arePagePrerequisitesValid() {
|
||||
return true;
|
||||
// (
|
||||
// store.getters.lineItems.supportingItems !== null &&
|
||||
// store.getters.order.serviceLocation.zipCode !== null &&
|
||||
// store.getters.payment.isInsurance !== null
|
||||
// );
|
||||
return (
|
||||
store.getters.lineItems.supportingItems !== null &&
|
||||
store.getters.order.serviceLocation.zipCode !== null &&
|
||||
store.getters.payment.isInsurance !== null
|
||||
);
|
||||
},
|
||||
setData(mobileFee) {
|
||||
if (mobileFee) {
|
||||
|
|
|
|||
|
|
@ -60,13 +60,16 @@ export default {
|
|||
linkWidgetName: String,
|
||||
modalWidgetName: String,
|
||||
},
|
||||
setup() {
|
||||
const textboxQuestionWidgetName = "ServiceZipQuestionWidget";
|
||||
const alertInvalidZipWidgetName = "AlertInvalidZipWidget";
|
||||
|
||||
return {
|
||||
textboxQuestionWidgetName,
|
||||
alertInvalidZipWidgetName,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
textboxQuestionWidgetName() {
|
||||
return "ServiceZipQuestionWidget";
|
||||
},
|
||||
alertInvalidZipWidgetName() {
|
||||
return "AlertInvalidZipWidget";
|
||||
},
|
||||
serviceZipLinkText() {
|
||||
if (this.modelValue.zipCode && this.modelValue.zipCode.length > 0) {
|
||||
return this.modelValue.state + ", " + this.modelValue.zipCode;
|
||||
|
|
|
|||
Loading…
Reference in a new issue