From 6332aba37af20b12b8c3c768ac1416f7e1a5fa8c Mon Sep 17 00:00:00 2001 From: lsh <lsh@163.com> Date: 星期二, 15 四月 2025 15:52:36 +0800 Subject: [PATCH] # --- pages/basics/matQuery.vue | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/pages/basics/matQuery.vue b/pages/basics/matQuery.vue index 091f889..846cf75 100644 --- a/pages/basics/matQuery.vue +++ b/pages/basics/matQuery.vue @@ -3,11 +3,11 @@ <view> <view class="container"> <view class="text-box"> - <view class="text-title"><text>鍟嗗搧缂栫爜</text></view> + <view class="text-title"><text>鍝佸彿</text></view> <view class="text-title"><text>{{matData.matnr}}</text></view> </view> <view class="text-box"> - <view class="text-title"><text>鍟嗗搧鍚嶇О</text></view> + <view class="text-title"><text>鍝佸悕</text></view> <view class="text-title">{{matData.maktx}}</view> </view> <view class="text-box"> @@ -15,14 +15,22 @@ <view class="text-title">{{matData.specs}}</view> </view> <view class="text-box"> - <view class="text-title"><text>鎵瑰彿</text></view> + <view class="text-title"><text>宸ュ簭</text></view> + <view class="text-title">{{matData.sku}}</view> + </view> + <view class="text-box"> + <view class="text-title"><text>鎵规</text></view> <view class="text-title"><input type="text" v-model="matData.batch"></view> + </view> + <view class="text-box"> + <view class="text-title"><text>澶囨敞</text></view> + <view class="text-title"><input type="text" v-model="matData.memo"></view> </view> <view class="text-box"> <view class="text-title"><text>鏁伴噺</text></view> <view class="text-title"> <view> - <uni-number-box v-model="matData.anfme" :max="9999" color="#747474" @change="changeValue"/> + <uni-number-box :value="matData.anfme" :max="99999999" color="#747474" @change="changeValue"/> </view> </view> </view> @@ -62,11 +70,10 @@ // 鐩戝惉acceptDataFromOpenerPage浜嬩欢锛岃幏鍙栦笂涓�椤甸潰閫氳繃eventChannel浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹� eventChannel.on('matData', function(data) { that.matData = data.data + that.matData.anfme = 0 }) - }, - onShow() { - this.matData.anfme = 0 + }, methods: { blur() { @@ -75,8 +82,8 @@ focus() { }, - changeValue() { - + changeValue(value) { + this.matData.anfme = value }, back() { if (this.matData.anfme === 0) { -- Gitblit v1.9.1