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