网格bug

This commit is contained in:
yanran200730
2022-05-09 16:06:59 +08:00
parent 61fed1f99f
commit a2925da21b
4 changed files with 5 additions and 21 deletions

View File

@@ -134,7 +134,7 @@ export default {
} }
} }
} }
let IdNumberPass = (rule, value, callback) => { let IdNumberPass = (rule, value, callback) => {
if (value) { if (value) {
if (this.idCardNoUtil.checkIdCardNo(value)) { if (this.idCardNoUtil.checkIdCardNo(value)) {
@@ -327,10 +327,6 @@ export default {
format (list) { format (list) {
return list.map(item => { return list.map(item => {
if (item.girdLevel !== '2') {
item.disabled = true
}
if (item.girdList && item.girdList.length) { if (item.girdList && item.girdList.length) {
item.girdList = this.format(item.girdList) item.girdList = this.format(item.girdList)
} }

View File

@@ -134,7 +134,7 @@ export default {
} }
} }
} }
let IdNumberPass = (rule, value, callback) => { let IdNumberPass = (rule, value, callback) => {
if (value) { if (value) {
if (this.idCardNoUtil.checkIdCardNo(value)) { if (this.idCardNoUtil.checkIdCardNo(value)) {
@@ -146,7 +146,7 @@ export default {
callback(new Error('请输入身份证号')) callback(new Error('请输入身份证号'))
} }
} }
let regIcome = (rule, value, callback) => { let regIcome = (rule, value, callback) => {
if (value) { if (value) {
const reg = /^([0-9]{1,5})(\.[0-9]{1,3}){0,1}$/ const reg = /^([0-9]{1,5})(\.[0-9]{1,3}){0,1}$/
@@ -337,10 +337,6 @@ export default {
format (list) { format (list) {
return list.map(item => { return list.map(item => {
if (item.girdLevel !== '2') {
item.disabled = true
}
if (item.girdList && item.girdList.length) { if (item.girdList && item.girdList.length) {
item.girdList = this.format(item.girdList) item.girdList = this.format(item.girdList)
} }

View File

@@ -134,7 +134,7 @@ export default {
} }
} }
} }
let IdNumberPass = (rule, value, callback) => { let IdNumberPass = (rule, value, callback) => {
if (value) { if (value) {
if (this.idCardNoUtil.checkIdCardNo(value)) { if (this.idCardNoUtil.checkIdCardNo(value)) {
@@ -336,10 +336,6 @@ export default {
format (list) { format (list) {
return list.map(item => { return list.map(item => {
if (item.girdLevel !== '2') {
item.disabled = true
}
if (item.girdList && item.girdList.length) { if (item.girdList && item.girdList.length) {
item.girdList = this.format(item.girdList) item.girdList = this.format(item.girdList)
} }

View File

@@ -134,7 +134,7 @@ export default {
} }
} }
} }
let IdNumberPass = (rule, value, callback) => { let IdNumberPass = (rule, value, callback) => {
if (value) { if (value) {
if (this.idCardNoUtil.checkIdCardNo(value)) { if (this.idCardNoUtil.checkIdCardNo(value)) {
@@ -328,10 +328,6 @@ export default {
format (list) { format (list) {
return list.map(item => { return list.map(item => {
if (item.girdLevel !== '2') {
item.disabled = true
}
if (item.girdList && item.girdList.length) { if (item.girdList && item.girdList.length) {
item.girdList = this.format(item.girdList) item.girdList = this.format(item.girdList)
} }