mirror of
https://github.com/shawncai/ERP.git
synced 2025-01-01 04:51:48 +08:00
修改bug 2月5日
This commit is contained in:
parent
49eecf3a56
commit
343674297a
1 changed files with 13 additions and 2 deletions
|
@ -513,8 +513,10 @@ export default {
|
|||
},
|
||||
// 判断计划类别
|
||||
jungleAddress(row, val) {
|
||||
if (val === '7') {
|
||||
row.address = ''
|
||||
if (val !== '7') {
|
||||
delete row.address
|
||||
} else if (val !== '1') {
|
||||
delete row.typeId
|
||||
}
|
||||
},
|
||||
repositoryname(val) {
|
||||
|
@ -1001,6 +1003,15 @@ export default {
|
|||
}
|
||||
const parms2 = JSON.stringify(EnterDetail)
|
||||
const Data = this.personalForm
|
||||
for (let i = 0; i < EnterDetail.length; i++) {
|
||||
for (const key in EnterDetail[i]) {
|
||||
console.log('key===============>', EnterDetail[i][key])
|
||||
if (EnterDetail[i][key] === '' || EnterDetail[i][key] === undefined || EnterDetail[i][key] === null) {
|
||||
console.log('执行')
|
||||
delete EnterDetail[i][key]
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const key in Data) {
|
||||
if (Data[key] === '' || Data[key] === undefined || Data[key] === null) {
|
||||
delete Data[key]
|
||||
|
|
Loading…
Reference in a new issue