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

修复报价单航司显示异常

parent c4e5750e
......@@ -331,12 +331,12 @@
</el-descriptions>
<el-descriptions v-if="[3,4].indexOf(list.transportId) > -1">
<el-descriptions-item :label="$t('航空公司')">
{{getSupplierData(list.transportVO.airlineCompany)||'/'}}
{{airlineCompany ? $l(airlineCompany, 'company') : '/'}}
</el-descriptions-item>
</el-descriptions>
<el-descriptions v-if="list.transportId==2">
<el-descriptions-item :label="$t('船公司')">
{{getSupplierData(list.transportVO.shippingCompany)||'/'}}
{{shippingCompany ? $l(shippingCompany, 'company') : '/'}}
</el-descriptions-item>
</el-descriptions>
<el-descriptions v-if="[2,3,4].indexOf(list.transportId) > -1">
......@@ -419,6 +419,10 @@
customerSource: getDictDatas(DICT_TYPE.CUSTOMER_SOURCE),
couponAvailableGroupDtoList: [], // 可用优惠
couponTotalAmountList: [], // 优惠总额
// 航空公司
airlineCompany: null,
// 船公司
shippingCompany: null,
};
},
computed:{
......@@ -705,6 +709,21 @@
that.loading = false;
that.getOpenedRouterList()
if(this.list.transportVO.airlineCompany){
getSupplier(this.list.transportVO.airlineCompany).then(res=>{
if(res.data){
this.airlineCompany = res.data.companyZh
}
})
}
if(this.list.transportVO.shippingCompany){
getSupplier(this.list.transportVO.shippingCompany).then(res=>{
if(res.data){
this.shippingCompany = res.data.companyZh
}
})
}
});
},
getCity(id){
......
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