From e49ed47173a0eaf3593b4eadb301af16e5ac45cb Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Thu, 10 Aug 2023 14:15:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E8=87=AA=E5=8A=A8=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=90=8E=E7=AB=AF=E5=A4=84=E7=90=86=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=9C=89=E9=97=AE=E9=A2=98=EF=BC=8C=20=E6=88=91=E8=BF=99?= =?UTF-8?q?=E8=BE=B9=E6=9A=82=E6=97=B6=E5=B0=86=E5=AE=9E=E7=8E=B0=E4=BC=98?= =?UTF-8?q?=E6=83=A0=E5=88=B8=E4=B9=9F=E8=87=AA=E5=8A=A8=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E4=BB=A5=E6=AD=A4=E6=9D=A5=E8=A7=A3=E5=86=B3=E5=A5=B9=EF=BC=8C?= =?UTF-8?q?=E5=A6=82=E6=9E=9C=E8=B7=9F=E4=BC=98=E6=83=A0=E5=88=B8=E7=9A=84?= =?UTF-8?q?=E4=BC=98=E6=83=A0=E6=AF=94=E6=B4=BB=E5=8A=A8=E5=B0=8F=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8BselectDiscount=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=B0=B1=E6=98=AF=E4=BC=98=E6=83=A0=E5=88=B8=EF=BC=8C=E8=BF=99?= =?UTF-8?q?=E4=B8=AA=E6=97=B6=E5=80=99=E5=B0=B1=E8=8E=B7=E5=8F=96=E4=B8=8D?= =?UTF-8?q?=E5=88=B0=E6=B4=BB=E5=8A=A8id=EF=BC=8C=E4=B8=8B=E4=B8=80?= =?UTF-8?q?=E6=AD=A5getOrderInfo=E6=8E=A5=E5=8F=A3=EF=BC=8C=E4=B9=9F?= =?UTF-8?q?=E5=B0=86=E6=97=A0=E6=B3=95=E4=BC=A0=E9=80=92=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?id=E5=AE=9E=E7=8E=B0=E8=87=AA=E5=8A=A8=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E4=BC=98=E6=83=A0=E7=9A=84=E6=83=85=E5=86=B5?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/settlement/settlement.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/settlement/settlement.dart b/lib/settlement/settlement.dart index 4d28b511..b68d529a 100644 --- a/lib/settlement/settlement.dart +++ b/lib/settlement/settlement.dart @@ -161,7 +161,7 @@ class _Settlement extends State { count1, payChannel, tableId); - } else if (coupons != null && coupons != "" && tableId <= 0) { + } else if ( widget.arguments["cid"] != null && widget.arguments["cid"] != "" && tableId <= 0) { queryOrderInfo( address != null ? address.id : null, ((storeInfo?.pickupType?.dineInTakeStatus ?? false) == true && @@ -170,13 +170,13 @@ class _Settlement extends State { selectedBtn != 2) ? diningStatus : selectedBtn, - widget.arguments["cid"], + widget.arguments["cid"]??0, 0, productId ?? 0, productSkuId ?? "", actProductId ?? "", actProductSkuId ?? "", - "COUPON", + "AUTO", // useVipPriceSelect, // useBenefitSelect, count1,