From b9d085099f00a0d38a0371c1f3fa9a57c9ce4d80 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期六, 19 七月 2025 14:06:32 +0800 Subject: [PATCH] # --- pages/rece/other.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/rece/other.vue b/pages/rece/other.vue index 8a052f6..0d7bdd3 100644 --- a/pages/rece/other.vue +++ b/pages/rece/other.vue @@ -3,7 +3,7 @@ <form> <view class="cu-form-group margin-top" v-show="!isconfirm"> <view class="title">ASN鍗曞彿</view> - <input placeholder="璇锋壂鎻廇SN鍗曞彿" v-model="asncode" @input="search" focus></input> + <input placeholder="璇锋壂鎻廇SN鍗曞彿" v-model="asncode" focus></input> <text class='cuIcon-close text-gray margin-right-xs' v-show="asncode!==''" @click="clearCode"></text> <!-- <text class='cuIcon-search text-blue' @click="search"></text> --> </view> @@ -138,7 +138,7 @@ </view> </view> </view> --> - <view class="cu-item grid col-2"> + <view class="cu-item grid col-2" v-if="item.extendFields"> <view class="item" v-for="el in dynamicFields" :key="el.id"> <text class="text-black">{{el.fieldsAlise}}: <text class="text-grey ">{{item.extendFields[el.fields]}}</text></text> @@ -221,7 +221,7 @@ matnrCode: this.barcode }) if (code === 200) { - this.list = [...data] + this.list = data } else { uni.showToast({ title: msg, @@ -251,6 +251,9 @@ clear() { this.list = [] this.barcode = '' + this.asncode = '' + this.whAreaId = '' + this.range = [] }, next() { if (this.list.length) { @@ -333,7 +336,7 @@ } } }, - async getRece() { + async getRece() { const { code, data, -- Gitblit v1.9.1