|
@@ -87,6 +87,8 @@ export default {
|
|
|
methods: {
|
|
|
// 购买
|
|
|
buy(item) {
|
|
|
+ debugger;
|
|
|
+ console.log(this.data.receivables_money);
|
|
|
this.loading = true;
|
|
|
// 首先添加订单
|
|
|
let Mnam = "order-order_manager-PayMyOrder";
|
|
@@ -97,7 +99,7 @@ export default {
|
|
|
})
|
|
|
.then((res) => {
|
|
|
console.log(res);
|
|
|
- if (!res.pay_page_url && item.price == 0) {
|
|
|
+ if (!res.pay_page_url) {
|
|
|
window.location.href = "/GCLS-Personal/#/OrderPaySuccess";
|
|
|
} else {
|
|
|
window.location.href = res.pay_page_url;
|