mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-18 05:06:44 +08:00
选择户口本时,是否长期默认为是,不可点击,有效止期隐藏
This commit is contained in:
@@ -198,6 +198,7 @@
|
|||||||
</van-button>
|
</van-button>
|
||||||
</van-field>
|
</van-field>
|
||||||
<FieldDatePicter
|
<FieldDatePicter
|
||||||
|
v-if="isInsuredCertiexpiredate"
|
||||||
:v-validate='{ required: certiexpiredateRequiredInsured }'
|
:v-validate='{ required: certiexpiredateRequiredInsured }'
|
||||||
required
|
required
|
||||||
label='证件截止日期'
|
label='证件截止日期'
|
||||||
@@ -749,7 +750,8 @@ export default {
|
|||||||
load: false, //防止重复请求
|
load: false, //防止重复请求
|
||||||
value: false
|
value: false
|
||||||
},
|
},
|
||||||
occupationalType: DataDictionary.queryOccupationalByType[0].id
|
occupationalType: DataDictionary.queryOccupationalByType[0].id,
|
||||||
|
isInsuredCertiexpiredate:true, //被保人有效止期是否显示
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -1080,7 +1082,7 @@ export default {
|
|||||||
if (this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050' || this.itemProductDTOS.productCode == 'GFRS_M0052') {
|
if (this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050' || this.itemProductDTOS.productCode == 'GFRS_M0052') {
|
||||||
this.columns = DataDictionary.insuredIdTypeSpecial
|
this.columns = DataDictionary.insuredIdTypeSpecial
|
||||||
} else {
|
} else {
|
||||||
this.columns = DataDictionary.insuredIdType
|
this.columns = DataDictionary.idType
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1150,6 +1152,16 @@ export default {
|
|||||||
//身份证,年龄小于等于45,不可选长期
|
//身份证,年龄小于等于45,不可选长期
|
||||||
this.insuredInfo.effectiveDateType = false
|
this.insuredInfo.effectiveDateType = false
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
// 选择户口本时,是否长期默认为是,不可点击,有效止期隐藏
|
||||||
|
if(value.id==2){
|
||||||
|
this.insuredInfo.effectiveDateType = true
|
||||||
|
this.effectiveDateTypeAbleInsured = true
|
||||||
|
this.isInsuredCertiexpiredate = false
|
||||||
|
}else{
|
||||||
|
this.insuredInfo.effectiveDateType = false
|
||||||
|
this.effectiveDateTypeAbleInsured = false
|
||||||
|
this.isInsuredCertiexpiredate = true
|
||||||
}
|
}
|
||||||
this.insuredInfo.idType = value.id
|
this.insuredInfo.idType = value.id
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user