From 0d3ecfe8b2dc6b707b60d1e64b6f9f9c7c33bbd3 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期三, 18 六月 2025 17:22:34 +0800 Subject: [PATCH] # --- pages/basics/stockCheck.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/basics/stockCheck.vue b/pages/basics/stockCheck.vue index c036b85..c693ccb 100644 --- a/pages/basics/stockCheck.vue +++ b/pages/basics/stockCheck.vue @@ -280,8 +280,8 @@ confirm() { let arr = this.matList[this.rowNum].origin.split("/") 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