From 0c9f714c32e4bc9e8eaf972d860d2d9f2a1e6763 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期二, 04 十一月 2025 10:24:05 +0800
Subject: [PATCH] 核磅录入磅差调整过大后增加弹框二次确认

---
 components/scan/scan.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/components/scan/scan.vue b/components/scan/scan.vue
index 7940f65..e1b9198 100644
--- a/components/scan/scan.vue
+++ b/components/scan/scan.vue
@@ -26,9 +26,12 @@
 
 				console.log('璁惧鍝佺墝:', brand);
 				console.log('璁惧鍨嬪彿:', model);
-
+				if (brand.indexOf("DS-MDT202") != -1) {
+					action = "android.intent.ACTION_SCAN_OUTPUT";
+					extraKey = "barcode";
+				}
 				// Zebra璁惧閰嶇疆
-				if (brand.indexOf("ZEBRA") != -1 && model.indexOf("TC2") != -1) {
+				else if (brand.indexOf("ZEBRA") != -1 && model.indexOf("TC2") != -1) {
 					action = "com.zebra.scan";
 					extraKey = "com.motorolasolutions.emdk.datawedge.data_string";
 				}

--
Gitblit v1.9.3