king
2021-10-27 bbcb3f45ad0ef4c808bf5a68ec10c0464c094e2f
src/menu/components/table/normal-table/columns/editColumn/index.jsx
@@ -17,10 +17,11 @@
  colspan: ['label', 'type', 'Align', 'Hide', 'blacklist'],
  custom: ['label', 'type', 'Align', 'Hide', 'Width', 'blacklist'],
  action: ['label', 'type', 'Align', 'Width'],
  formula: ['label', 'type', 'Align', 'Hide', 'Width', 'prefix', 'postfix', 'eval', 'formula', 'blacklist'],
  index: ['label', 'type', 'Align', 'Width']
}
class MainSearch extends Component {
class NormalTableColumn extends Component {
  static propTpyes = {
    dict: PropTypes.object,     // 字典项
    visible: PropTypes.bool,
@@ -101,7 +102,7 @@
        }
        values.type = 'number'
        values.decimal = decimal
      } else if (/nvarchar/ig.test(option.props.datatype)) {
      } else {
        values.type = 'text'
      }
@@ -327,7 +328,7 @@
                    message: this.props.dict['form.required.input'] + item.label + '!'
                  }
                ]
              })(<TextArea rows={2} disabled={item.readonly} onPressEnter={this.handleSubmit} />)}
              })(<TextArea rows={2} disabled={item.readonly} placeholder={item.placeholder || ''}/>)}
            </Form.Item>
          </Col>
        )
@@ -385,4 +386,4 @@
  }
}
export default Form.create()(MainSearch)
export default Form.create()(NormalTableColumn)