mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-18 10:56:43 +08:00
【定制学平险卡单产品】 幼儿园年龄最小限制到2
This commit is contained in:
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user