Commit 5210bced authored by 邓春圆's avatar 邓春圆

搜索调整

parent 3ac53420
......@@ -20,7 +20,9 @@ export default {
form: {},
queryParams: {
pageSize:20,
transportType:3
transportType:3,
startWarehouseIdList:[],
destWarehouseIdList: []
}
}
},
......@@ -74,13 +76,13 @@ export default {
<template #header>
<el-form inline>
<el-form-item label="始发地">
<el-select v-model="form.startWarehouseId" :placeholder="$t('请选择始发地')">
<el-option v-for="item in exportWarehouseList" :label="$l(item, 'title')" :value="item.id"
<el-select v-model="queryParams.startWarehouseIdList" @change="getList()" multiple :placeholder="$t('请选择始发地')">
<el-option v-for="item in exportWarehouseList" :label="$l(item, 'title')" :value="item.id"
:key="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('目的地')" prop="destWarehouseId">
<el-select v-model="form.destWarehouseId" :placeholder="$t('请选择目的地')">
<el-select @change="getList()" v-model="queryParams.destWarehouseIdList" multiple :placeholder="$t('请选择目的地')">
<el-option v-for="item in importWarehouseList" :label="$l(item, 'title')" :value="item.id"
:key="item.id"></el-option>
</el-select>
......@@ -90,12 +92,12 @@ export default {
<el-table border :data="list">
<el-table-column label="始发仓">
<template slot-scope="{row}">
{{ $l(exportWarehouseList.find(i => i.id === row.startWarehouseId), 'title') }}
{{ $l(row, 'startWarehouseTitle') }}
</template>
</el-table-column>
<el-table-column label="目的仓">
<template slot-scope="{row}">
{{ $l(importWarehouseList.find(i => i.id === row.destWarehouseId), 'title') }}
{{ $l(row, 'destWarehouseTitle') }}
</template>
</el-table-column>
<el-table-column label="渠道数">
......
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