mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 16:56:43 +08:00
【定制学平险卡单产品】 幼儿园年龄最小限制到2 提示
This commit is contained in:
@@ -1588,9 +1588,9 @@ export default {
|
||||
|
||||
let insuredInfoAge = utilsAge.getAge(this.insuredInfo.birthday, new Date())
|
||||
if (this.itemProductDTOS.productCode === 'GFRS_M0049') {
|
||||
//幼儿园:3岁≤被保险人≤7岁
|
||||
//幼儿园:2岁≤被保险人≤7岁
|
||||
if(insuredInfoAge<2||insuredInfoAge>7){
|
||||
return this.$toast('被保险人年龄应为3岁-7岁,请重新选择。')
|
||||
return this.$toast('被保险人年龄应为2岁-7岁,请重新选择。')
|
||||
}
|
||||
}else if (this.itemProductDTOS.productCode === 'GFRS_M0048') {
|
||||
//义务教育:5岁≤被保险人≤18岁
|
||||
|
||||
Reference in New Issue
Block a user