Browse Source

居民编辑标签禁止选中

V4.4.4
mk 1 year ago
parent
commit
84e5e9faa9
  1. 5
      src/views/components/editResi.vue

5
src/views/components/editResi.vue

@ -611,6 +611,7 @@
<div class="stafftag"> <div class="stafftag">
<stafftag <stafftag
:formType="'edit'" :formType="'edit'"
ref="stafftag"
:userInfo="form" :userInfo="form"
@showDialog="showDialog" @showDialog="showDialog"
> >
@ -1875,6 +1876,10 @@ export default {
this.form.baseInfoDto.birthday = birth; this.form.baseInfoDto.birthday = birth;
this.form.baseInfoDto.gender = sex == 1 ? "1" : "2"; this.form.baseInfoDto.gender = sex == 1 ? "1" : "2";
this.form.baseInfoDto.categoryInfo.oldPeopleFlag = age >= 60 ? 1 : 0; this.form.baseInfoDto.categoryInfo.oldPeopleFlag = age >= 60 ? 1 : 0;
this.form.baseInfoDto.categoryInfo.fertileWomanFlag = this.form.baseInfoDto.gender == 2 && (age >= 18 && age < 49)? 1 : 0;
let obj = {oldPeopleFlag:age >= 60 ? 1 : 0,fertileWomanFlag:this.form.baseInfoDto.gender == 2 && (age >= 18 && age < 49)? 1 : 0,sex,age}
this.$refs['stafftag'].updatedForm(obj);
this.form.oldPeopleDto.oldPeopleCategories = ['oldPeopleFlag'];
// this.form.IS_BDHJ = huji == _id ? '1' : '' // this.form.IS_BDHJ = huji == _id ? '1' : ''
// //
// this.validateIdcard(this.form.idNum) // this.validateIdcard(this.form.idNum)

Loading…
Cancel
Save