From e77d7e22204728c7474db3767a4735e0a121641a Mon Sep 17 00:00:00 2001 From: xuxy <1059738716@qq.com> Date: 星期六, 09 十一月 2024 21:49:21 +0800 Subject: [PATCH] update 计数精度问题 --- sub_pages/customer/shopping/confirm.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sub_pages/customer/shopping/confirm.vue b/sub_pages/customer/shopping/confirm.vue index 32714a8..a86ff82 100644 --- a/sub_pages/customer/shopping/confirm.vue +++ b/sub_pages/customer/shopping/confirm.vue @@ -187,9 +187,9 @@ .current_transport.fee || 0) || 0) .toFixed(2) - // if (total >= this.cache_coupon.minOrderAmount) { - // return this.cache_coupon.couponDiscountValue || 0 - // } + // 不考虑打包费了 + total = ((this.dto.totalMemberAmount || this.dto.totalAmount || 0)) + .toFixed(2) uni.navigateTo({ url: `/sub_pages/customer/coupon/coupon-self?source=shopping&paymoney=${total}` -- Gitblit v1.9.3