27389
This commit is contained in:
@@ -716,16 +716,6 @@ export default {
|
|||||||
}, trigger: "blur"
|
}, trigger: "blur"
|
||||||
}],
|
}],
|
||||||
currentAddress: [{message: "请选择现住址详细地址", required: true}],
|
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: [
|
householdName: [
|
||||||
{required: true, message: "请选择是否户主", trigger: "change"}
|
{required: true, message: "请选择是否户主", trigger: "change"}
|
||||||
],
|
],
|
||||||
@@ -939,14 +929,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.disabledLevel = this.user.info.areaMap[this.user.info.areaId].length;
|
|
||||||
if (!this.showDetail) {
|
if (!this.showDetail) {
|
||||||
this.showEdit1 = true;
|
this.showEdit1 = true;
|
||||||
this.showEdit2 = true;
|
this.showEdit2 = true;
|
||||||
this.showEdit3 = true;
|
this.showEdit3 = true;
|
||||||
this.showEdit4 = 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())
|
this.$nextTick(() => this.$refs.ruleForm?.resetFields())
|
||||||
} else {
|
} else {
|
||||||
this.searchDetail(this.$route.query.id);
|
this.searchDetail(this.$route.query.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user