Commit 085f8036 authored by Smile's avatar Smile Committed by wux

英文下单成功页面,显示中文名称修改

parent 75373f68
......@@ -13,7 +13,7 @@
<view class="finish-list">
<view class="finish-info" style="padding-top:12px">
<text>{{$lang.lang.finsh.orderNo}}:</text>
<text style="font-size: 16px;font-weight: 600;">{{orderData.orderNo}}</text>
<text style="font-size: 16px;font-weight: 600;">{{orderData.orderNo}}</text>
<view class="copy" @click="toCopy">{{$lang.lang.notices.copy}}</view>
</view>
<view class="finish-info" style="margin-top: 2px;">
......@@ -45,10 +45,10 @@
</view>
<view class="finish-info">
<text>{{$lang.lang.finsh.address}}:</text>
<text>{{orderData.logisticsInfoDto?orderData.logisticsInfoDto.startAddressZh:''}}</text>
<text>{{orderData.logisticsInfoDto?orderData.logisticsInfoDto[$lang.startAddress]:''}}</text>
</view>
<view class="finish-info">
<text>{{$lang.lang.finsh.phone}}:</text>
<text>{{$lang.lang.finsh.phone}}:</text>
<text>{{orderData.logisticsInfoDto?orderData.logisticsInfoDto.startTell:''}}</text>
</view>
<view class="finish-info">
......@@ -120,7 +120,7 @@
var name = []
if(this.orderData.orderItemVOList.length>0){
this.orderData.orderItemVOList.forEach((item)=>{
name.push(item.prodTitleZh)
name.push(item[this.$lang.prodTitle])
})
this.orderData.goodsName = name.join(',')
}
......@@ -146,7 +146,7 @@
return this.orderData.logisticsInfoDto.startTitleZh+'>>'+this.orderData.logisticsInfoDto.destTitleZh
}else{
return this.orderData.logisticsInfoDto.startTitleEn+'>>'+this.orderData.logisticsInfoDto.destTitleEn
}
}
}
},
getLineData(){
......@@ -168,7 +168,7 @@
}else{
transName = name[0].startTitleEn+'>>'+name[0].destTitleEn
}
}
}
}
return transName
}
......@@ -184,7 +184,7 @@
})
},
//复制订单号
toCopy(){
toCopy(){
let str = this.$lang.lang.finsh.orderNo+' : '+this.orderData.orderNo+'\n'+this.$lang.lang.create.marks+' : '+this.orderData.marks
str = str +'\n'+ this.$lang.lang.orderInfo.ballAddress+' : '+(this.orderData.logisticsInfoDto?(this.$lang.locale=='zh'?this.orderData.logisticsInfoDto.destTitleZh:this.orderData.logisticsInfoDto.destTitleEn):'')
str = str +'\n' + this.$lang.lang.finsh.saddress + ' : '+ (this.orderData.logisticsInfoDto?this.orderData.logisticsInfoDto.startAddressZh:'')
......
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