双录弹窗新接口对接与调试2

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-10-08 09:26:54 +08:00
parent 7d4c1f1397
commit 05d8a6a03d

View File

@@ -778,23 +778,22 @@ export default {
return true
}
})
}
if(!showFlag){
let doubleRecordRes = await getDoubleRecordProductLst({})
if(doubleRecordRes.result == 0){
if(doubleRecordRes.content && doubleRecordRes.content.length != 0){
doubleRecordRes.content.forEach(items=>{
this.chooseProducts.map(item => {
if (item.riskCode == items ) {
showFlag = true
return true
}
if(!showFlag){
let doubleRecordRes = await getDoubleRecordProductLst({})
if(doubleRecordRes.result == 0){
if(doubleRecordRes.content && doubleRecordRes.content.length != 0){
doubleRecordRes.content.forEach(items=>{
this.chooseProducts.map(item => {
if (item.riskCode == items ) {
showFlag = true
return true
}
})
})
})
}
}
}
}
if (showFlag) {
this.thisdoubledialogshow = true
} else {