From a52cd0990faaec969fa6c7a037a045e03bd0c9d4 Mon Sep 17 00:00:00 2001 From: "li.yuetong" Date: Thu, 28 Apr 2022 14:56:53 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8B=9B=E5=95=86=E9=93=B6=E8=A1=8C?= =?UTF-8?q?=E4=B8=8D=E8=B5=B0=E5=AE=98=E5=BE=AE=E7=AD=BE=E7=BA=A6,?= =?UTF-8?q?=E5=90=8C=E5=85=B6=E4=BB=96=E9=93=B6=E8=A1=8C=E7=AD=BE=E7=BA=A6?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E3=80=91=E6=8F=90=E7=A4=BA=E8=AF=AD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20'=E4=BA=B2=EF=BC=8C=E9=93=B6=E8=A1=8C=E5=8D=A1?= =?UTF-8?q?=E5=B7=B2=E5=9C=A8=E7=AD=BE=E7=BA=A6=E4=B8=AD=EF=BC=8C=E8=AF=B7?= =?UTF-8?q?=E7=A8=8D=E5=90=8E'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/PayMent.vue | 60 +++++++++++++++++---------------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/src/views/ebiz/sale/PayMent.vue b/src/views/ebiz/sale/PayMent.vue index 0985b0660..a78523393 100644 --- a/src/views/ebiz/sale/PayMent.vue +++ b/src/views/ebiz/sale/PayMent.vue @@ -460,8 +460,9 @@ export default { return true; } const bankCode = JSON.parse(window.localStorage.getItem('underWriteData')).bankCode; - // 1.微信支付方式 2.银行卡支付 且 招商银行卡 需要签约 - if (!((this.radio == '' && ('CMB' == bankCode || '308' == bankCode)) || this.radio == '3')){ + // 1.微信支付方式 2.银行卡支付 且 招商银行卡 需要签约 20220426 招商银行不走官微签约,同其他银行签约流程 + // if (!((this.radio == '' && ('CMB' == bankCode || '308' == bankCode)) || this.radio == '3')){ + if (!(this.radio == '' || this.radio == '3')){ isNeedSignFlag = false; return true; } @@ -514,34 +515,35 @@ export default { // if (checkRes.signState == '4' && shortUrl) { if (checkRes.signState == '4') { // 签约中 - if (checkRes.signConfirmType == '4' && ('CMB' == bankCode || '308' == bankCode)) { - // signConfirmType = 4 代表 招行需签约 - // this.bankSignJump(shortUrl); - Dialog.alert({ - message: '亲,招商银行卡请至官微续期签约~', - confirmButtonColor: '#ff5e50', - }).then(() => {}) - resolve(false); - } - // else { - // // 其他银行 - // const info = '亲,银行卡已在签约中,请确认是否已完成续期银行卡签约,如未完成可以点击继续签约~' - // Dialog.confirm({ - // message: info, - // className: 'reConfirm leftConfirm', - // cancelButtonText: '返回', - // cancelButtonColor: '#ff5e50', - // confirmButtonText: '继续签约', + // if (checkRes.signConfirmType == '4' && ('CMB' == bankCode || '308' == bankCode)) { + // // signConfirmType = 4 代表 招行需签约 + // // this.bankSignJump(shortUrl); + // Dialog.alert({ + // message: '亲,招商银行卡请至官微续期签约~', // confirmButtonColor: '#ff5e50', - // allowHtml: true - // }).then(() => { - // // 继续签约 跳转页面 - // window.location.href = shortUrl - // resolve(false); - // }).catch(() => { - // // 返回 保留在当前页面 - // resolve(false); - // }) + // }).then(() => {}) + // resolve(false); + // } + // else { + // 其他银行 + // const info = '亲,银行卡已在签约中,请确认是否已完成续期银行卡签约,如未完成可以点击继续签约~' + const info = '亲,银行卡已在签约中,请稍后' + Dialog.confirm({ + message: info, + className: 'reConfirm leftConfirm', + cancelButtonText: '确认', + cancelButtonColor: '#ff5e50', + // confirmButtonText: '继续签约', + // confirmButtonColor: '#ff5e50', + allowHtml: true + }).then(() => { + // 继续签约 跳转页面 + // window.location.href = shortUrl + // resolve(false); + }).catch(() => { + // 返回 保留在当前页面 + resolve(false); + }) // } } else if (checkRes.signState == '3') { // 签约失败