Commit 888525d5 authored by dragondean@qq.com's avatar dragondean@qq.com

Merge remote-tracking branch 'origin/release2.2' into release2.2

parents cd74dfd0 a1557bd0
...@@ -47,7 +47,11 @@ ...@@ -47,7 +47,11 @@
<el-table v-loading="loading" :data="list" @sort-change="sortChange"> <el-table v-loading="loading" :data="list" @sort-change="sortChange">
<el-table-column :label="$t('序号')" type="index" width="50" /> <el-table-column :label="$t('序号')" type="index" width="50" />
<el-table-column :label="$t('提货点名称')" align="center" :prop="$l('title')" /> <el-table-column :label="$t('提货点名称')" align="center" >
<template v-slot="{row}">
{{$l(row,'title')}}
</template>
</el-table-column>
<el-table-column :label="$t('排序')" sortable="custom" align="center" prop="sort" /> <el-table-column :label="$t('排序')" sortable="custom" align="center" prop="sort" />
<el-table-column :label="$t('地区')" align="center" prop="countryId"> <el-table-column :label="$t('地区')" align="center" prop="countryId">
...@@ -132,10 +136,12 @@ import { createPickupLoc, updatePickupLoc, deletePickupLoc, getPickupLoc, getPic ...@@ -132,10 +136,12 @@ import { createPickupLoc, updatePickupLoc, deletePickupLoc, getPickupLoc, getPic
import {CommonStatusEnum} from '@/utils/constants' import {CommonStatusEnum} from '@/utils/constants'
import { getDictDatas, DICT_TYPE } from '@/utils/dict' import { getDictDatas, DICT_TYPE } from '@/utils/dict'
import { getListTree } from "@/api/ecw/region"; import { getListTree } from "@/api/ecw/region";
import Template from "@/views/cms/template/index.vue";
export default { export default {
name: "PickupLoc", name: "PickupLoc",
components: { components: {
Template
}, },
data() { data() {
return { return {
...@@ -229,7 +235,7 @@ export default { ...@@ -229,7 +235,7 @@ export default {
getCountryName(countryId) { getCountryName(countryId) {
for(let index in this.countryList) { for(let index in this.countryList) {
let country = this.countryList[index]; let country = this.countryList[index];
if(country.id == countryId) return $l(country, 'title'); if(country.id == countryId) return this.$l(country, 'title');
} }
}, },
......
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