king
2023-02-22 80e0c5eb7648e77cae844e4628b433704e0fb865
src/menu/datasource/verifycard/index.jsx
@@ -555,6 +555,25 @@
    const { config, mainSearch } = this.props
    const { activeKey, setting, columns, subColumns, scripts } = this.state
    if (config.subtype === 'dualdatacard') {
      let arr = columns.map(col => col.field.toLowerCase())
      let _arr = []
      subColumns.forEach(col => {
        if (arr.includes(col.field.toLowerCase())) {
          _arr.push(col.field)
        }
      })
      if (_arr.length > 0) {
        notification.warning({
          top: 92,
          message: '子表中字段' + _arr.join('、') + '与主表字段重复!',
          duration: 5
        })
        return Promise.reject()
      }
    }
    return new Promise((resolve, reject) => {
      if (activeKey === 'setting') {
        this.settingForm.handleConfirm().then(res => {