mirror of
https://github.com/shawncai/ERP.git
synced 2025-01-07 15:57:51 +08:00
12.31
This commit is contained in:
parent
42dd857852
commit
862e10351b
1 changed files with 7 additions and 0 deletions
|
@ -652,9 +652,16 @@ export default {
|
||||||
const parms3 = JSON.stringify(EnterDetail2)
|
const parms3 = JSON.stringify(EnterDetail2)
|
||||||
const Data = this.personalForm
|
const Data = this.personalForm
|
||||||
for (const key in Data) {
|
for (const key in Data) {
|
||||||
|
// console.log(Data[key], key)
|
||||||
if (Data[key] === '' || Data[key] === undefined || Data[key] === null) {
|
if (Data[key] === '' || Data[key] === undefined || Data[key] === null) {
|
||||||
delete Data[key]
|
delete Data[key]
|
||||||
}
|
}
|
||||||
|
if (key === 'recoverVehicleDetailVos') {
|
||||||
|
delete Data[key]
|
||||||
|
}
|
||||||
|
if (key === 'recoverVehicleDetailVos' || key === 'approvalUseVos' || key === 'detailJson') {
|
||||||
|
delete Data[key]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
const parms = JSON.stringify(Data)
|
const parms = JSON.stringify(Data)
|
||||||
this.$refs.personalForm.validate((valid) => {
|
this.$refs.personalForm.validate((valid) => {
|
||||||
|
|
Loading…
Reference in a new issue