|
|
@ -114,7 +114,27 @@ |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
submit() { |
|
|
submit() { |
|
|
this.$routerGo('/pages/order/order?type=all') |
|
|
|
|
|
|
|
|
this.$http(this.API.API_ORDERPAY,{id: this.order_id}).then(res => { |
|
|
|
|
|
console.log('从订单列表进入') |
|
|
|
|
|
if(res.data.jump) { |
|
|
|
|
|
wx.navigateToMiniProgram({ |
|
|
|
|
|
appId: res.data.jump_appid, |
|
|
|
|
|
path: '/pages/order/confirm_atonce', |
|
|
|
|
|
envVersion: 'release', |
|
|
|
|
|
extraData: { |
|
|
|
|
|
order_id: res.data.id |
|
|
|
|
|
}, |
|
|
|
|
|
success(res) { |
|
|
|
|
|
console.log('---res---') |
|
|
|
|
|
console.log(res) |
|
|
|
|
|
}, |
|
|
|
|
|
fail(err) { |
|
|
|
|
|
console.log('---err---') |
|
|
|
|
|
console.log(err) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
}).catch(err => {}) |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
|