From c7e53ce43552cf1ce31b86b6bf8a372e541efe19 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期五, 21 十一月 2025 15:23:01 +0800
Subject: [PATCH] 1

---
 pages/rece/other.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/pages/rece/other.vue b/pages/rece/other.vue
index b17ad86..d1506bf 100644
--- a/pages/rece/other.vue
+++ b/pages/rece/other.vue
@@ -13,10 +13,7 @@
 				<text class='cuIcon-close text-gray margin-right-xs' v-show="barcode!==''" @click="clearBarcode"></text>
 				<text class='cuIcon-search text-blue' @click="search"></text>
 			</view>
-
 		</form>
-
-
 		<view class="padding-lr margin-top-sm">
 			<block v-for="(item, index) in list" :key="index">
 				<view class="cu-list det menu sm-border margin-bottom-sm " :class="[item.barcode===barcode&&'act']"
@@ -138,7 +135,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 +218,7 @@
 					matnrCode: this.barcode
 				})
 				if (code === 200) {
-					this.list = [...data]
+					this.list = data
 				} else {
 					uni.showToast({
 						title: msg,
@@ -251,6 +248,9 @@
 			clear() {
 				this.list = []
 				this.barcode = ''
+				this.asncode = ''
+				this.whAreaId = ''
+				this.range = []
 			},
 			next() {
 				if (this.list.length) {
@@ -333,7 +333,7 @@
 					}
 				}
 			},
-			async getRece() {
+			async getRece() {				
 				const {
 					code,
 					data,

--
Gitblit v1.9.1