From d2e176fbee4edcca177301374baee508c67b9b45 Mon Sep 17 00:00:00 2001
From: DESKTOP-LMJ82IJ\Eno <creaycat@gmail.com>
Date: 星期六, 19 四月 2025 15:04:50 +0800
Subject: [PATCH] 新增入库上架功能
---
pages/listing/labour.vue | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/pages/listing/labour.vue b/pages/listing/labour.vue
index c22cac1..6c7eeb2 100644
--- a/pages/listing/labour.vue
+++ b/pages/listing/labour.vue
@@ -31,9 +31,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">
@@ -89,13 +89,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 +132,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