king
2023-11-03 88f178df654b08411470a7eab75b3d5fed8817c0
src/menu/components/table/edit-table/columns/editColumn/index.jsx
@@ -30,6 +30,7 @@
class EdiTableColumn extends Component {
  static propTpyes = {
    column: PropTypes.object,
    wrap: PropTypes.object,
    columns: PropTypes.array,
    fields: PropTypes.array,
    submitCol: PropTypes.func,  // 提交事件
@@ -76,7 +77,7 @@
        } else if (this.record.editType === 'date') {
          _options.push('required', 'precision', 'enter', 'declareType')
        } else if (this.record.editType === 'popSelect') {
          _options.push('required', 'enter', 'linkSubField', 'columns', 'dataSource', 'primaryKey', 'order', 'showField', 'controlField', 'searchKey', 'popWidth', 'laypage', 'onload')
          _options.push('required', 'enter', 'linkSubField', 'columns', 'dataSource', 'primaryKey', 'order', 'controlField', 'searchKey', 'popWidth', 'laypage', 'cache', 'onload')
        } else if (this.record.editType === 'select') {
          _options.push('required', 'enter', 'resourceType', 'linkSubField', 'dropdown')
@@ -89,7 +90,7 @@
          _options.push('required', 'enter')
        }
      } else if (this.record.type === 'number') {
        _options.push('max', 'min', 'enter')
        _options.push('max', 'min', 'enter', 'clearField')
      }
    }
    if (this.record.type === 'formula' && this.record.eval === 'true') {
@@ -110,7 +111,7 @@
      return item
    })
    let formlist = getColumnForm(column, fields, this.props.columns)
    let formlist = getColumnForm(column, fields, this.props.columns, this.props.wrap)
    this.record = {}
    formlist.forEach(item => {