From f8766cac89463d198914161b3ace9e16e4d529de Mon Sep 17 00:00:00 2001 From: Johan Gunawan Date: Tue, 10 Jan 2023 17:05:31 -0500 Subject: [PATCH] Add updateVehicleVin action Might be used in license-plate-lookup and/or address-lookup as well. It is used in vin-lookup page. --- src/store/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/store/index.js b/src/store/index.js index 90065277..9f3c1e3b 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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;