签名校验规则修改

This commit is contained in:
mengxiaolong
2020-09-24 11:10:36 +08:00
parent b642cefd42
commit 6d698cde94

View File

@@ -468,12 +468,10 @@ export default {
return this.$toast('请先阅读并勾选协议') return this.$toast('请先阅读并勾选协议')
} }
// 校验签名 // 校验签名
if (this.$route.query.receiveType === '0') { if (this.releationType) {
if (!this.policyholderSigned) return this.$toast('签名未完成, 请先进行签名') if (!this.policyholderSigned) return this.$toast('签名未完成, 请先进行签名')
} else if (this.$route.query.receiveType === '1' && !this.releationType) { } else {
if (!this.policyholderSigned || !this.insurantSigned) return this.$toast('签名未完成, 请先进行签名') if (!this.policyholderSigned || !this.insurantSigned) return this.$toast('签名未完成, 请先进行签名')
} else if (this.$route.query.receiveType === '1' && this.releationType) {
if (!this.policyholderSigned) return this.$toast('签名未完成, 请先进行签名')
} }
this.phoneNum = this.problemInfo.phoneNo this.phoneNum = this.problemInfo.phoneNo