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

feat: 汽车类商家增加校验

parent 60ec25ac
......@@ -705,6 +705,7 @@ class BusinessInfo extends Component {
<Col span={24}>
<FormItem label="授权品牌" labelCol={{ span: 4 }}>
{getFieldDecorator('brand', {
rules: [{ required: true, message: '请输入授权品牌!' }],
initialValue: businessInfo.brand,
})(<Input maxLength={32} disabled={disabled} />)}
</FormItem>
......@@ -716,6 +717,7 @@ class BusinessInfo extends Component {
wrapperCol={wrapperCol}
>
{getFieldDecorator('brandCertificate', {
rules: [{ required: true, message: '请上传品牌经销商授权书!' }],
initialValue: businessInfo.brandCertificate,
})(
<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