From 0e686b26dc3000eb2602929ba03c8429e9aa1517 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 24 六月 2024 12:38:41 +0800
Subject: [PATCH] #
---
pages/phyz/mat/matSelected.vue | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/pages/phyz/mat/matSelected.vue b/pages/phyz/mat/matSelected.vue
index 5ced9f1..4d61aa5 100644
--- a/pages/phyz/mat/matSelected.vue
+++ b/pages/phyz/mat/matSelected.vue
@@ -17,7 +17,7 @@
<view class="form-item-desc"><text>閿�鍞崟鍙�</text></view>
<view class="form-item-content">
<view class="form-input">
- <input type="text" v-model="mat.batch">
+ <input type="text" v-model="mat.threeCode">
</view>
</view>
</view>
@@ -25,14 +25,14 @@
<view class="form-item-desc"><text>璁㈠崟鍙�</text></view>
<view class="form-item-content">
<view class="form-input">
- <input type="text" v-model="mat.batch">
+ <input type="text" v-model="mat.orderNo">
</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.count" :max="99999999" :step='1' color="#747474" @change="changeValue" />
</view>
</view>
</view>
@@ -56,7 +56,7 @@
maktx: null,
specs: null,
batch: null,
- anfme: 0,
+ count: 0,
},
baseIP:'',
basePORT:'',
@@ -77,7 +77,8 @@
eventChannel.on('item', function(data) {
console.log(data);
that.mat = data.item
- that.mat.anfme = 0
+ that.mat['count'] = 0
+ that.mat['orderNo'] = ''
})
// #ifdef APP
setInterval(()=>{
@@ -109,10 +110,10 @@
},
changeValue(value) {
- this.mat.anfme = value
+ this.mat.count = value
},
back() {
- if (this.mat.anfme === 0) {
+ if (this.mat.count === 0) {
uni.showToast({title: '璇疯緭鍏ユ暟閲�', icon: "none", position: 'top'});
return;
}
--
Gitblit v1.9.1