投保人/监护人亲笔签名:
{{ policyholderSigned ? '已签名' : '签名' }}
@@ -312,28 +314,28 @@ export default {
if (this.transfer.mode === '') {
return this.$toast('请选择处理方式')
}
- // 校验开户行
- if (!this.transfer.bank) {
- return this.$toast('请选择开户行')
- }
- // 银行卡号校验
- let regx = /^(\d{16}|\d{18}|\d{19})$/
- if (!regx.test(this.transfer.card)) {
- return this.$toast('银行卡号不符合规则')
- }
- if (this.transfer.cardPhoto.length === 0) {
- return this.$toast('请上传银行卡图片')
+ // 非终止转账
+ if (this.transfer.mode !== 2) {
+ // 校验开户行
+ if (!this.transfer.bank) {
+ return this.$toast('请选择开户行')
+ }
+ // 银行卡号校验
+ let regx = /^(\d{16}|\d{18}|\d{19})$/
+ if (!regx.test(this.transfer.card)) {
+ return this.$toast('银行卡号不符合规则')
+ }
+ if (this.transfer.cardPhoto.length === 0) {
+ return this.$toast('请上传银行卡图片')
+ }
}
}
if (!this.checked) return this.$toast('请先同意协议')
- // 转账失败问题件不用签名
- if (this.issueType !== '818901') {
- // 校验签名
- if (this.$route.query.receiveType === '0') {
- if (!this.policyholderSigned) return this.$toast('请完成签名后继续操作')
- } else if (this.$route.query.receiveType === '1') {
- if (!this.policyholderSigned || !this.insurantSigned) return this.$toast('请完成签名后继续操作')
- }
+ // 校验签名
+ if (this.$route.query.receiveType === '0') {
+ if (!this.policyholderSigned) return this.$toast('请完成签名后继续操作')
+ } else if (this.$route.query.receiveType === '1') {
+ if (!this.policyholderSigned || !this.insurantSigned) return this.$toast('请完成签名后继续操作')
}
// 短信校验
this.dialog = {