mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 21:36:43 +08:00
签约字段先后顺序判断
This commit is contained in:
@@ -584,7 +584,8 @@ 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.signState == '2' || checkRes.needSign == '0') {
|
if (checkRes.needSign == '0') {
|
||||||
|
if(checkRes.signState == '0' || checkRes.signState == '2'){
|
||||||
// 不需签约 或 已签约 不做处理 可以发起支付
|
// 不需签约 或 已签约 不做处理 可以发起支付
|
||||||
console.log('不需签约 或 已签约 不做处理 可以发起支付')
|
console.log('不需签约 或 已签约 不做处理 可以发起支付')
|
||||||
this.$jump({
|
this.$jump({
|
||||||
@@ -596,7 +597,14 @@ export default {
|
|||||||
path: '/sale/attachmentManagement?orderNo=' + this.$route.query.orderNo
|
path: '/sale/attachmentManagement?orderNo=' + this.$route.query.orderNo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (checkRes.needSign == '1'){
|
}
|
||||||
|
}
|
||||||
|
else if (checkRes.needSign == '3') {
|
||||||
|
if(checkRes.signState == '0') {
|
||||||
|
this.$toast('该微信绑定的银行卡金掌桂暂不支持续期签约!')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (checkRes.needSign == '1'){
|
||||||
if (checkRes.signConfirmType == '2'){
|
if (checkRes.signConfirmType == '2'){
|
||||||
this.bankCardContractShow = true
|
this.bankCardContractShow = true
|
||||||
this.rdSeq = checkRes.rdSeq
|
this.rdSeq = checkRes.rdSeq
|
||||||
@@ -605,18 +613,22 @@ export default {
|
|||||||
message: '亲,银行已发送短信至手机号'+ this.appntDTO.mobile +',按照短信提示完成短信回复签约,再次通过金掌桂完成后续流程。',
|
message: '亲,银行已发送短信至手机号'+ this.appntDTO.mobile +',按照短信提示完成短信回复签约,再次通过金掌桂完成后续流程。',
|
||||||
confirmButtonColor: '#ff5e50',
|
confirmButtonColor: '#ff5e50',
|
||||||
}).then(() => {})
|
}).then(() => {})
|
||||||
}else{
|
} else if(checkRes.signConfirmType == '4') {
|
||||||
this.$toast('该微信绑定的银行卡金掌桂暂不支持续期签约!')
|
// this.$toast('招商银行卡请至官微续期签约~')
|
||||||
}
|
|
||||||
if (checkRes.signState == '4') {
|
|
||||||
const info = '亲,银行卡已在签约中,请稍后'
|
|
||||||
Dialog.alert({
|
Dialog.alert({
|
||||||
message: info,
|
message: '招商银行卡请至官微续期签约~',
|
||||||
className: 'reConfirm leftConfirm',
|
|
||||||
confirmButtonColor: '#ff5e50',
|
confirmButtonColor: '#ff5e50',
|
||||||
allowHtml: true
|
}).then(() => {})
|
||||||
}).then(() => {}).catch(() => {})
|
} 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') {
|
} else if (checkRes.signState == '3') {
|
||||||
// 签约失败
|
// 签约失败
|
||||||
const info = '亲,您当前银行卡账户续期签约失败,\n原因:' + checkRes.resultMessage
|
const info = '亲,您当前银行卡账户续期签约失败,\n原因:' + checkRes.resultMessage
|
||||||
@@ -629,8 +641,18 @@ export default {
|
|||||||
confirmButtonColor: '#ff5e50',
|
confirmButtonColor: '#ff5e50',
|
||||||
allowHtml: true
|
allowHtml: true
|
||||||
}).then(() => {}).catch(() => {});
|
}).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)
|
this.$toast(checkRes.resultMessage)
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user