|
|
@ -618,6 +618,9 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
submitHandle(e) { |
|
|
|
submitHandle(e) { |
|
|
|
|
|
|
|
uni.showLoading({ |
|
|
|
|
|
|
|
title: '支付中...' |
|
|
|
|
|
|
|
}) |
|
|
|
this.PaymentPassword = e.value; |
|
|
|
this.PaymentPassword = e.value; |
|
|
|
if (this.PaymentPassword == '') { |
|
|
|
if (this.PaymentPassword == '') { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
@ -625,11 +628,9 @@ |
|
|
|
icon: 'none', |
|
|
|
icon: 'none', |
|
|
|
duration: 2000 |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
uni.hideLoading(); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
uni.showLoading({ |
|
|
|
|
|
|
|
title: '支付中...' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
if (this.payPrice == 0) { |
|
|
|
if (this.payPrice == 0) { |
|
|
|
let params = { |
|
|
|
let params = { |
|
|
|
"memDiscountId": this.memDiscountId, |
|
|
|
"memDiscountId": this.memDiscountId, |
|
|
@ -639,8 +640,8 @@ |
|
|
|
"password": this.PaymentPassword |
|
|
|
"password": this.PaymentPassword |
|
|
|
} |
|
|
|
} |
|
|
|
addOrderPay(params).then(res => { |
|
|
|
addOrderPay(params).then(res => { |
|
|
|
|
|
|
|
uni.hideLoading(); |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
uni.hideLoading(); |
|
|
|
|
|
|
|
this.orderId = res.return_data.id; |
|
|
|
this.orderId = res.return_data.id; |
|
|
|
uni.reLaunch({ |
|
|
|
uni.reLaunch({ |
|
|
|
url: '../Phone-recharge-details/Phone-recharge-details?id=' + |
|
|
|
url: '../Phone-recharge-details/Phone-recharge-details?id=' + |
|
|
|