车型项目库已维护未维护切换bug
This commit is contained in:
@@ -406,17 +406,15 @@ export default {
|
||||
}
|
||||
},
|
||||
checkedRole (data) {
|
||||
let roleId = data[0].id
|
||||
let roleName = data[0].name
|
||||
if (this.type === 1) {
|
||||
this.dataList[this.zrIndex].liablePeopleId = roleId
|
||||
this.dataList[this.zrIndex].liablePeople = roleName
|
||||
this.dataList[this.zrIndex].liablePeopleId = data[0].id
|
||||
this.dataList[this.zrIndex].liablePeople = data[0].name
|
||||
} else if(this.type === 2) {
|
||||
this.dataList.forEach( item => {
|
||||
this.selectList.forEach( items => {
|
||||
if (item.standId === items.standId) {
|
||||
item.liablePeopleId = roleId
|
||||
item.liablePeople = roleName
|
||||
item.liablePeopleId = data[0].id
|
||||
item.liablePeople = data[0].name
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user