|
@@ -85,12 +85,14 @@ export default {
|
|
|
_this.$refs.orgList.fetchUser(res.data.orgName)
|
|
|
_this.$refs.orgList.dealerName = { key: res.data.orgSn }
|
|
|
const childSnList = []
|
|
|
+ const childSnListStr = []
|
|
|
if (res.data.childList) {
|
|
|
res.data.childList.map(item => {
|
|
|
childSnList.push({ key: item.sn })
|
|
|
+ childSnListStr.push(item.sn)
|
|
|
})
|
|
|
}
|
|
|
- _this.form.childSnList = childSnList.length == 0 ? undefined : childSnList
|
|
|
+ _this.form.childSnList = childSnListStr.length == 0 ? undefined : childSnListStr
|
|
|
_this.$refs.orgMultipleList.setData(childSnList, res.data.childList || [])
|
|
|
_this.$refs.orgMultipleList.dealerName = childSnList
|
|
|
}
|