From e58316187232a0489e9e004bc038f404ca7f5948 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 23 七月 2025 10:03:43 +0800
Subject: [PATCH] #

---
 pages/basics/stockCheck.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pages/basics/stockCheck.vue b/pages/basics/stockCheck.vue
index c036b85..b8f1053 100644
--- a/pages/basics/stockCheck.vue
+++ b/pages/basics/stockCheck.vue
@@ -279,9 +279,10 @@
 			},
 			confirm() {
 				let arr = this.matList[this.rowNum].origin.split("/")
+				console.log(arr);
 				let mainAnfme = this.count * parseFloat(arr[1]) * parseFloat(arr[0])
-				console.log(mainAnfme);
-				this.matList[this.rowNum].anfme = mainAnfme
+				let flooredNum = Math.floor(mainAnfme * 10000) / 10000; // 鎴柇鍒板皬鏁扮偣鍚�4浣�
+				this.matList[this.rowNum].anfme = flooredNum
 				this.matList[this.rowNum].weight = this.count
 				this.$refs.revise.close()
 			},

--
Gitblit v1.9.1