king
2025-06-10 a837624af068cb3a3455f66d9932fc1509e37b25
src/tabviews/zshare/mutilform/index.jsx
@@ -166,6 +166,17 @@
      let key = item.field.toLowerCase()
      // positecgroup 表单隐藏
      if (item.tooltip && /@[a-z0-9_]+@/.test(item.tooltip)) {
        let field = item.tooltip.replace(/@|\s/ig, '').toLowerCase()
        if (data[field] === 'N') {
          item.hidden = true
        }
        item.tooltip = ''
      }
      if (item.type === 'funcvar') {
        readin = false
        item.readin = false
@@ -1561,7 +1572,7 @@
    const { action } = this.props
    const { formlist, send_type, timestamp, n_id } = this.state
    window.CACHE.errFocusId = ''
    window.GLOB.errFocusId = ''
    // 表单提交时检查输入值是否正确
    return new Promise((resolve, reject) => {
      this.props.form.validateFieldsAndScroll((err, values) => {
@@ -1688,7 +1699,7 @@
        })
        this.submitId = formId || ''
        window.CACHE.errFocusId = errId || ''
        window.GLOB.errFocusId = errId || ''
        if (locals) {
          sessionStorage.setItem('local_' + action.uuid, JSON.stringify(locals))