Commit d05971d9 authored by 邓春圆's avatar 邓春圆

添加国家

parent 9d89036c
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('目的仓')" prop="destWarehouseIdArr"> <el-form-item :label="$t('目的仓')" prop="destWarehouseIdArr">
<el-select multiple v-model="queryParams.destWarehouseIdList" multiple <el-select multiple v-model="queryParams.destWarehouseIdList" multiple
:placeholder="$t('请选择目的仓')" clearable> :placeholder="$t('请选择目的仓')" clearable>
<el-option v-for="item in importWarehouseList" :label="$l(item, 'title')" :value="item.id" <el-option v-for="item in importWarehouseList" :label="$l(item, 'title')" :value="item.id"
:key="item.id"></el-option> :key="item.id"></el-option>
...@@ -28,6 +28,12 @@ ...@@ -28,6 +28,12 @@
:key="item.channelId"></el-option> :key="item.channelId"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label-width="200" label="目的仓国家">
<el-select style="width: 100%" filterable clearable v-model="queryParams.destCountryId" :placeholder="$t('请选择国家')">
<el-option v-for="dict in countryList"
:key="dict.id" :label="$l(dict,'title')" :value="parseInt(dict.id)"/>
</el-select>
</el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleQuery">{{ $t('搜索') }}</el-button> <el-button type="primary" icon="el-icon-search" @click="handleQuery">{{ $t('搜索') }}</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
...@@ -49,6 +55,11 @@ ...@@ -49,6 +55,11 @@
<dict-tag :type="DICT_TYPE.ECW_TRANSPORT_TYPE" :value="row.transportType"></dict-tag> <dict-tag :type="DICT_TYPE.ECW_TRANSPORT_TYPE" :value="row.transportType"></dict-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('目的仓国家')" align="center">
<template slot-scope="{row}">
{{ row.channelIds ? $l(row, 'destCountryName') : '/' }}
</template>
</el-table-column>
<el-table-column :label="$t('出货渠道')" align="center"> <el-table-column :label="$t('出货渠道')" align="center">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ row.channelIds ? $l(row, 'channelNames') : '/' }} {{ row.channelIds ? $l(row, 'channelNames') : '/' }}
...@@ -61,6 +72,7 @@ ...@@ -61,6 +72,7 @@
query:{ query:{
startWarehouseTitle:$l(row,'startWarehouseTitle'), startWarehouseTitle:$l(row,'startWarehouseTitle'),
destWarehouseTitle: $l(row, 'destWarehouseTitle'), destWarehouseTitle: $l(row, 'destWarehouseTitle'),
destCountryName:$l(row,'destCountryName')
} }
})">空运渠道包装清关费 })">空运渠道包装清关费
</el-button> </el-button>
...@@ -92,12 +104,14 @@ import {listServiceUser} from "@/api/system/user"; ...@@ -92,12 +104,14 @@ import {listServiceUser} from "@/api/system/user";
import {getWarehouseList} from '@/api/ecw/warehouse' import {getWarehouseList} from '@/api/ecw/warehouse'
import {DICT_TYPE} from "@/utils/dict"; import {DICT_TYPE} from "@/utils/dict";
import {warehouseLinePage} from "@/api/ecw/customerContacts"; import {warehouseLinePage} from "@/api/ecw/customerContacts";
import {getTradeCountryList} from "@/api/ecw/region";
export default { export default {
name: "EcwOfferAll-routes-list", name: "EcwOfferAll-routes-list",
components: {}, components: {},
data() { data() {
return { return {
countryList:[],
// 遮罩层 // 遮罩层
loading: true, loading: true,
// 总条数 // 总条数
...@@ -135,6 +149,9 @@ export default { ...@@ -135,6 +149,9 @@ export default {
this.getList(); this.getList();
}, },
created() { created() {
getTradeCountryList().then(r => {
this.countryList = r.data
})
this.getChannelList(); this.getChannelList();
this.getList(); this.getList();
listServiceUser().then(r => { listServiceUser().then(r => {
......
...@@ -244,6 +244,7 @@ export default { ...@@ -244,6 +244,7 @@ export default {
<template> <template>
<div style="padding: 20px"> <div style="padding: 20px">
<div style="margin-bottom: 15px"> <div style="margin-bottom: 15px">
<span>目的国:{{ $route.query.destCountryName }}</span>
<span>路线:{{ $route.query.startWarehouseTitle }}{{ $route.query.destWarehouseTitle }}</span> <span>路线:{{ $route.query.startWarehouseTitle }}{{ $route.query.destWarehouseTitle }}</span>
<span style="margin-left: 30px;">运输方式:空运专线</span> <span style="margin-left: 30px;">运输方式:空运专线</span>
</div> </div>
......
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