From a837624af068cb3a3455f66d9932fc1509e37b25 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 六月 2025 23:37:34 +0800
Subject: [PATCH] 2025-06-10

---
 src/tabviews/zshare/mutilform/index.jsx |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx
index ce72b24..6c3bdc4 100644
--- a/src/tabviews/zshare/mutilform/index.jsx
+++ b/src/tabviews/zshare/mutilform/index.jsx
@@ -707,6 +707,13 @@
       
       if (item.enter === 'tab' || item.enter === 'sub') {
         item.tabUuid = ''
+        if (item.enter === 'sub' && item.errTabField) {
+          if (item.errTabField === 'origin') {
+            item.errTabUuid = item.uuid
+          } else if (fieldMap.has(item.errTabField)) {
+            item.errTabUuid = fieldMap.get(item.errTabField).uuid
+          }
+        }
         if (item.tabField && fieldMap.has(item.tabField)) {
           item.tabUuid = fieldMap.get(item.tabField).uuid
         } else if (item.enter === 'tab') {
@@ -1561,10 +1568,11 @@
     return fields
   }
 
-  handleConfirm = (formId) => {
+  handleConfirm = (formId, errId) => {
     const { action } = this.props
     const { formlist, send_type, timestamp, n_id } = this.state
 
+    window.GLOB.errFocusId = ''
     // 琛ㄥ崟鎻愪氦鏃舵鏌ヨ緭鍏ュ�兼槸鍚︽纭�
     return new Promise((resolve, reject) => {
       this.props.form.validateFieldsAndScroll((err, values) => {
@@ -1691,6 +1699,7 @@
         })
 
         this.submitId = formId || ''
+        window.GLOB.errFocusId = errId || ''
 
         if (locals) {
           sessionStorage.setItem('local_' + action.uuid, JSON.stringify(locals))

--
Gitblit v1.8.0