马宇豪
2023-12-19 d5f70e01396783b1d2b84b49344b6d2798eb1097
src/views/license/licenseInfo/components/licenseModForm.vue
@@ -737,8 +737,8 @@
            checkMore4:[],
            checkMore5:[],
            checkMore6:[],
            checkList1:['C级'],
            checkList2:['D级'],
            checkList1:['C级','D级'],
            checkList2:['C级','D级'],
            checkMoreList:['C级','D级'],
            storage1:{
                id:null,
@@ -914,8 +914,8 @@
            parseError({error: '请填写许可类型', vm: this})
            return
          }
            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 {
                let res = await modLicense(this.dataForm)
                if(res.data.code === '200'){
@@ -980,13 +980,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 = []
                }
@@ -998,7 +998,7 @@
                }
            }else if(value === 4){
                if(this.checked4 === true){
                    this.checkMore4 = ['C级']
                    this.checkMore4 = ['C级','D级']
                }else{
                    this.checkMore4 = []
                }
@@ -1010,7 +1010,7 @@
                }
            }else{
                if(this.checked6 === true){
                    this.checkMore6 = ['D级']
                    this.checkMore6 = ['C级','D级']
                }else{
                    this.checkMore6 = []
                }
@@ -1166,4 +1166,7 @@
    height:70%;
    margin-left:10px;
}
.el-input-number{
    width: 100%;
}
</style>