yy-4.20
戴余标 2 years ago
parent 3f6376ff46
commit 64aec699cb

@ -46,8 +46,8 @@
<div class="row-label">客户类型</div>
<div class="row-content">
<el-select
v-model="baseFrom.customer_type" multiple filterable allow-create default-first-option
placeholder="请选择客户类型" class="customer_select">
v-model="baseFrom.customer_type" :placeholder="placeholderText" multiple filterable allow-create
default-first-option class="customer_select">
<el-option v-for="item in options" :key="item.index" :label="item.index" :value="item" />
</el-select>
</div>
@ -193,6 +193,7 @@ export default {
}
return {
placeholderText: '',
options: [],
loading: false,
baseFrom: null,
@ -275,6 +276,7 @@ export default {
item.type = 'user'
})
}
this.placeholderText = data.customer_type
this.baseFrom = {
pool_name: data.pool_name,
adminUsers: data.admin_user_info,
@ -344,6 +346,7 @@ export default {
users: [],
strucs: []
},
customer_type: '',
before_owner_conf: 0, // 0 1
before_owner_day: '',
receive_conf: 0, // 0 1
@ -524,7 +527,6 @@ export default {
params.customer_type = this.baseFrom.customer_type.map(item => {
return item
}).join(',')
console.log(params.customer_type)
} else {
params[key] = this.baseFrom[key]
}

@ -59,6 +59,12 @@
</flexbox>
<create-sections title="规则设置">
<div class="rule">
<flexbox
align="stretch"
class="rule-item">
<div class="label">客户类型</div>
<div class="value">{{ detail.customer_type }}</div>
</flexbox>
<flexbox
align="stretch"
class="rule-item">

Loading…
Cancel
Save