commit
This commit is contained in:
@@ -332,7 +332,7 @@ layout("/layouts/platform.html"){
|
||||
</el-table-column>
|
||||
<el-table-column>
|
||||
<template slot="header" slot-scope="scope">
|
||||
<el-button type="primary" @click="clubUserTableData.push({invite: true})" size="mini">增加</el-button>
|
||||
<el-button type="primary" @click="clubUserTableData.push({invite: true})" size="mini">邀请入会</el-button>
|
||||
</template>
|
||||
<template slot-scope="scope">
|
||||
<el-button type="danger"
|
||||
@@ -670,14 +670,7 @@ layout("/layouts/platform.html"){
|
||||
this.$message.warning('理事机构成员要求不少于3人')
|
||||
return
|
||||
}*/
|
||||
let clubUserValid = false
|
||||
this.managePerson.forEach(item => {
|
||||
if(!item.userId) {
|
||||
clubUserValid = true
|
||||
return
|
||||
}
|
||||
})
|
||||
if (!flag && (this.clubUserTableData.length < 20 || clubUserValid)) {
|
||||
if (!flag && this.clubUserTableData.length < 20) {
|
||||
this.$message.warning('请至少选择20位协会成员')
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user