27389
This commit is contained in:
		| @@ -716,16 +716,6 @@ export default { | ||||
|             }, trigger: "blur" | ||||
|           }], | ||||
|         currentAddress: [{message: "请选择现住址详细地址", required: true}], | ||||
|         householdAreaId: [ | ||||
|           {message: "户籍地必须选到村级", required: true, trigger: "blur"}, | ||||
|           { | ||||
|             validator: (r, v, cb) => { | ||||
|               if (/.+0{3}$/.test(v)) { | ||||
|                 cb("户籍地必须选到村级") | ||||
|               } else cb() | ||||
|             }, trigger: "blur" | ||||
|           } | ||||
|         ], | ||||
|         householdName: [ | ||||
|           {required: true, message: "请选择是否户主", trigger: "change"} | ||||
|         ], | ||||
| @@ -939,14 +929,11 @@ export default { | ||||
|     } | ||||
|   }, | ||||
|   created() { | ||||
|     this.disabledLevel = this.user.info.areaMap[this.user.info.areaId].length; | ||||
|     if (!this.showDetail) { | ||||
|       this.showEdit1 = true; | ||||
|       this.showEdit2 = true; | ||||
|       this.showEdit3 = true; | ||||
|       this.showEdit4 = true; | ||||
|       this.baseInfo.householdAreaId = JSON.parse(JSON.stringify(this.user.info.areaId)) | ||||
|       this.baseInfo.currentAreaId = JSON.parse(JSON.stringify(this.user.info.areaId)) | ||||
|       this.$nextTick(() => this.$refs.ruleForm?.resetFields()) | ||||
|     } else { | ||||
|       this.searchDetail(this.$route.query.id); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user