Commit 03fb2306 by wangjian

1

parent 7f3cd96e
......@@ -103,7 +103,7 @@
this.$router.push('OrderDetail',{'orderId':item.orderSn})
},
goCoupon(item) {
this.$router.push('Coupon', {'orderId':item.orderSn})
this.$router.push('Coupon', {'orderId':item.orderSn, 'cardIsAllUnlock': item.cardIsAllUnlock})
}
},
watch: {
......
......@@ -103,6 +103,7 @@
},
onLoad(options) {
this.orderId = options.orderId
this.type = options.cardIsAllUnlock == 10 ? 200 : 100
this.getCouponData()
this.getList()
},
......
......@@ -135,7 +135,7 @@
if (this.orderData.state === 100) {
this.toast('卡券生成中,请稍候…')
} else if (this.orderData.state === 200) {
this.$router.push('Coupon', {'orderId':this.orderData.orderSn})
this.$router.push('Coupon', {'orderId':this.orderData.orderSn, 'cardIsAllUnlock': this.orderData.cardIsAllUnlock})
} else {
this.toast('兑换失败,无法查看')
}
......
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