From b92a161c6ad99495a85e32d8ad4afe9c6d82815d Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期五, 07 十一月 2025 13:24:16 +0800
Subject: [PATCH] 保留小数点后两位

---
 pages/listing/matnrPalletising.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pages/listing/matnrPalletising.vue b/pages/listing/matnrPalletising.vue
index 2419bac..50618e4 100644
--- a/pages/listing/matnrPalletising.vue
+++ b/pages/listing/matnrPalletising.vue
@@ -95,7 +95,7 @@
 					<view class="cu-item">
 						<view class="content">
 							<text class="text-black">鍙粍鐩樻暟閲�: <text
-									class="text-grey ">{{item.anfme - item.workQty}}</text></text>
+									class="text-grey ">{{item.anfme - item.workQty - item.qty}}</text></text>
 						</view>
 						
 					</view>
@@ -245,7 +245,11 @@
 					barcode: this.container
 				})
 				if (code === 200) {
-					this.list = data
+					uni.showToast({
+						title: msg,
+						icon: "success",
+						position: 'top'
+					})
 				} else {
 					uni.showToast({
 						title: msg,

--
Gitblit v1.9.1