银行卡签约逻辑修改

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,10 +584,9 @@ export default {
let checkRes = res.content let checkRes = res.content
if (checkRes.result == '0') { if (checkRes.result == '0') {
this.$toast.clear() this.$toast.clear()
if (checkRes.needSign == '0') { if (checkRes.needSign == '0' || checkRes.signState == '0' || checkRes.signState == '2') {
if(checkRes.signState == '0' || checkRes.signState == '2'){ // 后端返回不出来并且关系的数据 只能写成或者关系 需求是开门红银行卡续约 后端开发张磊说以实际接口为准进行开发
// 不需签约 或 已签约 不做处理 可以发起支付 // 不需签约 或 已签约 不做处理 可以发起支付
console.log('不需签约 或 已签约 不做处理 可以发起支付')
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
@@ -598,7 +597,6 @@ export default {
} }
}) })
} }
}
else if (checkRes.needSign == '3') { else if (checkRes.needSign == '3') {
if(checkRes.signState == '0') { if(checkRes.signState == '0') {
this.$toast('该微信绑定的银行卡金掌桂暂不支持续期签约!') this.$toast('该微信绑定的银行卡金掌桂暂不支持续期签约!')