init to null
This commit is contained in:
parent
5b91b7d655
commit
2d78983707
1 changed files with 33 additions and 33 deletions
|
|
@ -12,54 +12,54 @@ export default createStore({
|
|||
state: {
|
||||
order: {
|
||||
vehicle: {
|
||||
year: 0,
|
||||
make: '',
|
||||
model: '',
|
||||
style: '',
|
||||
vin: '',
|
||||
licensePlate: '',
|
||||
carId: '',
|
||||
evoxImageId: '',
|
||||
hasSplitWindshieldOption: false,
|
||||
hasBackglassSliderOption: false,
|
||||
year: null,
|
||||
make: null,
|
||||
model: null,
|
||||
style: null,
|
||||
vin: null,
|
||||
licensePlate: null,
|
||||
carId: null,
|
||||
evoxImageId: null,
|
||||
hasSplitWindshieldOption: null,
|
||||
hasBackglassSliderOption: null,
|
||||
registration: {
|
||||
rawAddress: '',
|
||||
zipCode: '',
|
||||
firstName: '',
|
||||
lastName: '',
|
||||
licensePlate: ''
|
||||
rawAddress: null,
|
||||
zipCode: null,
|
||||
firstName: null,
|
||||
lastName: null,
|
||||
licensePlate: null
|
||||
},
|
||||
damage: {
|
||||
isRepair: false,
|
||||
isReplacement: false,
|
||||
numberOfChips: 0,
|
||||
glassToReplace: [],
|
||||
problemGlassQuestions: [],
|
||||
problemMoldingQuestions: [],
|
||||
problemPropertyQuestions: [],
|
||||
isRepair: null,
|
||||
isReplacement: null,
|
||||
numberOfChips: null,
|
||||
glassToReplace: null,
|
||||
problemGlassQuestions: null,
|
||||
problemMoldingQuestions: null,
|
||||
problemPropertyQuestions: null,
|
||||
},
|
||||
items: [],
|
||||
items: null,
|
||||
customer: {
|
||||
emailAddress: '',
|
||||
firstName: '',
|
||||
lastName: '',
|
||||
emailAddress: null,
|
||||
firstName: null,
|
||||
lastName: null,
|
||||
phoneNumber: {
|
||||
isMobile: false,
|
||||
optInSms: false,
|
||||
isMobile: null,
|
||||
optInSms: null,
|
||||
}
|
||||
},
|
||||
payment: {
|
||||
isInsurance: false,
|
||||
isCash: false,
|
||||
isInsurance: null,
|
||||
isCash: null,
|
||||
},
|
||||
referral: {
|
||||
referralSeqNum: 0,
|
||||
workOrderId: ''
|
||||
referralSeqNum: null,
|
||||
workOrderId: null
|
||||
}
|
||||
}
|
||||
},
|
||||
applicationUser: {
|
||||
experiments: [],
|
||||
experiments: null,
|
||||
}
|
||||
},
|
||||
mutations: {},
|
||||
|
|
|
|||
Loading…
Reference in a new issue