king
2025-02-11 aa15f061ba185b05f22c98a0a979c72d08bcd974
src/templates/sharecomponent/actioncomponent/verifyexcelin/columnform/index.jsx
@@ -1,7 +1,7 @@
import React, {Component} from 'react'
import PropTypes from 'prop-types'
import { Form, Row, Col, Select, Button, Input, InputNumber, Radio } from 'antd'
import './index.scss'
// import './index.scss'
class ExcelInColumn extends Component {
  static propTpyes = {
@@ -45,10 +45,11 @@
          values.limit = ''
        }
        this.props.columnChange(values)
        this.props.form.setFieldsValue({
          Column: '',
          Text: ''
        this.props.columnChange(values, () => {
          this.props.form.setFieldsValue({
            Column: '',
            Text: ''
          })
        })
      }
    })
@@ -78,6 +79,10 @@
                  {
                    required: true,
                    message: '请输入字段!'
                  },
                  {
                    pattern: /^[\u4E00-\u9FA50-9a-zA-Z_]*$/ig,
                    message: '只允许包含数字、字母、汉字以及_'
                  }
                ]
              })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleConfirm}/>)}
@@ -135,7 +140,7 @@
              )}
            </Form.Item>
          </Col>
          <Col span={6}>
          <Col span={6} style={{clear: 'left'}}>
            <Form.Item style={{marginBottom: 0}} label="导入">
              {getFieldDecorator('import', {
                initialValue: 'true'