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

修复订单详情出货渠道显示异常

parent 6eef906d
...@@ -71,7 +71,9 @@ ...@@ -71,7 +71,9 @@
<el-descriptions-item :label="$t('运输方式')" > <el-descriptions-item :label="$t('运输方式')" >
<dict-tag :type="DICT_TYPE.ECW_TRANSPORT_TYPE" :value="order.transportId" /> <dict-tag :type="DICT_TYPE.ECW_TRANSPORT_TYPE" :value="order.transportId" />
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item v-if="getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, order.transportId).cssClass == 'channel'":label="$t('出货渠道')" >{{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> </el-descriptions>
</el-card> </el-card>
...@@ -557,10 +559,6 @@ export default { ...@@ -557,10 +559,6 @@ export default {
return JSON.parse(this.order.departureVO.departure) return JSON.parse(this.order.departureVO.departure)
} }
return {} return {}
},
channelName(){
if(!this.channel) return '/'
return this.$l(this.chanel, 'name')
} }
}, },
watch:{ watch:{
...@@ -573,7 +571,7 @@ export default { ...@@ -573,7 +571,7 @@ export default {
} }
}, },
'order.channelId'(){ 'order.channelId'(){
this.getChannel() // this.getChannel()
}, },
'order.consigneeVO'(val){ 'order.consigneeVO'(val){
if(!val) return '-' if(!val) return '-'
...@@ -735,12 +733,12 @@ export default { ...@@ -735,12 +733,12 @@ export default {
}) })
}) })
}, */ }, */
getChannel(){ /*getChannel(){
if(!this.order || !this.order.channelId || this.order.transportId == 1 || this.order.transportId == 2) return if(!this.order || !this.order.channelId || this.order.transportId == 1 || this.order.transportId == 2) return
getChannel(this.order.channelId).then(res => { getChannel(this.order.channelId).then(res => {
this.channel = res.data this.channel = res.data
}) })
}, },*/
loadFeeList(){ loadFeeList(){
getReceivableListByOrderId({id: this.orderId}).then(res => { getReceivableListByOrderId({id: this.orderId}).then(res => {
this.feeList = res.data this.feeList = res.data
......
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