fix:【C端】【订单】用户有待领取的订单,再次下单购买该立减金商品提示不是有效路由
This commit is contained in:
parent
0b72be4ca6
commit
07437fbd1d
|
@ -533,8 +533,9 @@
|
|||
this.payType = payType
|
||||
this.show = false
|
||||
let orderInfo = await this.createdOrder(payType);
|
||||
if (orderInfo.pay_status == 2) {//pay_status 2已支付
|
||||
window.location.replace('http://test.86885.cn/paysuccess.html?order_number=' + orderInfo.order_number);
|
||||
if (orderInfo.pay_status == 2||[1,2].includes(orderInfo.channel)) {//pay_status 2已支付 channel 1 支付宝 2微信
|
||||
let orderNumber=orderInfo.pay_status == 2?orderInfo.order_number:orderInfo.original_order_number;
|
||||
window.location.replace('http://test.86885.cn/paysuccess.html?order_number=' + orderNumber);
|
||||
} else {
|
||||
this.createdPay(orderInfo.order_number);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue