Commit c2dec122 authored by 张子雨's avatar 张子雨

feat: 开户许可证编号

parent 1c12d6b4
...@@ -179,7 +179,6 @@ export function uploadPropsFn( ...@@ -179,7 +179,6 @@ export function uploadPropsFn(
}; };
imgList.push(attachment); imgList.push(attachment);
if (imgList.length <= limit) { if (imgList.length <= limit) {
console.log(imgList);
state.businessInfo[keyName] = imgList; state.businessInfo[keyName] = imgList;
} else { } else {
notification.error({ message: `最多只能上传${limit}个文件!` }); notification.error({ message: `最多只能上传${limit}个文件!` });
...@@ -331,7 +330,6 @@ export async function getAreaAddr() { ...@@ -331,7 +330,6 @@ export async function getAreaAddr() {
label: item.addrName, label: item.addrName,
value: item.addrId, value: item.addrId,
})); }));
console.log(this.state.businessInfo, '......');
// 编辑时 回显 市、区、街道 // 编辑时 回显 市、区、街道
if (this.state.businessInfo.provinceId) { if (this.state.businessInfo.provinceId) {
const pros = res.filter(item => +item.value === +this.state.businessInfo.provinceId); const pros = res.filter(item => +item.value === +this.state.businessInfo.provinceId);
......
...@@ -295,7 +295,6 @@ class BusinessInfo extends Component { ...@@ -295,7 +295,6 @@ class BusinessInfo extends Component {
} else { } else {
delete obj.categoryQualificateImage; delete obj.categoryQualificateImage;
} }
console.log(obj.categoryQualificateImage);
obj.legalPersonIdCard = obj.legalPersonIdCard?.toLocaleUpperCase() || ''; obj.legalPersonIdCard = obj.legalPersonIdCard?.toLocaleUpperCase() || '';
obj.bankAccountLicenseNum = obj.bankAccountLicenseNum?.toLocaleUpperCase() || ''; obj.bankAccountLicenseNum = obj.bankAccountLicenseNum?.toLocaleUpperCase() || '';
obj.socialCode = obj.socialCode?.toLocaleUpperCase() || ''; obj.socialCode = obj.socialCode?.toLocaleUpperCase() || '';
...@@ -941,9 +940,12 @@ class BusinessInfo extends Component { ...@@ -941,9 +940,12 @@ class BusinessInfo extends Component {
<Col span={12}> <Col span={12}>
<FormItem label="开户许可证编号" labelCol={{ span: 8 }}> <FormItem label="开户许可证编号" labelCol={{ span: 8 }}>
{getFieldDecorator('bankAccountLicenseNum', { {getFieldDecorator('bankAccountLicenseNum', {
rules: [{ required: true, message: '请输入开户许可证编号!' }], rules: [
{ required: true, message: '请输入开户许可证编号!' },
{ pattern: /^[A-Za-z0-9]*$/, message: '请输入数字或字母' },
],
initialValue: businessInfo.bankAccountLicenseNum, initialValue: businessInfo.bankAccountLicenseNum,
})(<Input maxLength={32} />)} })(<Input />)}
</FormItem> </FormItem>
</Col> </Col>
<Col span={12}> <Col span={12}>
......
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