【定制学平险卡单产品】 幼儿园年龄最小限制到2

This commit is contained in:
dwq
2021-08-12 16:08:56 +08:00
parent a14ae8ce24
commit 6276c11a84

View File

@@ -1274,7 +1274,7 @@ export default {
this.userInfo.homeAddress = data.homeAddress //家庭详细地址
this.userInfo.occupationCode = data.occupationCode
this.userInfo.occupationName = data.occupationName
this.userInfo.lifeGrade = data.lifeGrade
this.userInfo.healthGrade = data.healthGrade
this.userInfo.averageAnnualIncome = this.itemProductDTOS.productCode== 'GFRS_M0032'?data.averageYearlyIncome:'0' //平均年收入
@@ -1589,7 +1589,7 @@ export default {
let insuredInfoAge = utilsAge.getAge(this.insuredInfo.birthday, new Date())
if (this.itemProductDTOS.productCode === 'GFRS_M0049') {
//幼儿园3岁≤被保险人≤7岁
if(insuredInfoAge<3||insuredInfoAge>7){
if(insuredInfoAge<2||insuredInfoAge>7){
return this.$toast('被保险人年龄应为3岁-7岁请重新选择。')
}
}else if (this.itemProductDTOS.productCode === 'GFRS_M0048') {
@@ -1954,7 +1954,7 @@ export default {
}
</script>
<style lang="scss">
// *{ touch-action: none; }
// *{ touch-action: none; }
.insured-info-container {
/deep/.van-checkbox {
margin-left: auto;