From 493d4fd081f7d2df92ecca04d3eb50d142653726 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 19 十一月 2024 17:00:18 +0800
Subject: [PATCH] #

---
 pages/warehouse/outMats.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/pages/warehouse/outMats.vue b/pages/warehouse/outMats.vue
index ca39b00..79f7a60 100644
--- a/pages/warehouse/outMats.vue
+++ b/pages/warehouse/outMats.vue
@@ -47,14 +47,16 @@
 						<text class="desc_name">璁㈠崟鍙凤細</text>
 						<text class="desc_connect">{{item.orderNo}}</text>
 					</view>
-					<view>
+					<view style="display: flex;">
 						<text class="desc_name">鏁伴噺锛�</text>
-						<text class="desc_connect">{{item.anfme}}</text>
+						<uni-number-box :value="item.anfme" :step='1' :min="0" :max="item.maxCount" color="#747474" @change="changeValue(item,index,item.anfme)" />
+						<!-- <text class="desc_connect">{{item.anfme}}</text> -->
+						
 					</view>
 				</view>
-				<view class="list_fix">
+				<!-- <view class="list_fix">
 					<uni-icons type="compose" color="#9add8b" size="24" @click="revise(item,i)"></uni-icons>
-				</view>
+				</view> -->
 			</view>
 		</view>
 		
@@ -121,6 +123,9 @@
 			back() {
 				uni.navigateBack({})
 			},
+			changeValue(item,index,value) {
+				this.dataList[index].anfme = value
+			},
 			checkboxChange(e) {
 				let items = this.dataList,
 				values = e.matnr;
@@ -146,6 +151,7 @@
 						if (res.code === 200) {
 							for (let k of res.data) {
 								k['checked'] = true
+								k['maxCount'] = k.anfme
 							}
 							_this.dataList = res.data
 						}

--
Gitblit v1.9.1