king
2021-11-18 c98e45bfac25e9110ad0383faac54a54d98ea9d5
src/components/mutilform/index.jsx
@@ -45,7 +45,7 @@
      let validate = item.Validate ? JSON.parse(item.Validate) : {} // 检验是否必填
      let _required = validate.required || false
      if (item.InputType === 'text') { // 文本搜索
      if (item.InputType === 'text') { // 文本
        fields.push(
          <Col span={24 / this.props.cols} key={index}>
            <Form.Item label={item.Label}>
@@ -54,7 +54,7 @@
                rules: [
                  {
                    required: _required,
                    message: this.props.dict['main.form.required.input'] + item.Label + '!'
                    message: this.props.dict['form.required.input'] + item.Label + '!'
                  }
                ]
              })(<Input placeholder="" autoComplete="off" disabled={item.readonly} />)}
@@ -80,7 +80,7 @@
                rules: [
                  {
                    required: _required,
                    message: this.props.dict['main.form.required.input'] + item.Label + '!'
                    message: this.props.dict['form.required.input'] + item.Label + '!'
                  }
                ]
              })(model)}
@@ -96,7 +96,7 @@
                rules: [
                  {
                    required: _required,
                    message: this.props.dict['main.form.required.select'] + item.Label + '!'
                    message: this.props.dict['form.required.select'] + item.Label + '!'
                  }
                ]
              })(
@@ -123,7 +123,7 @@
                rules: [
                  {
                    required: _required,
                    message: this.props.dict['main.form.required.select'] + item.Label + '!'
                    message: this.props.dict['form.required.select'] + item.Label + '!'
                  }
                ]
              })(
@@ -142,7 +142,7 @@
                rules: [
                  {
                    required: _required,
                    message: this.props.dict['main.form.required.select'] + item.Label + '!'
                    message: this.props.dict['form.required.select'] + item.Label + '!'
                  }
                ]
              })(