feat: 国标外标增加体系树不能选择根节点限制
This commit is contained in:
@@ -3274,6 +3274,10 @@ export default {
|
||||
this.sarStandardsInfoEO.standSystem = checkedData.map(item => item.menuName).join(",")
|
||||
this.sarStandardsInfoEO.standSystemId = checkedIds.join(",")
|
||||
} else {
|
||||
if (checkedData.parentId == null || checkedData.parentId === '') {
|
||||
this.$message.error('请选择二级及以下目录')
|
||||
return
|
||||
}
|
||||
this.sarStandardsInfoEO.standSystem = checkedData.menuName
|
||||
this.sarStandardsInfoEO.standSystemId = checkedIds
|
||||
}
|
||||
|
||||
@@ -2864,6 +2864,10 @@ export default {
|
||||
this.sarStandardsInfoEO.standSystem = checkedData.map(item => item.menuName).join(",")
|
||||
this.sarStandardsInfoEO.standSystemId = checkedIds.join(",")
|
||||
} else {
|
||||
if (checkedData.parentId == null || checkedData.parentId === '') {
|
||||
this.$message.error('请选择二级及以下目录')
|
||||
return
|
||||
}
|
||||
this.sarStandardsInfoEO.standSystem = checkedData.menuName
|
||||
this.sarStandardsInfoEO.standSystemId = checkedIds
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user