From 667e480ba1225177adb83325d240463970390548 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期五, 15 三月 2024 13:05:02 +0800
Subject: [PATCH] 金额计算方式溢出问题
---
north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue b/north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue
index 5869d79..5b27678 100644
--- a/north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue
+++ b/north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue
@@ -540,7 +540,7 @@
list.forEach((item)=>{
countMoney += parseFloat(item.grossAmount)
})
- return countMoney
+ return parseFloat((countMoney).toFixed(2))
}
//瀵煎叆鍔熻兘
const importEvent = async () => {
--
Gitblit v1.8.0