企标制修订立项计划-立项确认节点-体系结构
This commit is contained in:
@@ -1135,6 +1135,17 @@ export default {
|
||||
},
|
||||
TXJGenterDrawer () {
|
||||
let list = this.$refs.TXJGTree.getCheckedNodes()
|
||||
if (this.$refs.TXJGTree.getCheckedNodes().length > 1) {
|
||||
this.$message.warning('仅能选择一个体系结构')
|
||||
return;
|
||||
}
|
||||
if(list.length > 0){
|
||||
let parenList = list.filter ( item => item.parentId === null || item.parentId === '');
|
||||
if (parenList.length > 0) {
|
||||
this.$message.error('请选择二级及以下目录')
|
||||
return
|
||||
}
|
||||
}
|
||||
let id = ''
|
||||
let name = ''
|
||||
list.map(item => {
|
||||
|
||||
Reference in New Issue
Block a user