Commit 387dd2cc authored by yujinyao's avatar yujinyao

我的订单客户经理,出货渠道多选

parent 30fb684f
...@@ -3,9 +3,11 @@ ...@@ -3,9 +3,11 @@
v-model="valueSync" v-model="valueSync"
filterable filterable
:clearable="clearable" :clearable="clearable"
:multiple="multiple"
remote remote
reserve-keyword reserve-keyword
:placeholder="placeholder ? placeholder : $t('请选择')" :placeholder="placeholder ? placeholder : $t('请选择')"
@change="(val) => $emit('change', val)"
:loading="loading"> :loading="loading">
<el-option <el-option
v-if="prepend" v-if="prepend"
...@@ -25,7 +27,8 @@ import {getCustomerContactsSelect, getCustomerContacts} from '@/api/ecw/customer ...@@ -25,7 +27,8 @@ import {getCustomerContactsSelect, getCustomerContacts} from '@/api/ecw/customer
import {listServiceUser, listSimpleUsers} from '@/api/system/user' import {listServiceUser, listSimpleUsers} from '@/api/system/user'
export default { export default {
props:{ props:{
value: [String, Number], value: [String, Number, Array, Boolean],
multiple: Boolean,
clearable: Boolean, clearable: Boolean,
placeholder: String, placeholder: String,
manage:{ manage:{
......
...@@ -30,20 +30,18 @@ ...@@ -30,20 +30,18 @@
<el-form-item :label="$t('发货人')" prop="consignorKey"> <el-form-item :label="$t('发货人')" prop="consignorKey">
<el-input <el-input
v-model="queryParams.consignorKey" v-model.trim="queryParams.consignorKey"
:placeholder="$t('发货人')" :placeholder="$t('发货人')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
onkeyup="this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('收货人')" prop="consigneeKey"> <el-form-item :label="$t('收货人')" prop="consigneeKey">
<el-input <el-input
v-model="queryParams.consigneeKey" v-model.trim="queryParams.consigneeKey"
:placeholder="$t('收货人')" :placeholder="$t('收货人')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
onkeyup="this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
/> />
</el-form-item> </el-form-item>
<el-form-item label=""> <el-form-item label="">
...@@ -323,6 +321,7 @@ ...@@ -323,6 +321,7 @@
:label-field="$l('name')" :label-field="$l('name')"
value-field="channelId" value-field="channelId"
v-model="queryParams.channelIds" v-model="queryParams.channelIds"
multiple
></selector> ></selector>
</el-form-item> </el-form-item>
<el-form-item :label="$t('特需')" prop="packageType" v-show="showSearch"> <el-form-item :label="$t('特需')" prop="packageType" v-show="showSearch">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment