diff --git a/src/views/ebiz/sale/AccountInformation.vue b/src/views/ebiz/sale/AccountInformation.vue index df57fbb24..9486e7922 100644 --- a/src/views/ebiz/sale/AccountInformation.vue +++ b/src/views/ebiz/sale/AccountInformation.vue @@ -584,19 +584,27 @@ export default { let checkRes = res.content if (checkRes.result == '0') { this.$toast.clear() - if (checkRes.signState == '2' || checkRes.needSign == '0') { - // 不需签约 或 已签约 不做处理 可以发起支付 - console.log('不需签约 或 已签约 不做处理 可以发起支付') - this.$jump({ - flag: 'h5', - extra: { - url: location.origin + '/#/sale/attachmentManagement?orderNo=' + this.$route.query.orderNo - }, - routerInfo: { - path: '/sale/attachmentManagement?orderNo=' + this.$route.query.orderNo - } - }) - } else if (checkRes.needSign == '1'){ + if (checkRes.needSign == '0') { + if(checkRes.signState == '0' || checkRes.signState == '2'){ + // 不需签约 或 已签约 不做处理 可以发起支付 + console.log('不需签约 或 已签约 不做处理 可以发起支付') + this.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#/sale/attachmentManagement?orderNo=' + this.$route.query.orderNo + }, + routerInfo: { + path: '/sale/attachmentManagement?orderNo=' + this.$route.query.orderNo + } + }) + } + } + else if (checkRes.needSign == '3') { + if(checkRes.signState == '0') { + this.$toast('该微信绑定的银行卡金掌桂暂不支持续期签约!') + } + } + else if (checkRes.needSign == '1'){ if (checkRes.signConfirmType == '2'){ this.bankCardContractShow = true this.rdSeq = checkRes.rdSeq @@ -605,18 +613,22 @@ export default { message: '亲,银行已发送短信至手机号'+ this.appntDTO.mobile +',按照短信提示完成短信回复签约,再次通过金掌桂完成后续流程。', confirmButtonColor: '#ff5e50', }).then(() => {}) - }else{ - this.$toast('该微信绑定的银行卡金掌桂暂不支持续期签约!') - } - if (checkRes.signState == '4') { - const info = '亲,银行卡已在签约中,请稍后' + } else if(checkRes.signConfirmType == '4') { + // this.$toast('招商银行卡请至官微续期签约~') Dialog.alert({ - message: info, - className: 'reConfirm leftConfirm', + message: '招商银行卡请至官微续期签约~', confirmButtonColor: '#ff5e50', - allowHtml: true - }).then(() => {}).catch(() => {}) - // } + }).then(() => {}) + } else if(checkRes.signConfirmType == '5') { + this.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#/sale/attachmentManagement?orderNo=' + this.$route.query.orderNo + }, + routerInfo: { + path: '/sale/attachmentManagement?orderNo=' + this.$route.query.orderNo + } + }) } else if (checkRes.signState == '3') { // 签约失败 const info = '亲,您当前银行卡账户续期签约失败,\n原因:' + checkRes.resultMessage @@ -629,8 +641,18 @@ export default { confirmButtonColor: '#ff5e50', allowHtml: true }).then(() => {}).catch(() => {}); + } else if (checkRes.signState == '4') { + const info = '亲,银行卡已在签约中,请稍后' + Dialog.alert({ + message: info, + className: 'reConfirm leftConfirm', + confirmButtonColor: '#ff5e50', + allowHtml: true + }).then(() => {}).catch(() => {}) + // } } - } else { + } + else { this.$toast(checkRes.resultMessage) } }else{