From bbc93d7a5c22bf006502f2515e2200cdfe8f6a62 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 一月 2026 19:03:03 +0800
Subject: [PATCH] 双奇点app: 1.扫码改成可连续扫码,加一个导出excel功能

---
 src/pages/index.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/pages/index.vue b/src/pages/index.vue
index c83160f..514c546 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -11,7 +11,7 @@
 		<view class="hero-section">
 			<view class="bg-img">
 				<view class="hero-content">
-					<text class="hero-title">鍙屽鐐�</text>
+					<text class="hero-title">澶╂触鍙屽鐐�</text>
 				</view>
 				<view class="hero-wave"></view>
 			</view>
@@ -46,6 +46,7 @@
 			</view>
 		</view>
 		<GoodsDetailPopup ref="refGoodsDetailPopup"></GoodsDetailPopup>
+		<ScanListPopup ref="refScanListPopup"></ScanListPopup>
 	</view>
 </template>
 
@@ -56,6 +57,7 @@
 import modal from "@/plugins/modal";
 import useUserStore from "@/store/modules/user";
 import GoodsDetailPopup from './components/GoodsDetailPopup.vue';
+import ScanListPopup from './components/ScanListPopup.vue';
 
 const userStore = useUserStore()
 const factoryId = ref('');
@@ -402,7 +404,7 @@
 			});
 			break
 		case '浜у搧鎵爜':
-			scanQRCode()
+			openScanListPopup()
 			break
 		default:
 			uni.showToast({
@@ -480,6 +482,14 @@
 
 //璋堟鐩稿叧
 const refGoodsDetailPopup = ref(null)
+const refScanListPopup = ref(null)
+
+//鎵撳紑鎵爜鍒楄〃寮圭獥
+const openScanListPopup = () => {
+	if (refScanListPopup.value) {
+		refScanListPopup.value.open()
+	}
+}
 
 
 //鏌ョ湅璇︽儏

--
Gitblit v1.9.3