This commit is contained in:
tczjx58520 2019-12-31 18:57:54 +08:00
parent 42dd857852
commit 862e10351b

View file

@ -652,9 +652,16 @@ export default {
const parms3 = JSON.stringify(EnterDetail2)
const Data = this.personalForm
for (const key in Data) {
// console.log(Data[key], key)
if (Data[key] === '' || Data[key] === undefined || Data[key] === null) {
delete Data[key]
}
if (key === 'recoverVehicleDetailVos') {
delete Data[key]
}
if (key === 'recoverVehicleDetailVos' || key === 'approvalUseVos' || key === 'detailJson') {
delete Data[key]
}
}
const parms = JSON.stringify(Data)
this.$refs.personalForm.validate((valid) => {