From 46e301a51e55d4fc55f474d2b773b6a1634b63e2 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期六, 01 十一月 2025 16:44:17 +0800
Subject: [PATCH] fix: bug

---
 src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue b/src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue
index b594f6c..fe6fff6 100644
--- a/src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue
+++ b/src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue
@@ -140,6 +140,7 @@
   ProFormTextArea,
 } from '@bole-core/components';
 import { EnumEnterpriseWalletAccess } from '@/constants';
+import { toRound } from '@/utils';
 
 defineOptions({
   name: 'EditAccountInfoDialog',
@@ -175,7 +176,9 @@
 const settlementAmount = computed(() => sumSettlementAmount());
 
 function sumSettlementAmount() {
-  return (form.value.timeoutFee ?? 0) + (form.value.serviceFee ?? 0) + (form.value.otherFee ?? 0);
+  return toRound(
+    (form.value.timeoutFee ?? 0) + (form.value.serviceFee ?? 0) + (form.value.otherFee ?? 0)
+  );
 }
 
 function onTimeoutHoursChange(val: number) {

--
Gitblit v1.9.1