From 216b40ea714730d077cd12d320e84e0ec59fe3d4 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 03 二月 2023 09:21:57 +0800
Subject: [PATCH] 修改地址文字长度校验

---
 src/views/license/licenseInfo/components/licenseInfoForm.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/views/license/licenseInfo/components/licenseInfoForm.vue b/src/views/license/licenseInfo/components/licenseInfoForm.vue
index 6f75af2..e2f6bae 100644
--- a/src/views/license/licenseInfo/components/licenseInfoForm.vue
+++ b/src/views/license/licenseInfo/components/licenseInfoForm.vue
@@ -964,9 +964,8 @@
                 + this.dataForm.city + this.dataForm.district + this.dataForm.address;
             let fullStorageAddress = (this.dataForm.storageprovince ==='新疆维吾尔自治区'? '新疆': this.dataForm.storageprovince)
                 + this.dataForm.storagecity + this.dataForm.storagedistrict + this.dataForm.storageaddress;
-
-            if (this.getByteLen(fullAddress) > 90 || this.getByteLen(fullStorageAddress) > 90){
-                parseError({error: '注册地址或仓储地址的省市区详细地址总和不能超过50个字,请删减', vm: this})
+            if (this.getByteLen(fullAddress) > 390 || this.getByteLen(fullStorageAddress) > 390){
+                parseError({error: '注册地址或仓储地址的省市区详细地址总和不能超过200个字,请删减', vm: this})
             } else {
                 if(this.title === "新增"){
                     let res = await addLicenseInfo(this.dataForm)

--
Gitblit v1.9.2