马宇豪
2023-02-07 94b04152f691c602e5ccd3f5f07f97ca45888819
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)
@@ -1275,4 +1274,7 @@
    height:70%;
    margin-left:10px;
}
.el-input-number{
    width: 100%;
}
</style>