mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 03:56:44 +08:00
职业限制修改
This commit is contained in:
@@ -1124,13 +1124,35 @@ export default {
|
|||||||
*/
|
*/
|
||||||
chooseOccupation(data) {
|
chooseOccupation(data) {
|
||||||
let { code, name, healthGrade, lifeGrade } = 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.itemProductDTOS.productCode != 'GFRS_M0091') {
|
||||||
if(!(this.userInfo.relationToInsured != 1 && this.insureType === '1')){
|
if(!(this.userInfo.relationToInsured != 1 && this.insureType === '1')){
|
||||||
if (riskRules.lifeGradeLimitCard(this.trialDTOS, this, lifeGrade)) {
|
if (riskRules.lifeGradeLimitCard(this.trialDTOS, this, lifeGrade)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'navigation',
|
flag: 'navigation',
|
||||||
|
|||||||
Reference in New Issue
Block a user