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 @@ ...@@ -81,10 +81,10 @@
</el-descriptions-item> </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 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-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('集运') }} {{ $t('集运') }}
</el-tag> </el-tag>
<el-tag v-if="order.type.indexOf('2') > -1"> <el-tag v-if="order.type && order.type.indexOf('2') > -1">
{{ $t('海外仓') }} {{ $t('海外仓') }}
</el-tag> </el-tag>
</el-descriptions-item> </el-descriptions-item>
......
...@@ -1758,7 +1758,7 @@ export default { ...@@ -1758,7 +1758,7 @@ export default {
// 增值服务文本 // 增值服务文本
getTypeText(){ getTypeText(){
return type => { return type => {
if (type) { if(!type) return ""
const arr = [] const arr = []
if(type.indexOf('1') > -1){ if(type.indexOf('1') > -1){
arr.push(this.$t('集运')) arr.push(this.$t('集运'))
...@@ -1766,10 +1766,6 @@ export default { ...@@ -1766,10 +1766,6 @@ export default {
if(type.indexOf('2') > -1){ if(type.indexOf('2') > -1){
arr.push(this.$t('海外仓')) 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