From 1b1b4c7e3f88dd532e3deccba9acb58bbe712254 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Tue, 18 Nov 2025 15:41:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E5=AE=A2=E4=B8=8B?= =?UTF-8?q?=E5=8D=95=E4=BB=B7=E6=A0=BC=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/carts.ts | 1 + src/views/tool/Instead/components/carts/item.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/store/modules/carts.ts b/src/store/modules/carts.ts index bf8a0b3..f7828da 100644 --- a/src/store/modules/carts.ts +++ b/src/store/modules/carts.ts @@ -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 }, diff --git a/src/views/tool/Instead/components/carts/item.vue b/src/views/tool/Instead/components/carts/item.vue index fa63f7b..ef9c384 100644 --- a/src/views/tool/Instead/components/carts/item.vue +++ b/src/views/tool/Instead/components/carts/item.vue @@ -106,7 +106,7 @@ ">
¥{{ to2(allPrice) }}
- ¥{{ to2(discount_before_price) }} + ¥{{ to2(item.salePrice) }}