mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-16 06:26:44 +08:00
【定制学平险卡单产品】 幼儿园年龄最小限制到2
This commit is contained in:
@@ -1274,7 +1274,7 @@ export default {
|
|||||||
this.userInfo.homeAddress = data.homeAddress //家庭详细地址
|
this.userInfo.homeAddress = data.homeAddress //家庭详细地址
|
||||||
this.userInfo.occupationCode = data.occupationCode
|
this.userInfo.occupationCode = data.occupationCode
|
||||||
this.userInfo.occupationName = data.occupationName
|
this.userInfo.occupationName = data.occupationName
|
||||||
|
|
||||||
this.userInfo.lifeGrade = data.lifeGrade
|
this.userInfo.lifeGrade = data.lifeGrade
|
||||||
this.userInfo.healthGrade = data.healthGrade
|
this.userInfo.healthGrade = data.healthGrade
|
||||||
this.userInfo.averageAnnualIncome = this.itemProductDTOS.productCode== 'GFRS_M0032'?data.averageYearlyIncome:'0' //平均年收入
|
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())
|
let insuredInfoAge = utilsAge.getAge(this.insuredInfo.birthday, new Date())
|
||||||
if (this.itemProductDTOS.productCode === 'GFRS_M0049') {
|
if (this.itemProductDTOS.productCode === 'GFRS_M0049') {
|
||||||
//幼儿园:3岁≤被保险人≤7岁
|
//幼儿园:3岁≤被保险人≤7岁
|
||||||
if(insuredInfoAge<3||insuredInfoAge>7){
|
if(insuredInfoAge<2||insuredInfoAge>7){
|
||||||
return this.$toast('被保险人年龄应为3岁-7岁,请重新选择。')
|
return this.$toast('被保险人年龄应为3岁-7岁,请重新选择。')
|
||||||
}
|
}
|
||||||
}else if (this.itemProductDTOS.productCode === 'GFRS_M0048') {
|
}else if (this.itemProductDTOS.productCode === 'GFRS_M0048') {
|
||||||
@@ -1954,7 +1954,7 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
// *{ touch-action: none; }
|
// *{ touch-action: none; }
|
||||||
.insured-info-container {
|
.insured-info-container {
|
||||||
/deep/.van-checkbox {
|
/deep/.van-checkbox {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user