From 7c04588a3dc56e9014b0f72007e980e4caa5c2e2 Mon Sep 17 00:00:00 2001 From: mengxiaolong Date: Tue, 4 Aug 2020 20:37:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BD=AC=E8=B4=A6=E4=B8=8D?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E9=97=AE=E9=A2=98=E4=BB=B6=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/questions/QuestionsDetail.vue | 70 ++++++++++---------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/src/views/ebiz/questions/QuestionsDetail.vue b/src/views/ebiz/questions/QuestionsDetail.vue index e942130a2..94f02734c 100644 --- a/src/views/ebiz/questions/QuestionsDetail.vue +++ b/src/views/ebiz/questions/QuestionsDetail.vue @@ -53,20 +53,22 @@ -
- -
-
- - -
-
- -
- +
+
+ +
+
+ + +
+
+ +
+ +
@@ -76,7 +78,7 @@
-
+
投保人/监护人亲笔签名: {{ 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 = {