From e7c423f807a03b2e4f61afd43124992acb28f06d Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期二, 03 九月 2024 09:06:35 +0800
Subject: [PATCH] #
---
pages/mat/matSelected.vue | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/pages/mat/matSelected.vue b/pages/mat/matSelected.vue
index a0d2b69..6bade45 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>
@@ -18,6 +18,14 @@
<view class="form-item-content">
<view class="form-input">
<input type="text" v-model="mat.batch">
+ </view>
+ </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>
@@ -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