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:
parent
a1020c4f47
commit
f8766cac89
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue