From f2d526be4e08ebdd9317d74a191ee9bd464a00e6 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Mon, 27 Sep 2021 17:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/components/property/prestoreAccount2/prestoreAccount2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/components/property/prestoreAccount2/prestoreAccount2.js b/public/components/property/prestoreAccount2/prestoreAccount2.js index a6f86ea65..4a246d170 100644 --- a/public/components/property/prestoreAccount2/prestoreAccount2.js +++ b/public/components/property/prestoreAccount2/prestoreAccount2.js @@ -86,6 +86,7 @@ }, _computedAmount: function(){ let amount = vc.component.prestoreAccount2Info.receivedAmount - vc.component.prestoreAccount2Info.totalAmount; + amount = amount.toFixed(2); vc.component.prestoreAccount2Info.amount = amount < 0 ? 0 : amount; }, clearPrestoreAccount2Info: function () {