dev
张同海 2 years ago
parent 30a3002e41
commit 1265a7225e

@ -85,7 +85,11 @@
</a-col>
<a-col :span="6">
<a-form-item label="客户属性" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-select mode="multiple" placeholder="请选择客户属性" v-decorator="['WpropString']">
<a-select
mode="multiple"
placeholder="请选择客户属性"
v-decorator="['WpropString', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
>
<a-select-option v-for="item in propStringData" :key="item.id" :value="item.code">
{{ item.name }}
</a-select-option>

@ -85,7 +85,11 @@
</a-col>
<a-col :span="6">
<a-form-item label="客户属性" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-select mode="multiple" placeholder="请选择客户属性" v-decorator="['WpropString']">
<a-select
mode="multiple"
placeholder="请选择客户属性"
v-decorator="['WpropString', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
>
<a-select-option v-for="item in propStringData" :key="item.id" :value="item.code">{{
item.name
}}</a-select-option>

Loading…
Cancel
Save