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) }}