From ae42515a4c0f1e6225ad8aa96887e6e3dc65c692 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期一, 17 三月 2025 09:20:51 +0800
Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb

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

diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue
index 215c0e7..ec42439 100644
--- a/src/views/doctor/check/index.vue
+++ b/src/views/doctor/check/index.vue
@@ -283,7 +283,7 @@
               
                     <template slot-scope="{ row, $index }">
                       <el-input  type="textarea" autosize size="mini" v-model="row.proResult" :ref="`input-${$index}`"
-                        @keyup.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)"
+                        @keydown.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)"
                         @blur="handleInputConfirm(row)" @input="vale"></el-input>
                     </template>
                   </el-table-column>
@@ -423,7 +423,7 @@
                     <!-- slot-scope="scope" -->
                     <template slot-scope="{ row, $index }">
                       <el-input  type="textarea" autosize size="mini" v-model="row.proResult" :ref="`input-${$index}`"
-                        @keyup.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)"
+                      @keydown.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)"
                         @blur="handleInputConfirm(row)" @input="vale"></el-input>
 
                       <!-- <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off"   :ref="`input-${scope.$index}-${scope.row.proResult}`"
@@ -1282,6 +1282,7 @@
     keyInputConfirm(event, currentRowIndex) {
       // 闃绘榛樿鍥炶溅琛屼负锛屾瘮濡傛彁浜よ〃鍗�
       event.preventDefault();
+     event.stopPropagation()
       const nextRowIndex = currentRowIndex + 1; // 璁$畻涓嬩竴琛岀储寮�
 
       // 濡傛灉涓嬩竴琛屽瓨鍦紝鍒欒仛鐒﹁琛岀殑杈撳叆妗�
@@ -1293,7 +1294,7 @@
             // 澶勭悊 ref 鍙兘涓烘暟缁勭殑鎯呭喌锛堝鍔ㄦ�佹覆鏌擄級
             const target = Array.isArray(nextInput) ? nextInput[0] : nextInput;
             target.focus(); // 鑱氱劍杈撳叆妗�
-            target.select(); // 鍙�夛細閫変腑鏂囨湰
+            // target.select(); // 鍙�夛細閫変腑鏂囨湰
           }
         });
       }

--
Gitblit v1.8.0