Merge branch 'material-ui' of http://14.103.246.124:16000/bonus/bonus-ui into material-ui
This commit is contained in:
commit
1f9fb47860
|
|
@ -330,7 +330,8 @@ export default {
|
||||||
standardConfig: undefined,
|
standardConfig: undefined,
|
||||||
bmFileInfos: [],
|
bmFileInfos: [],
|
||||||
proId: undefined,
|
proId: undefined,
|
||||||
relPhone: ''
|
relPhone: '',
|
||||||
|
leasePerson:''
|
||||||
},
|
},
|
||||||
code: '',
|
code: '',
|
||||||
standardConfigList: [],
|
standardConfigList: [],
|
||||||
|
|
@ -653,16 +654,20 @@ export default {
|
||||||
const team = this.uniteList.find(item => item.teamName == this.maForm.teamName)
|
const team = this.uniteList.find(item => item.teamName == this.maForm.teamName)
|
||||||
this.maForm.teamId = team.id
|
this.maForm.teamId = team.id
|
||||||
this.maForm.teamName = team.teamName
|
this.maForm.teamName = team.teamName
|
||||||
this.maForm.leasePerson = team.relName
|
if (this.maForm.pickType==0){
|
||||||
this.maForm.relPhone = team.relPhone || ''
|
this.maForm.leasePerson = team.relName
|
||||||
|
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 || ''
|
||||||
} else {
|
} else {
|
||||||
this.maForm.teamId = res.data[0].id
|
this.maForm.teamId = res.data[0].id
|
||||||
this.maForm.teamName = res.data[0].teamName
|
this.maForm.teamName = res.data[0].teamName
|
||||||
this.maForm.leasePerson = res.data[0].relName
|
if (this.maForm.pickType==0){
|
||||||
this.maForm.relPhone = res.data[0].relPhone || ''
|
this.maForm.leasePerson = res.data[0].relName
|
||||||
|
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 || ''
|
||||||
|
|
@ -689,6 +694,8 @@ export default {
|
||||||
this.getBmTeam()
|
this.getBmTeam()
|
||||||
} 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.relPhone = ''
|
||||||
this.getProDeptList()
|
this.getProDeptList()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue