优化代客下单价格显示

This commit is contained in:
gyq
2025-11-18 15:41:08 +08:00
parent 156af8beeb
commit 1b1b4c7e3f
2 changed files with 2 additions and 1 deletions

View File

@@ -797,6 +797,7 @@ export const useCartsStore = defineStore("carts", () => {
sku_id: v.skuId,
product_type: v.productType,
product_id: v.productId,
isTimeDiscount: limitUtils.canUseLimitTimeDiscount(v, limitDiscountRes.value, shopInfoTyped, vipUser.value, 'productId'),
is_time_discount: limitUtils.canUseLimitTimeDiscount(v, limitDiscountRes.value, shopInfoTyped, vipUser.value, 'productId'),
time_discount_price: limitUtils.returnPrice({
goods: { ...v, ...skuData },

View File

@@ -106,7 +106,7 @@
">
<div>¥{{ to2(allPrice) }}</div>
<div class="free-price">
<span>¥{{ to2(discount_before_price) }}</span>
<span>¥{{ to2(item.salePrice) }}</span>
</div>
</template>
<template v-else>