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

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

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

Loading…
Cancel
Save