Commit 5d33153f by 胡悦

修改选择成员

1 parent 8f0aa683
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<span>{{ basicForm.userList ? basicForm.userList.length : 0 }}</span> <span>{{ basicForm.userList ? basicForm.userList.length : 0 }}</span>
人 人
</span> </span>
<div class="sale-select" v-show="basicForm.userList"> <div :key="key" class="sale-select" v-show="basicForm.userList">
<div class="el-input-tag input-tag-wrapper"> <div class="el-input-tag input-tag-wrapper">
<div style="max-height: 64px;"> <div style="max-height: 64px;">
<el-tag <el-tag
...@@ -259,6 +259,7 @@ export default { ...@@ -259,6 +259,7 @@ export default {
this.selectData = [] this.selectData = []
}, },
remove(val, idx) { remove(val, idx) {
console.log(val, idx)
if (this.$refs.membersForm) { if (this.$refs.membersForm) {
this.$refs.membersForm.remove(val) this.$refs.membersForm.remove(val)
this.$set(this.basicForm, 'userList', this.$refs.membersForm.innerTags) this.$set(this.basicForm, 'userList', this.$refs.membersForm.innerTags)
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
height: treeHeight + 'px' height: treeHeight + 'px'
}"> }">
<el-scrollbar> <el-scrollbar>
<div style="max-height: 200px"> <div :style="{'max-height': treeHeight + 20 + 'px'}">
<div class="tree-title">所在门店/部门</div> <div class="tree-title">所在门店/部门</div>
<el-tree <el-tree
v-loading="loading" v-loading="loading"
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
}" }"
> >
<el-scrollbar> <el-scrollbar>
<div style="max-height: 200px"> <div :style="{'max-height': treeHeight + 20 + 'px'}">
<GLTable <GLTable
v-loading="loading" v-loading="loading"
ref="saleTable" ref="saleTable"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!