From c1579a865d2e4892e43f10acac919e7af7ca692b Mon Sep 17 00:00:00 2001 From: fmk Date: Mon, 18 Oct 2021 19:35:15 +0800 Subject: [PATCH] safety --- lib/store/store_view/settlement.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/store/store_view/settlement.dart b/lib/store/store_view/settlement.dart index 29fedfd3..773f1a70 100644 --- a/lib/store/store_view/settlement.dart +++ b/lib/store/store_view/settlement.dart @@ -9,6 +9,7 @@ import 'package:huixiang/order/order_view/order_commodity.dart'; import 'package:huixiang/order/order_view/order_info.dart'; import 'package:huixiang/retrofit/data/base_data.dart'; import 'package:huixiang/retrofit/data/coupon.dart'; +import 'package:huixiang/retrofit/data/findMiNiGroupList.dart'; import 'package:huixiang/retrofit/data/order_info.dart'; import 'package:huixiang/retrofit/data/settleOrderInfo.dart'; import 'package:huixiang/retrofit/data/store_info.dart'; @@ -43,6 +44,10 @@ class _Settlement extends State { int isSelected = 0; StoreInfo storeInfo; SettleOrderInfo settleOrderInfo; + int selectedCouponIndex = -1; + + List shopCar = []; + List> shopCarGoods = []; TextEditingController _vc; List addressBgs = [ @@ -130,7 +135,7 @@ class _Settlement extends State { phoneWidget(), ///订单商品 - SettlementOrderCommodity(settleOrderInfo, 0), + SettlementOrderCommodity(shopCar, 0,shopCarGoods,settleOrderInfo), // if (payStatus == 0) couponRemarks(), /*(payStatus == 0) ? paySelector() : */