Commit 16941a5a authored by 张子雨's avatar 张子雨

feat: 汽车类商家增加校验

parent 60ec25ac
...@@ -705,6 +705,7 @@ class BusinessInfo extends Component { ...@@ -705,6 +705,7 @@ class BusinessInfo extends Component {
<Col span={24}> <Col span={24}>
<FormItem label="授权品牌" labelCol={{ span: 4 }}> <FormItem label="授权品牌" labelCol={{ span: 4 }}>
{getFieldDecorator('brand', { {getFieldDecorator('brand', {
rules: [{ required: true, message: '请输入授权品牌!' }],
initialValue: businessInfo.brand, initialValue: businessInfo.brand,
})(<Input maxLength={32} disabled={disabled} />)} })(<Input maxLength={32} disabled={disabled} />)}
</FormItem> </FormItem>
...@@ -716,6 +717,7 @@ class BusinessInfo extends Component { ...@@ -716,6 +717,7 @@ class BusinessInfo extends Component {
wrapperCol={wrapperCol} wrapperCol={wrapperCol}
> >
{getFieldDecorator('brandCertificate', { {getFieldDecorator('brandCertificate', {
rules: [{ required: true, message: '请上传品牌经销商授权书!' }],
initialValue: businessInfo.brandCertificate, initialValue: businessInfo.brandCertificate,
})( })(
<Upload <Upload
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment