网格bug
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user