|
@@ -266,11 +266,16 @@ Page({
|
|
|
url: '/pages/welfareMall/order/orderCompletion?ordersn='+this.data.orderSn
|
|
|
})
|
|
|
},
|
|
|
+ goToOrderList(){
|
|
|
+ wx.redirectTo({
|
|
|
+ url: '/pages/welfareMall/historical/historical'
|
|
|
+ })
|
|
|
+ },
|
|
|
//type 1 是未支付带过去的 2 是已支付带过去的
|
|
|
async goToOrderInfo(){
|
|
|
|
|
|
//如果是支付的订单才去查询订单状态
|
|
|
- if(this.data.isPay && this.data.orderSn){
|
|
|
+ if(this.data.detail.isPay && this.data.orderSn){
|
|
|
await WelfareMall.getPayStatus(this.data.orderSn);
|
|
|
}
|
|
|
|