支付金额为0的情况下,微信阻止支付
This commit is contained in:
parent
fc9da59f26
commit
62cbad9029
|
|
@ -404,6 +404,13 @@
|
|||
*/
|
||||
showpopupclickdd() {
|
||||
console.log(this.radiovalue)
|
||||
if ( this.radiovalue == 2 && this.listinfo.payAmount <= 0 ) {
|
||||
uni.showToast({
|
||||
title: "支付金额必须大于0",
|
||||
icon: 'none'
|
||||
})
|
||||
return;
|
||||
}
|
||||
uni.showLoading({
|
||||
title: '加载中',
|
||||
mask: true
|
||||
|
|
@ -433,6 +440,8 @@
|
|||
* 微信支付
|
||||
*/
|
||||
async showpopupclickdds() {
|
||||
|
||||
|
||||
console.log(this.listinfoid)
|
||||
let res = await this.api.payorderPay({
|
||||
orderId: this.listinfoid
|
||||
|
|
|
|||
Loading…
Reference in New Issue