马宇豪
2023-12-19 d5f70e01396783b1d2b84b49344b6d2798eb1097
src/views/license/licenseInfo/components/licenseInfoForm.vue
@@ -732,8 +732,8 @@
            checkMore4:[],
            checkMore5:[],
            checkMore6:[],
            checkList1:['C级'],
            checkList2:['D级'],
            checkList1:['C级','D级'],
            checkList2:['C级','D级'],
            checkMoreList:['C级','D级'],
            storage1:{
                id:null,
@@ -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)
@@ -1089,13 +1088,13 @@
        justifySingle(value){
            if(value === 1){
                if(this.checked1 === true){
                    this.checkMore1 = ['C级']
                    this.checkMore1 = ['C级','D级']
                }else{
                    this.checkMore1 = []
                }
            }else if(value ===2){
                if(this.checked2 === true){
                    this.checkMore2 = ['D级']
                    this.checkMore2 = ['C级','D级']
                }else{
                    this.checkMore2 = []
                }
@@ -1107,7 +1106,7 @@
                }
            }else if(value === 4){
                if(this.checked4 === true){
                    this.checkMore4 = ['C级']
                    this.checkMore4 = ['C级','D级']
                }else{
                    this.checkMore4 = []
                }
@@ -1119,7 +1118,7 @@
                }
            }else{
                if(this.checked6 === true){
                    this.checkMore6 = ['D级']
                    this.checkMore6 = ['C级','D级']
                }else{
                    this.checkMore6 = []
                }
@@ -1275,4 +1274,7 @@
    height:70%;
    margin-left:10px;
}
.el-input-number{
    width: 100%;
}
</style>