From 1d20810d1c2f23ffccf6ccf5ec87a5e0b306d188 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 02 十一月 2023 10:40:32 +0800
Subject: [PATCH] #
---
pages/mat/matSelected.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/pages/mat/matSelected.vue b/pages/mat/matSelected.vue
index 61384d4..cb43608 100644
--- a/pages/mat/matSelected.vue
+++ b/pages/mat/matSelected.vue
@@ -11,7 +11,7 @@
</view>
<view class="form-item">
<view class="form-item-desc"><text>鐗╂祦鏂瑰悜</text></view>
- <view class="form-item-content"><text>{{mat.string1}}</text></view>
+ <view class="form-item-content"><text>{{mat.logisticsTo}}</text></view>
</view>
<view class="form-item">
<view class="form-item-desc"><text>鍒嗙被</text></view>
@@ -36,7 +36,7 @@
<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='0.01' color="#747474" @change="changeValue" />
+ <uni-number-box :value="mat.anfme" :max="99999999" :step='1.0' color="#747474" @change="changeValue" />
</view>
</view>
</view>
@@ -56,6 +56,7 @@
maktx: null,
specs: null,
batch: null,
+ orderNo: null,
anfme: 0,
},
baseIP:'',
@@ -74,6 +75,8 @@
// 鐩戝惉acceptDataFromOpenerPage浜嬩欢锛岃幏鍙栦笂涓�椤甸潰閫氳繃eventChannel浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�
eventChannel.on('mat', function(data) {
that.mat = data.data
+ console.log(data.data)
+ console.log(that.mat)
that.mat.anfme = 0
})
@@ -87,14 +90,16 @@
},
changeValue(value) {
- this.mat.anfme = value
+ this.mat.anfme = value
},
back() {
+ console.log(this.mat)
if (this.mat.anfme === 0) {
uni.showToast({title: '璇疯緭鍏ユ暟閲�', icon: "none", position: 'top'});
return;
}
this.getOpenerEventChannel().emit('matList', {data: this.mat});
+ console.log(this.mat)
uni.navigateBack({
})
--
Gitblit v1.9.1