change to vehicle lookup method
This commit is contained in:
parent
9e53043d36
commit
a27e5c4c06
1 changed files with 4 additions and 2 deletions
|
|
@ -22,7 +22,8 @@
|
||||||
cms-widget-name="SiteFooterWidget"
|
cms-widget-name="SiteFooterWidget"
|
||||||
@back-clicked="backButtonAction"
|
@back-clicked="backButtonAction"
|
||||||
@forward-clicked="forwardButtonAction"
|
@forward-clicked="forwardButtonAction"
|
||||||
ref="siteFooter" />
|
ref="siteFooter"
|
||||||
|
:is-forward-action-disabled="!meta.valid" />
|
||||||
<!--:is-forward-action-disabled="!meta.valid"-->
|
<!--:is-forward-action-disabled="!meta.valid"-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -123,7 +124,7 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.vehicleFromLookup = vehicleLookupResponse.data;
|
this.vehicleFromLookup = vehicleLookupResponse.data.vehicle;
|
||||||
if (this.vehicleFromLookup.carId !== this.mainStore.vehicle.carId) {
|
if (this.vehicleFromLookup.carId !== this.mainStore.vehicle.carId) {
|
||||||
this.activeVehicleLookupAlertType = vehicleLookupAlertTypes.NOT_MATCHED;
|
this.activeVehicleLookupAlertType = vehicleLookupAlertTypes.NOT_MATCHED;
|
||||||
|
|
||||||
|
|
@ -142,6 +143,7 @@ export default {
|
||||||
endpoint: endpoints.LookupVinByPlate.url,
|
endpoint: endpoints.LookupVinByPlate.url,
|
||||||
payload: {
|
payload: {
|
||||||
licensePlate,
|
licensePlate,
|
||||||
|
licenseState: "IL" // hard coded until Welcome Page is complete and license state can be pulled from store
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue