From 59c46888d53c7e79022dd9a50262d4a3a10ae8dc Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期一, 09 九月 2024 12:35:19 +0800
Subject: [PATCH] #
---
pages/mat/matSelected.vue | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/pages/mat/matSelected.vue b/pages/mat/matSelected.vue
index a0d2b69..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 = ""
})
@@ -101,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