代客下单新增限时折扣角标

This commit is contained in:
gyq
2025-11-12 10:09:22 +08:00
parent 636fa4e033
commit 2d8abc2fea
17 changed files with 222 additions and 163 deletions

View File

@@ -129,10 +129,10 @@
</div>
<div class="right">
<h3>账单明细</h3>
<p class="u-font-12 u-m-b-20">
<!-- <p class="u-font-12 u-m-b-20">
<span class="color-red">*</span>
<span class="color-red">餐位费和打包费不参与折扣和满减</span>
</p>
</p> -->
<div class="order-info">
<div class="u-flex u-m-b-10 u-row-between">
<span class="title">订单号</span>
@@ -162,6 +162,12 @@
-{{ carts.orderCostSummary.fullReduction.actualAmount }}
</span>
</div>
<div class="u-flex u-m-b-10 u-row-between">
<span class="title">新客立减</span>
<span class="u-m-l-10 value">
-{{ carts.orderCostSummary.newUserDiscount }}
</span>
</div>
<div class="u-flex u-m-b-10 u-row-between">
<span class="title">商品优惠券</span>
<span class="u-m-l-10 value">-{{ productCouponDiscountAmount }}</span>
@@ -509,6 +515,8 @@ function returnPayParams() {
roundAmount: props.orderInfo.roundAmount,
pointsDiscountAmount: carts.orderCostSummary.pointDeductionAmount, //积分抵扣金额
pointsNum: carts.orderCostSummary.pointUsed,
discountActAmount: carts.orderCostSummary.fullReduction.actualAmount, // 满减活动金额
discountActId: carts.orderCostSummary.fullReduction.usedThreshold !== undefined ? carts.orderCostSummary.fullReduction.usedThreshold.activityId : '', // 满减活动id
couponList: carts.coupons.map((v) => v.id),
userId: props.user.userId || "",
allPack: carts.dinnerType == "take-out" ? 1 : 0,