From 6be8b9f43be3670473ddfaebafe18a1be644ca1d Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期一, 05 五月 2025 16:06:14 +0800
Subject: [PATCH] 组托问题修复

---
 pages/listing/labour.vue |   19 +++++--------------
 1 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/pages/listing/labour.vue b/pages/listing/labour.vue
index c22cac1..65d16ca 100644
--- a/pages/listing/labour.vue
+++ b/pages/listing/labour.vue
@@ -17,9 +17,6 @@
 				<text class='cuIcon-search text-blue' @click="search"></text>
 			</view>
 		</form>
-
-
-
 		<view class="cu-list det menu sm-border  padding">
 			<block v-for="(item, index) in list" :key="index">
 				<view class="cu-bar bg-white solid-bottom margin-top-sm">
@@ -31,9 +28,9 @@
 							{{`${item.maktx}`}}
 						</view>
 					</view>
-					<!-- 	<view class="action" >
+					<view class="action">
 						<text @click="remove(index)" class="cuIcon-close text-red" style="font-size: 24px;"></text>
-					</view> -->
+					</view>
 				</view>
 
 				<view class="cu-item">
@@ -53,7 +50,6 @@
 						<text class="text-grey ">{{item.barcode}}</text>
 					</view>
 				</view>
-
 				<view class="cu-item">
 					<view class="content">
 						<text class="text-black">渚涘簲鍟嗘壒娆�:</text>
@@ -62,7 +58,6 @@
 						<text class="text-grey ">{{item.splrBatch}}</text>
 					</view>
 				</view>
-
 				<view class="cu-item">
 					<view class="content">
 						<text class="text-black">搴撳瓨鎵规:</text>
@@ -71,8 +66,6 @@
 						<text class="text-grey ">{{item.batch}}</text>
 					</view>
 				</view>
-
-
 				<view class="cu-item">
 					<view class="content">
 						<text class="text-black">鏀惰揣鏁伴噺:</text>
@@ -89,13 +82,10 @@
 			<view class="title">搴撲綅鐮�</view>
 			<input placeholder="璇锋壂鎻忓簱浣嶇爜" v-model="locCode"></input>
 		</view>
-
-
 		<view class="cu-bar btn-group foot">
 			<button class="cu-btn text-blue line-blue shadow" @click="clear">娓呯┖</button>
 			<button class="cu-btn bg-blue shadow-blur" @click="confirm">涓婃灦</button>
 		</view>
-
 	</view>
 </template>
 
@@ -135,8 +125,9 @@
 					matnrCode: this.barcode
 				})
 				if (code === 200) {
-					const find = this.list.find(el => el.id === data.id);
-					!find && this.list.push(data)
+					// const find = this.list.find(el => el.id === data.id);
+					// !find &&
+					 this.list.push(data)
 				} else {
 					uni.showToast({
 						title: msg,

--
Gitblit v1.9.1