Merge branch 'develop' into feature/Digital/SSR-261

This commit is contained in:
Jeremy Zimmerman 2023-02-21 10:59:15 -05:00
commit 7709a1be64
3 changed files with 25 additions and 6 deletions

View file

@ -109,7 +109,7 @@ export default {
activeVehicleLookupAlertType: null, activeVehicleLookupAlertType: null,
vehicleFromLookup: null, vehicleFromLookup: null,
licensePlate: null, licensePlate: null,
licenseState: null, licenseState: useMainStore().order.customer.address.state,
displayVinNotFoundAlert: false, displayVinNotFoundAlert: false,
displayMatchedDifferentVehicleAlert: false, displayMatchedDifferentVehicleAlert: false,
previouslyEnteredCarId: "", previouslyEnteredCarId: "",
@ -198,7 +198,6 @@ export default {
registrationInfo: { registrationInfo: {
licensePlate: this.licensePlate, licensePlate: this.licensePlate,
state: this.licenseState, state: this.licenseState,
zipCode: useMainStore().vehicle.registration.zipCode,
}, },
}, },
false false

View file

@ -4,6 +4,7 @@
<div class="fade-on-route-transition h-100"> <div class="fade-on-route-transition h-100">
<siteHeader cmsWidgetName="SiteHeaderWidget"/> <siteHeader cmsWidgetName="SiteHeaderWidget"/>
<siteSubHeader cmsWidgetName="SiteSubHeaderWidget"/> <siteSubHeader cmsWidgetName="SiteSubHeaderWidget"/>
<div class="body-container">
<div class="row mt-4"> <div class="row mt-4">
<div class="col"> <div class="col">
<textboxQuestion <textboxQuestion
@ -125,7 +126,8 @@
@ForwardClicked="forwardButtonAction" /> @ForwardClicked="forwardButtonAction" />
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
</Form> </Form>
</template> </template>
@ -334,4 +336,23 @@
{ {
margin-bottom: 0rem !important; margin-bottom: 0rem !important;
} }
.p-2, body .page-container-grouped-styles{
padding:0 !important;
}
.site-header[data-v-0fe86b7b] {
padding: 0.5rem 0;
}
.subheader-primary{
margin-top:0.25rem;
}
.img-fluid{
width:162px;
}
.body-container
{
padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
</style> </style>

View file

@ -83,7 +83,7 @@ const getDefaultState = () => {
}, },
referralNumber: null, referralNumber: null,
referralDate: null, referralDate: null,
accountNumber: 0, accountNumber: 1,
}, },
applicationUser: { applicationUser: {
lastPageVisited: null, lastPageVisited: null,
@ -954,8 +954,7 @@ export const useMainStore = defineStore({
if if
( (
registrationInfo?.licensePlate !== this.order.vehicle.registration?.licensePlate || registrationInfo?.licensePlate !== this.order.vehicle.registration?.licensePlate ||
registrationInfo?.state !== this.order.vehicle.registration?.state || registrationInfo?.state !== this.order.vehicle.registration?.state
registrationInfo?.zipCode !== this.order.vehicle.registration?.zipCode
) )
{ {
this.resetRegistrationAndDependencies(); this.resetRegistrationAndDependencies();