king
2020-03-04 54f2a3e1e54a6d8289ccb8d5de158f23150d7a5e
src/templates/formtabconfig/index.jsx
@@ -375,6 +375,10 @@
    const { config } = this.state
    let _inputfields = []
    let _linkableFields = []
    let _linksupFields = [{
      value: '',
      text: '空'
    }]
    let _formfields = []
    // 设置下拉菜单可关联字段
@@ -392,6 +396,8 @@
    }
    let uniq = new Map()
    uniq.set(card.field, true)
    _formfields.forEach(item => {
      if (item.field && !uniq.has(item.field)) {
        uniq.set(item.field, true)
@@ -399,6 +405,10 @@
        _linkableFields.push({
          value: item.field,
          text: item.label + ' (表单)'
        })
        _linksupFields.push({
          value: item.field,
          text: item.label
        })
      }
    })
@@ -419,7 +429,7 @@
    this.setState({
      modaltype: 'search',
      card: card,
      formlist: getModalForm(card, _inputfields, _linkableFields)
      formlist: getModalForm(card, _inputfields, _linkableFields, _linksupFields)
    })
  }