king
2022-05-09 28ebe609e47b28794450cefc72d3e0f62fd904e7
src/templates/sharecomponent/actioncomponent/actionform/index.jsx
@@ -30,7 +30,8 @@
    setting: PropTypes.object,   // 页面设置
    formlist: PropTypes.any,     // 表单信息
    card: PropTypes.any,         // 按钮信息
    inputSubmit: PropTypes.any   // 回车提交事件
    inputSubmit: PropTypes.func, // 回车提交事件
    updRecord: PropTypes.func
  }
  state = {
@@ -126,6 +127,8 @@
        console.warn('表单focus失败!')
      }
    }
    this.props.updRecord && this.props.updRecord(this.record)
  }
  getMutilOptions = () => {
@@ -385,6 +388,8 @@
      if (!['funcbutton', 'excelIn', 'excelOut'].includes(value)) {
        _fieldval.position = 'toolbar'
      }
      this.props.updRecord && this.props.updRecord(this.record)
    } else if (key === 'position') {
      if (value === 'grid') {
        _fieldval.Ot = 'requiredSgl'
@@ -439,6 +444,8 @@
      }
    } else if (key === 'intertype') {
      this.record.sysInterface = 'false'
      this.props.updRecord && this.props.updRecord(this.record)
    } else if (key === 'sysInterface') {
      if (value === 'true') {
        _fieldval.interface = window.GLOB.mainSystemApi || ''