Commit 75e0ef1f authored by 张子雨's avatar 张子雨

Merge branch 'feat/constructionOne' into feature/20230327_public_takeaway

* feat/constructionOne:
  feat: 汽车类商家增加校验
parents 84cc5fb0 16941a5a
...@@ -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