From cc70c20d119327faad948216963ac1b4c964be60 Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期五, 26 十二月 2025 16:39:40 +0800
Subject: [PATCH] 天津双奇点-仓储物流相关问题修复

---
 src/views/inventoryManagement/receiptManagement/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/inventoryManagement/receiptManagement/index.vue b/src/views/inventoryManagement/receiptManagement/index.vue
index bc10ca0..4d8d8cb 100644
--- a/src/views/inventoryManagement/receiptManagement/index.vue
+++ b/src/views/inventoryManagement/receiptManagement/index.vue
@@ -169,8 +169,8 @@
             <el-table-column fixed="right" label="鎿嶄綔" width="100" align="center">
               <template #default="scope">
                 <el-button link type="primary" size="small" @click="openForm('edit', scope.row, 'manual');">缂栬緫</el-button>
-                <el-button link type="success" size="small" @click="showQRCode(scope.row,2)">鐢熸垚鏉″舰鐮�</el-button>
-                <el-button link type="success" size="small" @click="showERCode(scope.row,2)">鐢熸垚浜岀淮鐮�</el-button>
+                <!-- <el-button link type="success" size="small" @click="showQRCode(scope.row,2)">鐢熸垚鏉″舰鐮�</el-button>
+                <el-button link type="success" size="small" @click="showERCode(scope.row,2)">鐢熸垚浜岀淮鐮�</el-button> -->
               </template>
             </el-table-column>
           </el-table>
@@ -588,7 +588,7 @@
 const scanBarcodeInput = ref('');
 const barcodeDetail = ref({})
 // 鎵爜鍑芥暟
-const scanBarcode = (e) => {
+function scanBarcode (e){
   if(!e||!e.target||!e.target.tagName){
     return;
   }
@@ -639,6 +639,7 @@
 
 onMounted(() => {
   // 娣诲姞鎵爜鏋洃鍚簨浠�
+  document.removeEventListener('keypress',scanBarcode)
   document.addEventListener('keypress', scanBarcode)
   getList()
 })

--
Gitblit v1.9.3