Showing
1 changed file
with
3 additions
and
2 deletions
@@ -80,7 +80,7 @@ | @@ -80,7 +80,7 @@ | ||
80 | this.$set('order', result.data); | 80 | this.$set('order', result.data); |
81 | genderSel = genderSel([ | 81 | genderSel = genderSel([ |
82 | { | 82 | { |
83 | - key: this.order.isSupportRefund = 'N', | 83 | + key: this.order.isSupportRefund, |
84 | val: this.order.isSupportRefund === 'Y' ? '申请退货' : '<span class="overdue">申请退货(已过期限)</span>', | 84 | val: this.order.isSupportRefund === 'Y' ? '申请退货' : '<span class="overdue">申请退货(已过期限)</span>', |
85 | url: '/home/refund?orderId=' + this.order.orderCode, | 85 | url: '/home/refund?orderId=' + this.order.orderCode, |
86 | disabled: this.order.isSupportRefund !== 'Y' | 86 | disabled: this.order.isSupportRefund !== 'Y' |
@@ -190,7 +190,8 @@ | @@ -190,7 +190,8 @@ | ||
190 | */ | 190 | */ |
191 | applyRefund(code) { | 191 | applyRefund(code) { |
192 | genderSel.show(function(item) { | 192 | genderSel.show(function(item) { |
193 | - console.log(item) | 193 | + console.log(item); |
194 | + return; | ||
194 | location.href = item.url; | 195 | location.href = item.url; |
195 | }); | 196 | }); |
196 | } | 197 | } |
-
Please register or login to post a comment