马宇豪
2023-02-03 216b40ea714730d077cd12d320e84e0ec59fe3d4
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)