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 | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/pages/index.vue b/src/pages/index.vue
index 1d449b0..514c546 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -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