Browse Source

修改了付款流程

feature/feature-compatible
wangkesi 7 years ago
parent
commit
7dc45b0cab
2 changed files with 7 additions and 6 deletions
  1. 3
      src/view/order-check.vue
  2. 10
      src/view/order-detail.vue

3
src/view/order-check.vue

@ -211,8 +211,7 @@ export default {
}
this.$vux.toast.text(data.msg, "middle");
setTimeout(function() {
window.location.href =
"/v2/order-list";
window.location.href = "/v2/order-list";
}, 2000);
}
});

10
src/view/order-detail.vue

@ -247,10 +247,12 @@ export default {
} else {
let paymentType = this.info.payPrice > 0 ? 7 : 10;
orderApi
.payMoney({
orderNo: this.info.orderNo,
paymentType: paymentType
})
.payMoney(
qs.stringify({
orderNo: this.info.orderNo,
paymentType: paymentType
})
)
.then(data => {
this.$vux.loading.hide();
if (data.code === 0) {

Loading…
Cancel
Save