|
@@ -89,6 +89,8 @@ export default {
|
|
|
methods: {
|
|
|
// 购买
|
|
|
buy(item) {
|
|
|
+ console.log("应付金额");
|
|
|
+ console.log(this.data.receivables_money);
|
|
|
this.loading = true;
|
|
|
// 首先添加订单
|
|
|
let Mnam = "order-order_manager-PayMyOrder";
|
|
@@ -101,8 +103,8 @@ export default {
|
|
|
//this.loading = false;
|
|
|
this.judgePayResult(true);
|
|
|
// 调取支付接口
|
|
|
- if (!res.pay_page_url && item.price == 0) {
|
|
|
- window.location.href = "/GCLS-Personal/#/OrderPaySuccess";
|
|
|
+ if (!res.pay_page_url) {
|
|
|
+ this.$router.push("/OrderPaySuccess");
|
|
|
} else {
|
|
|
window.location.href = res.pay_page_url;
|
|
|
}
|