Commit f8377d04 authored by chenwei's avatar chenwei

Merge branch 'feature' into 'release'

兑换操作添加网点提示

See merge request !23
parents a22d5574 80b01c69
...@@ -146,6 +146,10 @@ ...@@ -146,6 +146,10 @@
@close="dialogClose" @close="dialogClose"
> >
<view class="content"> <view class="content">
<view
>{{ $lang.lang.integral.branch }}
{{ locale === 'zh' ? orderInfo.nodeZh : orderInfo.nodeEn }}
</view>
<view <view
>{{ $lang.lang.integral.gift }} >{{ $lang.lang.integral.gift }}
{{ locale === 'zh' ? orderInfo.titleZh : orderInfo.titleEn }} {{ locale === 'zh' ? orderInfo.titleZh : orderInfo.titleEn }}
...@@ -161,9 +165,7 @@ ...@@ -161,9 +165,7 @@
<view <view
>{{ $lang.lang.integral.exchangeType }} >{{ $lang.lang.integral.exchangeType }}
{{ {{
locale === 'zh' locale === 'zh' ? handleExchangeSelected().labelZh : handleExchangeSelected().labelEn
? orderInfo.pickMethodList[current ? current - 1 : 0].labelZh
: orderInfo.pickMethodList[current ? current - 1 : 0].labelEn
}} }}
</view> </view>
<view v-if="current != 1 && addressId" <view v-if="current != 1 && addressId"
...@@ -351,6 +353,12 @@ export default { ...@@ -351,6 +353,12 @@ export default {
let str = this.locale === 'zh' ? 'Zh' : 'En' let str = this.locale === 'zh' ? 'Zh' : 'En'
return list.map((item) => item[`label${str}`]).join('/') return list.map((item) => item[`label${str}`]).join('/')
}, },
//获取选中的兑换类型
handleExchangeSelected() {
return this.orderInfo.pickMethodList.filter((element) => {
return this.current == element.value
})[0]
},
// 提交订单 // 提交订单
bindSubmitOrder() { bindSubmitOrder() {
if (!this.code) { if (!this.code) {
......
...@@ -36,5 +36,6 @@ export default { ...@@ -36,5 +36,6 @@ export default {
Num: 'Quantity:', Num: 'Quantity:',
total: 'Total Score:', total: 'Total Score:',
exchangeType: 'Exchange Method:', exchangeType: 'Exchange Method:',
deliveryAddress: 'Delivery Address:' deliveryAddress: 'Delivery Address:',
branch: 'branch:'
} }
...@@ -36,5 +36,6 @@ export default { ...@@ -36,5 +36,6 @@ export default {
Num: '数量:', Num: '数量:',
total: '合计积分:', total: '合计积分:',
exchangeType: '兑换方式:', exchangeType: '兑换方式:',
deliveryAddress: '邮寄地址:' deliveryAddress: '邮寄地址:',
branch: '网点:'
} }
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