Browse Source

Merge remote-tracking branch 'origin/new_revision_app' into new_revision_app

dart3_last
boom 2 years ago
parent
commit
41b5cd5b6b
  1. 1
      lib/settlement/settlement.dart
  2. 10
      lib/settlement/settlement_view/activity_coupon_remarks.dart

1
lib/settlement/settlement.dart

@ -781,6 +781,7 @@ class _Settlement extends State<Settlement> {
), ),
///// /////
if(settleOrderInfo != null || minOrderInfo != null)
ActivityCouponRemarks( ActivityCouponRemarks(
couponCart, couponCart,
activityCart, activityCart,

10
lib/settlement/settlement_view/activity_coupon_remarks.dart

@ -76,7 +76,7 @@ class _ActivityCouponRemarks extends State<ActivityCouponRemarks> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
// if(widget?.settleOrderInfo?.memberVO?.isVip ?? false) if(!widget?.settleOrderInfo?.isRaise ?? false)
Row( Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
@ -168,7 +168,7 @@ class _ActivityCouponRemarks extends State<ActivityCouponRemarks> {
], ],
), ),
), ),
if (widget.placeOrder && widget.tableId <= 0) if (widget.placeOrder && widget.tableId <= 0 && !(widget?.settleOrderInfo?.isRaise ?? false))
InkWell( InkWell(
onTap: () { onTap: () {
widget.activityCart(); widget.activityCart();
@ -204,11 +204,11 @@ class _ActivityCouponRemarks extends State<ActivityCouponRemarks> {
], ],
), ),
), ),
if (widget.placeOrder) if (widget.placeOrder && !(widget?.settleOrderInfo?.isRaise ?? false))
SizedBox( SizedBox(
height: 13, height: 13,
), ),
if (widget.placeOrder) if (widget.placeOrder && !(widget?.settleOrderInfo?.isRaise ?? false))
InkWell( InkWell(
onTap: () { onTap: () {
widget.couponCart(); widget.couponCart();
@ -244,7 +244,7 @@ class _ActivityCouponRemarks extends State<ActivityCouponRemarks> {
], ],
), ),
), ),
if (widget.placeOrder) if (widget.placeOrder && !(widget?.settleOrderInfo?.isRaise ?? false))
SizedBox( SizedBox(
height: 13, height: 13,
), ),

Loading…
Cancel
Save