Showing
3 changed files
with
5 additions
and
3 deletions
@@ -102,7 +102,7 @@ module.exports = (Vue) => { | @@ -102,7 +102,7 @@ module.exports = (Vue) => { | ||
102 | stateTxt = '待收货'; | 102 | stateTxt = '待收货'; |
103 | break; | 103 | break; |
104 | case 6: | 104 | case 6: |
105 | - stateTxt = '已完成'; | 105 | + stateTxt = '交易成功'; |
106 | break; | 106 | break; |
107 | default: | 107 | default: |
108 | stateTxt = ''; | 108 | stateTxt = ''; |
1 | <template> | 1 | <template> |
2 | <template v-if="show"> | 2 | <template v-if="show"> |
3 | <div class="order-status"> | 3 | <div class="order-status"> |
4 | - <p>{{order.statusStr}}</p> | 4 | + <p v-if="order.isCancel === 'Y'">交易已取消</p> |
5 | + <p v-else>{{order.status | convertOrderState}}</p> | ||
5 | <p v-if="order.isCancel !== 'Y' && order.status == 0 && order.payLefttime != 0">剩余: <span v-count-down v-bind:left-time="order.payLefttime"></span>,订单将被取消</p> | 6 | <p v-if="order.isCancel !== 'Y' && order.status == 0 && order.payLefttime != 0">剩余: <span v-count-down v-bind:left-time="order.payLefttime"></span>,订单将被取消</p> |
6 | </div> | 7 | </div> |
7 | <div class="order-address"> | 8 | <div class="order-address"> |
@@ -5,7 +5,8 @@ | @@ -5,7 +5,8 @@ | ||
5 | <div class="order-detail"> | 5 | <div class="order-detail"> |
6 | <div class="order-code"> | 6 | <div class="order-code"> |
7 | <p>订单号:{{order.orderCode}}</p> | 7 | <p>订单号:{{order.orderCode}}</p> |
8 | - <p>{{order.statusStr}}</p> | 8 | + <p v-if="order.isCancel === 'Y'">交易已取消</p> |
9 | + <p v-else>{{order.status | convertOrderState}}</p> | ||
9 | </div> | 10 | </div> |
10 | <div class="order-goods" > | 11 | <div class="order-goods" > |
11 | <div class="goods-info" v-for="goods in order.orderGoods"> | 12 | <div class="goods-info" v-for="goods in order.orderGoods"> |
-
Please register or login to post a comment