This commit is contained in:
hayu 2025-09-30 17:29:06 +08:00
parent 0e53d6db1d
commit 089664bd8d
1 changed files with 3 additions and 2 deletions

View File

@ -656,8 +656,8 @@ export default {
this.maForm.teamName = team.teamName this.maForm.teamName = team.teamName
if (this.maForm.pickType==0){ if (this.maForm.pickType==0){
this.maForm.leasePerson = team.relName this.maForm.leasePerson = team.relName
this.maForm.relPhone = team.relPhone || ''
} }
this.maForm.relPhone = team.relPhone || ''
this.maForm.relName = team.relName this.maForm.relName = team.relName
this.maForm.teamLeaderIdCard = team.teamLeaderIdCard this.maForm.teamLeaderIdCard = team.teamLeaderIdCard
this.maForm.subUnitName = team.subUnitName || '' this.maForm.subUnitName = team.subUnitName || ''
@ -666,8 +666,8 @@ export default {
this.maForm.teamName = res.data[0].teamName this.maForm.teamName = res.data[0].teamName
if (this.maForm.pickType==0){ if (this.maForm.pickType==0){
this.maForm.leasePerson = res.data[0].relName this.maForm.leasePerson = res.data[0].relName
this.maForm.relPhone = res.data[0].relPhone || ''
} }
this.maForm.relPhone = res.data[0].relPhone || ''
this.maForm.relName = res.data[0].relName this.maForm.relName = res.data[0].relName
this.maForm.teamLeaderIdCard = res.data[0].teamLeaderIdCard this.maForm.teamLeaderIdCard = res.data[0].teamLeaderIdCard
this.maForm.subUnitName = res.data[0].subUnitName || '' this.maForm.subUnitName = res.data[0].subUnitName || ''
@ -695,6 +695,7 @@ export default {
} else if (this.maForm.proId && this.maForm.pickType == 1) { } else if (this.maForm.proId && this.maForm.pickType == 1) {
this.maForm.teamId = '' this.maForm.teamId = ''
this.maForm.leasePerson = '' this.maForm.leasePerson = ''
this.maForm.relPhone = ''
this.getProDeptList() this.getProDeptList()
} }
}, },