This commit is contained in:
@jyuhsin
2025-01-09 13:54:04 +08:00
parent f99ebdfff6
commit d94a12e0ca
3 changed files with 36 additions and 41 deletions
@@ -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
}