From 862e10351b527ec47b91e792ecad51c42a0cfe3a Mon Sep 17 00:00:00 2001 From: tczjx58520 <2283600185@qq.com> Date: Tue, 31 Dec 2019 18:57:54 +0800 Subject: [PATCH] 12.31 --- src/views/Collection/components/MyDialog.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/Collection/components/MyDialog.vue b/src/views/Collection/components/MyDialog.vue index 6211ba41..90122062 100644 --- a/src/views/Collection/components/MyDialog.vue +++ b/src/views/Collection/components/MyDialog.vue @@ -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) => {