Commit f59c28a4 authored by dragondean@qq.com's avatar dragondean@qq.com

Merge branch 'feature/order_edit' into pre-release

# Conflicts:
#	src/views/ecw/order/index.vue
parents c93e8f1a f7107ee8
......@@ -81,10 +81,10 @@
</el-descriptions-item>
<el-descriptions-item v-if="getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, order.transportId).cssClass == 'channel'":label="$t('出货渠道')" >{{order.channelName}}</el-descriptions-item>
<el-descriptions-item :label="$t('服务')" >
<el-tag v-if="order.type.indexOf('1') > -1">
<el-tag v-if="order.type && order.type.indexOf('1') > -1">
{{ $t('集运') }}
</el-tag>
<el-tag v-if="order.type.indexOf('2') > -1">
<el-tag v-if="order.type && order.type.indexOf('2') > -1">
{{ $t('海外仓') }}
</el-tag>
</el-descriptions-item>
......
......@@ -1758,7 +1758,7 @@ export default {
// 增值服务文本
getTypeText(){
return type => {
if (type) {
if(!type) return ""
const arr = []
if(type.indexOf('1') > -1){
arr.push(this.$t('集运'))
......@@ -1766,10 +1766,6 @@ export default {
if(type.indexOf('2') > -1){
arr.push(this.$t('海外仓'))
}
return arr.join(",")
} else {
return null
}
}
}
},
......
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