diff --git a/src/view/order-check.vue b/src/view/order-check.vue index aab0d94..481a47b 100644 --- a/src/view/order-check.vue +++ b/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); } }); diff --git a/src/view/order-detail.vue b/src/view/order-detail.vue index 3cc8a5d..9a17fe9 100644 --- a/src/view/order-detail.vue +++ b/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) {