mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 02:56:43 +08:00
【国富惠桂保团体医疗保险产品上线金掌桂投保开发需求】投被受模块涉及,统一规范证件有效期长期由9999-01-01调整为9999-12-31
This commit is contained in:
@@ -702,7 +702,7 @@ export default {
|
||||
this.userInfo.birthday = data.birthday //出生日期
|
||||
this.userInfo.idType = data.customerIdType //证件类型
|
||||
this.userInfo.idNo = data.customerIdNumber //证件类别
|
||||
if (data.idEffectEndDate == '9999-01-01') {
|
||||
if (data.idEffectEndDate == '9999-12-31') {
|
||||
this.userInfo.effectiveDateType = true //是否长期
|
||||
} else {
|
||||
this.userInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
|
||||
|
||||
@@ -985,7 +985,7 @@ export default {
|
||||
//"ValidDate": "2010.07.21-长期"
|
||||
let certiexpireDate = res.content.validDate.split('-')[1]
|
||||
if('长期' == certiexpireDate){
|
||||
res.content.validDate = '9999-01-01'
|
||||
res.content.validDate = '9999-12-31'
|
||||
if(this.saleInsuredInfo.certiexpiredate != res.content.validDate){
|
||||
isFlag = false;
|
||||
}
|
||||
@@ -1016,7 +1016,7 @@ export default {
|
||||
let certiexpireDate = res.content.validDate.split('-')[1]
|
||||
console.log("res.content.validDate", res.content.validDate)
|
||||
if('长期' == certiexpireDate){
|
||||
res.content.validDate = '9999-01-01'
|
||||
res.content.validDate = '9999-12-31'
|
||||
if(this.saleInsuredInfo.certiexpiredate != res.content.validDate){
|
||||
isFlag = false;
|
||||
}
|
||||
|
||||
@@ -811,7 +811,7 @@ export default {
|
||||
this.effectiveDateTypeAbleInsured = true //长期按钮是否禁用--被保人
|
||||
this.insuredInfo.effectiveDateType = false //是否长期
|
||||
// this.insuredInfo.effectiveDateType = true
|
||||
// this.insuredInfo.certiexpiredate = '9999-01-01'
|
||||
// this.insuredInfo.certiexpiredate = '9999-12-31'
|
||||
// this.effectiveDateTypeAbleInsured = true
|
||||
// this.isInsuredCertiexpiredate = false
|
||||
// this.isInsuredCertiexpiredate = true
|
||||
@@ -1039,12 +1039,12 @@ export default {
|
||||
//户口本
|
||||
if (data.customerIdType == 2) {
|
||||
this.insuredInfo.effectiveDateType = true
|
||||
this.insuredInfo.certiexpiredate = '9999-01-01'
|
||||
this.insuredInfo.certiexpiredate = '9999-12-31'
|
||||
this.effectiveDateTypeAbleInsured = true
|
||||
// this.isInsuredCertiexpiredate = false
|
||||
}else{
|
||||
// this.isInsuredCertiexpiredate = true
|
||||
if (data.idEffectEndDate == '9999-01-01') {
|
||||
if (data.idEffectEndDate == '9999-12-31') {
|
||||
this.insuredInfo.certiexpiredate = ''
|
||||
this.insuredInfo.effectiveDateType = true //是否长期
|
||||
this.effectiveDateTypeAbleInsured = true
|
||||
@@ -1309,7 +1309,7 @@ export default {
|
||||
}
|
||||
// 是否长期选项 赋值
|
||||
if (this.insuredInfo.effectiveDateType) {
|
||||
this.insuredInfo.certiexpiredate = '9999-01-01'
|
||||
this.insuredInfo.certiexpiredate = '9999-12-31'
|
||||
}
|
||||
this.infoUpdate()
|
||||
// console.log('success')
|
||||
@@ -1634,7 +1634,7 @@ export default {
|
||||
// this.insuredInfo.email = this.userInfo.email
|
||||
// this.insuredInfo.idType = '2'
|
||||
// // this.insuredInfo.effectiveDateType = true
|
||||
// // this.insuredInfo.certiexpiredate = '9999-01-01'
|
||||
// // this.insuredInfo.certiexpiredate = '9999-12-31'
|
||||
// // 去掉--选择户口本时,是否长期默认为是,不可点击,有效止期隐藏(证件类型为户口本时,被保人年龄小于16周岁时,户口本有效止期长期变更为第16周岁日期)
|
||||
// // this.effectiveDateTypeAbleInsured = true
|
||||
// // this.isInsuredCertiexpiredate = false
|
||||
@@ -1645,7 +1645,7 @@ export default {
|
||||
// this.insuredInfo.marriage = '2'
|
||||
// this.insuredInfo.idType = '2'
|
||||
// // this.insuredInfo.effectiveDateType = true
|
||||
// // this.insuredInfo.certiexpiredate = '9999-01-01'
|
||||
// // this.insuredInfo.certiexpiredate = '9999-12-31'
|
||||
// // 去掉--选择户口本时,是否长期默认为是,不可点击,有效止期隐藏(证件类型为户口本时,被保人年龄小于16周岁时,户口本有效止期长期变更为第16周岁日期)
|
||||
// // this.effectiveDateTypeAbleInsured = true
|
||||
// // this.isInsuredCertiexpiredate = false
|
||||
@@ -1654,7 +1654,7 @@ export default {
|
||||
// // GFRS-2641--少儿安康,默认户口本,且户口本证件截止日期默认长期
|
||||
// if (this.itemProductDTOS.productCode == 'GFRS_M0052') {
|
||||
// this.insuredInfo.idType = '2'
|
||||
// // this.insuredInfo.certiexpiredate = '9999-01-01'
|
||||
// // this.insuredInfo.certiexpiredate = '9999-12-31'
|
||||
// // this.insuredInfo.effectiveDateType = true
|
||||
// this.insuredInfo.occupationCode = '2099907'
|
||||
// this.insuredInfo.occupationName = '一般学生'
|
||||
|
||||
Reference in New Issue
Block a user