king
2022-11-28 0ba276caaffedaf757b932f26aac86f695008175
src/tabviews/zshare/mutilform/index.jsx
@@ -35,6 +35,7 @@
    data: PropTypes.any,         // 表格数据
    BID: PropTypes.any,          // 主表ID
    BData: PropTypes.any,        // 主表数据
    unload: PropTypes.any,       // 下拉菜单不加载数据
    inputSubmit: PropTypes.func  // input回车提交
  }
@@ -45,7 +46,7 @@
  record = {}
  componentDidMount () {
    const { action } = this.props
    const { action, unload } = this.props
    let data = {}
    let BData = {}
@@ -506,6 +507,8 @@
    this.record = record
    this.setState({ formlist }, () => {
      if (unload) return
      if (action.setting && action.setting.focus && fieldMap.has(action.setting.focus)) {
        setTimeout(() => {
          MKEmitter.emit('mkFC', 'focus', fieldMap.get(action.setting.focus).uuid)