增加创建订单接口,堂食自取切换接口

This commit is contained in:
GaoHao
2024-09-29 17:08:03 +08:00
parent 19b6e2fa09
commit 3288d1ed9b
3 changed files with 102 additions and 70 deletions

View File

@@ -132,7 +132,7 @@
* 去支付
*/
goToPay(){
if ( this.radiovalue == 2 || this.radiovalue == 3 && this.listinfo.payAmount <= 0 ) {
if ( (this.radiovalue == 2 || this.radiovalue == 3) && this.listinfo.payAmount <= 0 ) {
uni.showToast({
title: "支付金额必须大于0",
icon: 'none'