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 |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/pages/basics/stockCheck.vue b/pages/basics/stockCheck.vue
index c350986..b8f1053 100644
--- a/pages/basics/stockCheck.vue
+++ b/pages/basics/stockCheck.vue
@@ -76,10 +76,10 @@
 				<view class="revise-box">
 					<view class="revise-box-top">
 						<view class="color-block-blue"></view>
-						<text class="title">缁勬墭鏁伴噺</text>
+						<text class="title">鐩樼偣澶嶆牳</text>
 					</view>
 					<view class="text-box">
-						<text>鍙粍鏁伴噺锛歿{enableQty}}</text>
+						<text>澶嶆牳鏁伴噺锛歿{enableQty}}</text>
 					</view>
 					<view class="changeBox">
 						<view class="num-box">
@@ -278,7 +278,12 @@
 
 			},
 			confirm() {
-				this.matList[this.rowNum].anfme = this.count
+				let arr = this.matList[this.rowNum].origin.split("/")
+				console.log(arr);
+				let mainAnfme = this.count * parseFloat(arr[1]) * parseFloat(arr[0])
+				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()
 			},
 			resst() {
@@ -364,7 +369,6 @@
 
 	.title {
 		display: inline-block;
-		float: left;
 		font-size: 34rpx;
 		font-weight: 700;
 		height: 50rpx;

--
Gitblit v1.9.1