网格bug
This commit is contained in:
		| @@ -134,7 +134,7 @@ export default { | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|      | ||||
|  | ||||
|     let IdNumberPass = (rule, value, callback) => { | ||||
|       if (value) { | ||||
|         if (this.idCardNoUtil.checkIdCardNo(value)) { | ||||
| @@ -327,10 +327,6 @@ export default { | ||||
|  | ||||
|     format (list) { | ||||
|       return list.map(item => { | ||||
|         if (item.girdLevel !== '2') { | ||||
|           item.disabled = true | ||||
|         } | ||||
|  | ||||
|         if (item.girdList && item.girdList.length) { | ||||
|           item.girdList = this.format(item.girdList) | ||||
|         } | ||||
|   | ||||
| @@ -134,7 +134,7 @@ export default { | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|      | ||||
|  | ||||
|     let IdNumberPass = (rule, value, callback) => { | ||||
|       if (value) { | ||||
|         if (this.idCardNoUtil.checkIdCardNo(value)) { | ||||
| @@ -146,7 +146,7 @@ export default { | ||||
|         callback(new Error('请输入身份证号')) | ||||
|       } | ||||
|     } | ||||
|      | ||||
|  | ||||
|     let regIcome = (rule, value, callback) => { | ||||
|       if (value) { | ||||
|         const reg = /^([0-9]{1,5})(\.[0-9]{1,3}){0,1}$/ | ||||
| @@ -337,10 +337,6 @@ export default { | ||||
|  | ||||
|     format (list) { | ||||
|       return list.map(item => { | ||||
|         if (item.girdLevel !== '2') { | ||||
|           item.disabled = true | ||||
|         } | ||||
|  | ||||
|         if (item.girdList && item.girdList.length) { | ||||
|           item.girdList = this.format(item.girdList) | ||||
|         } | ||||
|   | ||||
| @@ -134,7 +134,7 @@ export default { | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|      | ||||
|  | ||||
|     let IdNumberPass = (rule, value, callback) => { | ||||
|       if (value) { | ||||
|         if (this.idCardNoUtil.checkIdCardNo(value)) { | ||||
| @@ -336,10 +336,6 @@ export default { | ||||
|  | ||||
|     format (list) { | ||||
|       return list.map(item => { | ||||
|         if (item.girdLevel !== '2') { | ||||
|           item.disabled = true | ||||
|         } | ||||
|  | ||||
|         if (item.girdList && item.girdList.length) { | ||||
|           item.girdList = this.format(item.girdList) | ||||
|         } | ||||
|   | ||||
| @@ -134,7 +134,7 @@ export default { | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|      | ||||
|  | ||||
|     let IdNumberPass = (rule, value, callback) => { | ||||
|       if (value) { | ||||
|         if (this.idCardNoUtil.checkIdCardNo(value)) { | ||||
| @@ -328,10 +328,6 @@ export default { | ||||
|  | ||||
|     format (list) { | ||||
|       return list.map(item => { | ||||
|         if (item.girdLevel !== '2') { | ||||
|           item.disabled = true | ||||
|         } | ||||
|  | ||||
|         if (item.girdList && item.girdList.length) { | ||||
|           item.girdList = this.format(item.girdList) | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user