king
2020-07-07 faf99ae37eea8905ef181eaddae48d9a1457d92a
src/templates/sharecomponent/actioncomponent/verifyexcelout/columnform/index.jsx
@@ -1,6 +1,6 @@
import React, {Component} from 'react'
import PropTypes from 'prop-types'
import { Form, Row, Col, Button, Input, InputNumber, Radio } from 'antd'
import { Form, Row, Col, Button, Input, InputNumber } from 'antd'
import './index.scss'
class ExcelOutColumn extends Component {
@@ -22,8 +22,7 @@
    this.props.form.setFieldsValue({
      Column: record.Column,
      Text: record.Text,
      Width: record.Width,
      export: record.export || 'true'
      Width: record.Width
    })
  }
@@ -41,8 +40,7 @@
        this.props.form.setFieldsValue({
          Column: '',
          Text: '',
          Width: 20,
          export: 'true'
          Width: 20
        })
      }
    })
@@ -108,18 +106,6 @@
            <Button onClick={this.handleConfirm} type="primary" className="mk-green">
              保存
            </Button>
          </Col>
          <Col span={7}>
            <Form.Item label={dict['model.export']}>
              {getFieldDecorator('export', {
                initialValue: 'true'
              })(
                <Radio.Group>
                  <Radio value="true">{dict['model.true']}</Radio>
                  <Radio value="false">{dict['model.false']}</Radio>
                </Radio.Group>
              )}
            </Form.Item>
          </Col>
        </Row>
      </Form>