双录弹窗新接口对接与调试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 return true
} }
}) })
} if(!showFlag){
if(!showFlag){ let doubleRecordRes = await getDoubleRecordProductLst({})
let doubleRecordRes = await getDoubleRecordProductLst({}) if(doubleRecordRes.result == 0){
if(doubleRecordRes.result == 0){ if(doubleRecordRes.content && doubleRecordRes.content.length != 0){
if(doubleRecordRes.content && doubleRecordRes.content.length != 0){ doubleRecordRes.content.forEach(items=>{
doubleRecordRes.content.forEach(items=>{ this.chooseProducts.map(item => {
this.chooseProducts.map(item => { if (item.riskCode == items ) {
if (item.riskCode == items ) { showFlag = true
showFlag = true return true
return true }
} })
}) })
}) }
} }
} }
} }
if (showFlag) { if (showFlag) {
this.thisdoubledialogshow = true this.thisdoubledialogshow = true
} else { } else {