From 6573aec4ca9f7879bbdfed0ce4abdcb27e0027ab Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 19 Dec 2023 16:14:28 +0800
Subject: [PATCH] 添加状态
---
src/views/license/licenseInfo/components/licenseInfoForm.vue | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/src/views/license/licenseInfo/components/licenseInfoForm.vue b/src/views/license/licenseInfo/components/licenseInfoForm.vue
index 6f75af2..fbacdc3 100644
--- a/src/views/license/licenseInfo/components/licenseInfoForm.vue
+++ b/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>
--
Gitblit v1.9.2