From 6680177b03517192349b20ef287875d0384b0cca Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期五, 03 一月 2025 16:37:00 +0800
Subject: [PATCH] #

---
 pages/mat/matSelected.vue |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/pages/mat/matSelected.vue b/pages/mat/matSelected.vue
index 8f6d132..5210a1f 100644
--- a/pages/mat/matSelected.vue
+++ b/pages/mat/matSelected.vue
@@ -7,7 +7,7 @@
 			</view>
 			<view class="form-item">
 				<view class="form-item-desc"><text>鍟嗗搧鍚嶇О</text></view>
-				<view class="form-item-content"><text>{{mat.maktx}}</text></view>
+				<view class="form-item-content"><text style="word-wrap:break-word">{{mat.maktx}}</text></view>
 			</view>
 			<view class="form-item">
 				<view class="form-item-desc"><text>瑙勬牸</text></view>
@@ -22,9 +22,17 @@
 				</view>
 			</view>
 			<view class="form-item">
+				<view class="form-item-desc"><text>鍖呰鍙�</text></view>
+				<view class="form-item-content">
+					<view class="form-input">
+						<input type="text" v-model="mat.itemNum">
+					</view>
+				</view>
+			</view>
+			<view class="form-item">
 				<view class="form-item-desc"><text>鏁伴噺</text></view>
 				<view class="form-item-content">
-					<uni-number-box :value="mat.anfme" :max="99999999" :step='1' color="#747474" @change="changeValue" />
+					<uni-number-box :value="mat.anfme" :max="99999999" :step='0.001' color="#747474" @change="changeValue" />
 				</view>
 			</view>
 		</view>
@@ -44,7 +52,10 @@
 					maktx: null,
 					specs: null,
 					batch: null,
+					units: null,
+					memo: null,
 					anfme: 0,
+					itemNum:''
 				},
 				baseIP:'',
 				basePORT:'',
@@ -63,6 +74,7 @@
 			eventChannel.on('mat', function(data) {
 				that.mat = data.data
 				that.mat.anfme = 0
+				that.mat.itemNum = ""
 			})
 			
 			
@@ -78,7 +90,6 @@
 				this.mat.anfme = value
 			},
 			back() {
-				console.log(this.mat);
 				if (this.mat.anfme === 0) {
 					uni.showToast({title: '璇疯緭鍏ユ暟閲�', icon: "none", position: 'top'});
 					return;
@@ -102,12 +113,13 @@
 		box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.2) ;
 	}
 	.form-item {
-		height: 100rpx;
-		line-height: 100rpx;
+		min-height: 100rpx;
+		line-height: 1.3;
 		border-bottom: 1px solid #DCDFE6;
 		margin-left: 40rpx;
 		display: flex;
 		align-items: center;
+		word-wrap: break-word;
 	}
 	.form-item-desc {
 		width: 30%;

--
Gitblit v1.9.1