Compare commits

...

7 Commits

5 changed files with 34 additions and 6 deletions

View File

@@ -3097,7 +3097,7 @@ export default {
return this.$toast('关联保单的格式不正确')
}
}
this.$CacheUtils.setLocItem('associatedPolicyNo',this.policyNo || null)
//组装险种提交数据
let [mainRiskCode, riskDTOLst] = ['', []]
let rollInResult = '' //校验预计转入保费结果

View File

@@ -64,6 +64,7 @@
:flag="true"
></FieldDatePicter>
<FieldDatePicter
v-if="!userInfo.effectiveDateType"
:v-validate="{ required: certiexpiredateRequired }"
required
label="证件截止日期"
@@ -1085,7 +1086,7 @@
this.userInfo.idType = data.customerIdType //证件类型
this.userInfo.idNo = data.customerIdNumber //证件类别
this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
if (data.idEffectEndDate == '9999-12-31') {
if (data.idEffectEndDate == '9999-12-31' && !data.idEffectEndDate) {
this.userInfo.effectiveDateType = true //是否长期
} else {
this.userInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
@@ -1557,9 +1558,10 @@
effectiveDataTypeChange(val) {
//勾选长期状态时,证件截止日期置空
if (val) {
this.userInfo.certiexpiredate = ''
this.userInfo.certiexpiredate = '9999-12-31'
this.certiexpiredateRequired = false
} else {
this.userInfo.certiexpiredate = ''
this.certiexpiredateRequired = true
}
},

View File

@@ -82,6 +82,7 @@
:readonly="isAppnt"
></FieldDatePicter>
<FieldDatePicter
v-if="!userInfo.effectiveDateType"
v-validate="{ required: certiexpiredateRequired }"
label="证件截止日期"
name="证件截止日期"
@@ -1274,7 +1275,7 @@
this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
// this.userInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
// this.userInfo.effectiveDateType = data.idEffectEndDate == '9999-12-31' //是否长期
if (data.idEffectEndDate == '9999-12-31') {
if (data.idEffectEndDate == '9999-12-31' && !data.idEffectEndDate) {
this.userInfo.effectiveDateType = true //是否长期
} else {
this.userInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
@@ -1875,11 +1876,12 @@
effectiveDataTypeChange(val) {
//勾选长期状态时,证件截止日期置空
if (val) {
this.userInfo.certiexpiredate = ''
this.userInfo.certiexpiredate = '9999-12-31'
// this.isRequired = false
// this.idLimit = true
this.certiexpiredateRequired = false
} else {
this.userInfo.certiexpiredate = ''
this.certiexpiredateRequired = true
// this.isRequired = true
// this.idLimit = false

View File

@@ -1200,6 +1200,7 @@ export default {
}
},
goUrl() {
window.localStorage.setItem('isFirstRead', '1')
let that = this
if (window.localStorage.getItem('sign-val') == '3') {
if (that.agentSignStatus == '3') {
@@ -1328,7 +1329,6 @@ export default {
}
}
}
if (path) {
that.$jump({
flag: 'h5',

View File

@@ -38,6 +38,17 @@
</van-button>
</div>
</div>
<van-dialog v-model="specialAgreementShow" :showConfirmButton="false">
<div slot="title">
<p style="font-weight: 600">特别约定</p>
</div>
<div style="padding: 20px 30px 10px;font-size: 14px;">
<div style="line-height: 25px;text-indent: 2em;">{{riskName}}合同有效的情况下投保单号/保单号{{ associatedPolicyNo }}的生产类保险金及现金红利如有自动转为{{riskName}}的保险费</div>
</div>
<div style="text-align: center;margin-bottom: 15px;">
<van-button plain type="primary" color="#1989fa" style="padding:0px 35px;font-size: 14px;" @click="specialAgreementShow = false">本人已阅读并通义上述特别约定内容</van-button>
</div>
</van-dialog>
</div>
</template>
<script>
@@ -63,6 +74,11 @@
chaoluButtonDisabled: true,
chaoluStatus: false,
productType: '',
specialAgreementShow: false,
associatedPolicyNo: null,
chooseProductCodes: null,
riskName: null,
isFirstRead: null,
}
},
components: {
@@ -72,6 +88,13 @@
[NoticeBar.name]: NoticeBar
},
created(){
this.associatedPolicyNo = window.localStorage.getItem('associatedPolicyNo')
this.riskName = window.localStorage.getItem('riskName')
this.chooseProductCodes = window.localStorage.getItem('chooseProductCodes') && JSON.parse(window.localStorage.getItem('chooseProductCodes'))
if(window.localStorage.getItem('isFirstRead') && window.localStorage.getItem('isFirstRead') == '1' && this.associatedPolicyNo && this.associatedPolicyNo != 'null' && this.chooseProductCodes && this.chooseProductCodes.includes('GFRS_M0098')){
window.localStorage.setItem('isFirstRead', '0')
this.specialAgreementShow = true
}
if(this.$route.query.currentIndex){
this.Time = true
this.isPreview = true
@@ -222,6 +245,7 @@
window.localStorage.setItem('insuredSignFile',JSON.stringify(this.fileList))
}
if(this.fileList[this.current - 1].documentCode == '5') {
window.localStorage.setItem('isFirstRead', '1')
this.$router.push({
path: '/sale/SignatureConfirmation',
query: {