Commit 33cd0fc1 authored by Smile's avatar Smile Committed by wux

fix:空运出货自动带出送货地址,当后台语言为英语时,供应商自提带出来的仓库地址为中文问题修改

parent 45f1aa34
...@@ -154,6 +154,7 @@ export default { ...@@ -154,6 +154,7 @@ export default {
return return
} }
if (value === "1") { if (value === "1") {
this.airShipmentObj.deliverAddress="";
this.shipmentObj.bookAirInfo.shipperId; this.shipmentObj.bookAirInfo.shipperId;
this.suppliers.forEach((item) => { this.suppliers.forEach((item) => {
if (item.id === this.shipmentObj.bookAirInfo.shipperId) { if (item.id === this.shipmentObj.bookAirInfo.shipperId) {
...@@ -162,7 +163,8 @@ export default { ...@@ -162,7 +163,8 @@ export default {
}); });
} }
if (value === "2") { if (value === "2") {
this.airShipmentObj.deliverAddress = this.shipmentObj.startWarehouseResp.addressZh; this.airShipmentObj.deliverAddress="";
this.airShipmentObj.deliverAddress = this.$i18n.locale === 'zh_CN'?this.shipmentObj.startWarehouseResp.addressZh:this.shipmentObj.startWarehouseResp.addressEn;
} }
} }
}, },
......
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