Reseting bailout when vehicle state cleared and heavy truck bailout
This commit is contained in:
parent
a436fdc145
commit
9f6c83db74
1 changed files with 5 additions and 0 deletions
|
|
@ -1748,6 +1748,7 @@ export const useMainStore = defineStore({
|
|||
this.order.originalDeductible = coverage.deductible;
|
||||
this.order.currentDeductible = coverage.deductible;
|
||||
},
|
||||
// TODO do we need to reset vehicle info when this is called?
|
||||
updateVehicleVin(vin) {
|
||||
this.order.vehicle.vin = vin;
|
||||
},
|
||||
|
|
@ -1817,6 +1818,10 @@ export const useMainStore = defineStore({
|
|||
this.order.vehicle.registration.zipCode = null;
|
||||
this.order.vehicle.registration.firstName = null;
|
||||
this.order.vehicle.registration.lastName = null;
|
||||
|
||||
if (this.isBailout && this.bailoutCode === bailoutCode.HeavyTruckVehicle) {
|
||||
this.resetBailout();
|
||||
}
|
||||
},
|
||||
|
||||
resetGlassPartsState() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue