king
2022-10-17 e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5
src/templates/zshare/verifycard/uniqueform/index.jsx
@@ -5,8 +5,7 @@
class UniqueForm extends Component {
  static propTpyes = {
    btn: PropTypes.object,       // 字典项
    dict: PropTypes.object,       // 字典项
    btn: PropTypes.object,
    fields: PropTypes.array,      // 表单字段
    uniqueChange: PropTypes.func  // 修改函数
  }
@@ -55,13 +54,13 @@
      <Form {...formItemLayout} className="verify-form" id="verifycard1">
        <Row gutter={24}>
          <Col span={7}>
            <Form.Item label={'字段名'}>
            <Form.Item label="字段名">
              {getFieldDecorator('field', {
                initialValue: [],
                rules: [
                  {
                    required: true,
                    message: this.props.dict['form.required.select'] + '字段名!'
                    message: '请选择字段名!'
                  }
                ]
              })(
@@ -76,13 +75,13 @@
            </Form.Item>
          </Col>
          {btn.Ot !== 'requiredOnce' ? <Col span={7}>
            <Form.Item label={'报错编码'}>
            <Form.Item label="报错编码">
              {getFieldDecorator('errorCode', {
                initialValue: 'E',
                rules: [
                  {
                    required: true,
                    message: this.props.dict['form.required.select'] + '报错编码!'
                    message: '请选择报错编码!'
                  }
                ]
              })(
@@ -96,13 +95,13 @@
            </Form.Item>
          </Col> : null}
          {btn.Ot !== 'requiredOnce' ? <Col span={7}>
            <Form.Item label={'验证类型'}>
            <Form.Item label="验证类型">
              {getFieldDecorator('verifyType', {
                initialValue: 'physical',
                rules: [
                  {
                    required: true,
                    message: this.props.dict['form.required.select'] + '验证类型!'
                    message: '请选择验证类型!'
                  }
                ]
              })(
@@ -115,7 +114,7 @@
          </Col> : null}
          <Col span={3} className="add">
            <Button onClick={this.handleConfirm} className="mk-green">
              {this.props.dict['model.add']}
              添加
            </Button>
          </Col>
        </Row>