海外库的责任部门能附上值了

This commit is contained in:
yanyizhou
2021-12-01 15:54:27 +08:00
parent a1178a65cf
commit 4b65d04b20
@@ -4894,14 +4894,14 @@ export default {
let idList = '' let idList = ''
let nameList = '' let nameList = ''
data.forEach(item => { data.forEach(item => {
if (item.hasChild === '0' && item.children === null) { // if (item.hasChild === '0' && item.children === null) {
if (nameList.length > 0) { if (nameList.length > 0) {
nameList += ',' nameList += ','
idList += ',' idList += ','
} }
idList += item.id idList += item.id
nameList += item.name nameList += item.name
} // }
}) })
this.sarStandardsInfoEO.ZRBMId = idList; this.sarStandardsInfoEO.ZRBMId = idList;
this.sarStandardsInfoEO['ZRBM'] = nameList; this.sarStandardsInfoEO['ZRBM'] = nameList;