|
|
|
@ -617,19 +617,20 @@ |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
submitHandle(e) { |
|
|
|
|
submitHandle(e) { |
|
|
|
|
uni.showLoading({ |
|
|
|
|
title: '支付中...' |
|
|
|
|
}) |
|
|
|
|
this.PaymentPassword = e.value; |
|
|
|
|
if (this.PaymentPassword == '') { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '请勿手动关闭弹窗', |
|
|
|
|
icon: 'none', |
|
|
|
|
duration: 2000 |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
uni.hideLoading(); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
uni.showLoading({ |
|
|
|
|
title: '支付中...' |
|
|
|
|
}) |
|
|
|
|
if (this.payPrice == 0) { |
|
|
|
|
let params = { |
|
|
|
|
"memDiscountId": this.memDiscountId, |
|
|
|
@ -638,9 +639,9 @@ |
|
|
|
|
"integralNum": this.priceValue[1], |
|
|
|
|
"password": this.PaymentPassword |
|
|
|
|
} |
|
|
|
|
addOrderPay(params).then(res => { |
|
|
|
|
addOrderPay(params).then(res => { |
|
|
|
|
uni.hideLoading(); |
|
|
|
|
if (res.return_code == '000000') { |
|
|
|
|
uni.hideLoading(); |
|
|
|
|
this.orderId = res.return_data.id; |
|
|
|
|
uni.reLaunch({ |
|
|
|
|
url: '../Phone-recharge-details/Phone-recharge-details?id=' + |
|
|
|
|