From 115c627eedd01026d441a6d51a039058ca3430a6 Mon Sep 17 00:00:00 2001 From: chenghuan Date: Wed, 21 Jan 2026 16:27:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BB=93=E7=AE=97?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=87=91=E9=A2=9D=E8=AE=A1=E7=AE=97=E7=B2=BE?= =?UTF-8?q?=E5=BA=A6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages/bookShop/settlement.vue | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index f979598..e59f3b6 100644 --- a/manifest.json +++ b/manifest.json @@ -13,8 +13,8 @@ } ], "sassImplementationName" : "node-sass", - "versionName" : "1.2.82", - "versionCode" : 1282, + "versionName" : "1.2.83", + "versionCode" : 1283, "app-plus" : { "compatible" : { "ignoreVersion" : true diff --git a/pages/bookShop/settlement.vue b/pages/bookShop/settlement.vue index d16de39..c4dd30f 100644 --- a/pages/bookShop/settlement.vue +++ b/pages/bookShop/settlement.vue @@ -809,8 +809,9 @@ export default { // } // } - price = (item.productAmount * item.price).toFixed(2); + price = (item.productAmount * item.price); allprice += Number(price); + allprice = parseFloat(allprice.toFixed(2)); }); this.totalPrice = allprice; // if (this.youhuiContent.id != undefined) { @@ -937,7 +938,7 @@ export default { orderMoney: this.totalPrice, //订单金额 vipDiscountAmount: this.vipPrice, //折扣金额 districtMoney: this.districtAmount, //折扣金额 - realMoney: this.realPrice, //实收金额 + realMoney: this.realPrice.toFixed(2), //实收金额 shippingMoney: this.farePrice, //运费 couponId: youPre.id, //优惠券Id isSend: this.isSend,