银行卡签约逻辑修改

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-11-28 16:07:30 +08:00
parent 6e670b2a95
commit c0f9c73e66

View File

@@ -584,20 +584,18 @@ export default {
let checkRes = res.content
if (checkRes.result == '0') {
this.$toast.clear()
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
}
})
}
if (checkRes.needSign == '0' || checkRes.signState == '0' || checkRes.signState == '2') {
// 后端返回不出来并且关系的数据 只能写成或者关系 需求是开门红银行卡续约 后端开发张磊说以实际接口为准进行开发
// 不需签约 或 已签约 不做处理 可以发起支付
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') {