From 185e8e364a18370adb689a57c829a6efeaf9fe8a Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期四, 23 十月 2025 09:31:03 +0800
Subject: [PATCH] 增加扫码设备的扫码配置文件代码
---
pages/wareHouse/nuclearScale/createwriteoffform.vue | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/pages/wareHouse/nuclearScale/createwriteoffform.vue b/pages/wareHouse/nuclearScale/createwriteoffform.vue
index 74512c1..8ac0329 100644
--- a/pages/wareHouse/nuclearScale/createwriteoffform.vue
+++ b/pages/wareHouse/nuclearScale/createwriteoffform.vue
@@ -567,21 +567,21 @@
const selectedIndex = e.target.value;
const selectedCustomer = storage[selectedIndex];
- // // 妫�鏌ユ槸鍚﹂�夋嫨浜嗙浉鍚岀殑瀹㈡埛
- // if (code === "customerName1" && this.selClientIndex2 === selectedIndex) {
- // uni.showToast({
- // title: "涓嶈兘閫夋嫨鐩稿悓鐨勫鎴�",
- // icon: "none",
- // });
- // return;
- // }
- // if (code === "customerName2" && this.selClientIndex1 === selectedIndex) {
- // uni.showToast({
- // title: "涓嶈兘閫夋嫨鐩稿悓鐨勫鎴�",
- // icon: "none",
- // });
- // return;
- // }
+ // 妫�鏌ユ槸鍚﹂�夋嫨浜嗙浉鍚岀殑瀹㈡埛
+ if (code === "customerName1" && this.selClientIndex2 === selectedIndex) {
+ uni.showToast({
+ title: "涓嶈兘閫夋嫨鐩稿悓鐨勫鎴�",
+ icon: "none",
+ });
+ return;
+ }
+ if (code === "customerName2" && this.selClientIndex1 === selectedIndex) {
+ uni.showToast({
+ title: "涓嶈兘閫夋嫨鐩稿悓鐨勫鎴�",
+ icon: "none",
+ });
+ return;
+ }
if (code === "customerName2") {
this.selClientIndex2 = selectedIndex;
--
Gitblit v1.9.3