mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 12:56:43 +08:00
职业限制修改
This commit is contained in:
@@ -1124,11 +1124,33 @@ export default {
|
||||
*/
|
||||
chooseOccupation(data) {
|
||||
let { code, name, healthGrade, lifeGrade } = data
|
||||
if(this.itemProductDTOS.productCode === 'GFRS_M0091'){
|
||||
if(this.proSchemeCode == '06860438-A') {
|
||||
if (Number(lifeGrade) > 3) {
|
||||
this.$toast('寿险职业等级不适合此款险种,请选择其他险种!')
|
||||
return
|
||||
}
|
||||
}
|
||||
if(this.proSchemeCode == '06860438-B') {
|
||||
if (Number(lifeGrade) > 4) {
|
||||
this.$toast('寿险职业等级不适合此款险种,请选择其他险种!')
|
||||
return
|
||||
}
|
||||
}
|
||||
if(!this.proSchemeCode) {
|
||||
if (Number(lifeGrade) > 4) {
|
||||
this.$toast('寿险职业等级不适合此款险种,请选择其他险种!')
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
//校验主合同被保险人寿险职业等级
|
||||
//投保同人时,验证投保人职业,投被不同人时验证被保人职业
|
||||
if(!(this.userInfo.relationToInsured != 1 && this.insureType === '1')){
|
||||
if (riskRules.lifeGradeLimitCard(this.trialDTOS, this, lifeGrade)) {
|
||||
return
|
||||
if(this.itemProductDTOS.productCode != 'GFRS_M0091') {
|
||||
if(!(this.userInfo.relationToInsured != 1 && this.insureType === '1')){
|
||||
if (riskRules.lifeGradeLimitCard(this.trialDTOS, this, lifeGrade)) {
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user