|
@@ -92,12 +92,16 @@ export default {
|
|
|
let Mnam = "order-order_manager-PayMyOrder";
|
|
|
LearnWebSI(Mnam, {
|
|
|
id: this.orderNumber, //订单id
|
|
|
- pay_money: item.price, //支付金额
|
|
|
+ pay_money: this.data.receivables_money, //支付金额
|
|
|
bank_transaction_sn: "", //银行交易流水号
|
|
|
})
|
|
|
.then((res) => {
|
|
|
console.log(res);
|
|
|
- window.location.href = res.pay_page_url;
|
|
|
+ if (!res.pay_page_url && item.price == 0) {
|
|
|
+ window.location.href = "/GCLS-Personal/#/OrderPaySuccess";
|
|
|
+ } else {
|
|
|
+ window.location.href = res.pay_page_url;
|
|
|
+ }
|
|
|
// this.$message({
|
|
|
// type: "success",
|
|
|
// message: "支付成功",
|