Add updateVehicleVin action

Might be used in license-plate-lookup and/or address-lookup as well. It is used in vin-lookup page.
This commit is contained in:
Johan Gunawan 2023-01-10 17:05:31 -05:00
parent a1020c4f47
commit f8766cac89

View file

@ -365,6 +365,10 @@ export const useMainStore = defineStore({
this.order.vehicle.imageColor = vehicle.imageColor;
},
updateVehicleVin(vin) {
this.order.vehicle.vin = vin;
},
resetVehicleState()
{
this.order.vehicle.year = null;