From 1027add14f1d3ae17964d7abe9bc7816ac4d52cb Mon Sep 17 00:00:00 2001
From: Haiyi <1021441632@qq.com>
Date: Fri, 1 Jul 2022 17:26:22 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=8F=B8=E8=AE=A4=E8=AF=81=E5=8A=A0?=
=?UTF-8?q?=E5=A4=9A=E4=B8=AA=E5=8F=82=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/certification/index.tsx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/pages/certification/index.tsx b/src/pages/certification/index.tsx
index da5912b..bc53251 100644
--- a/src/pages/certification/index.tsx
+++ b/src/pages/certification/index.tsx
@@ -36,7 +36,7 @@ export default () => {
business_license_url: "",
legal_person: "",
legal_person_identity: "",
- businessLicense: '',
+ business_license: '',
legal_person_identity_url: [],
name: ""
});
@@ -47,6 +47,9 @@ export default () => {
name: [{
message: "请输入企业名称"
}],
+ business_license: [{
+ message: "请输入企业营业执照"
+ }],
business_license_url: [{
message: "请上传营业执照"
}],
@@ -132,7 +135,7 @@ export default () => {
setFormData({ ...formData, name: ev.detail.value })} value={formData["name"]} label="企业名称" placeholder="请输入营业执照上的企业名称" required />
{/* */}
- setFormData({ ...formData, businessLicense: ev.detail.value })} value={formData["businessLicense"]} style={{ border: "0" }} label="企业营业执照" placeholder="注册号、统一社会信用代码、组织机构代码" required />
+ setFormData({ ...formData, business_license: ev.detail.value })} value={formData["business_license"]} style={{ border: "0" }} label="企业营业执照" placeholder="注册号、统一社会信用代码、组织机构代码" required />
handleUploadImage("business_license_url")} className="certification-upload">
{(formData as any)?.business_license_url ?
<>