贵州地区调用双录接口相关的代码逻辑放开

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-11-07 10:22:38 +08:00
parent 4d0823bd60
commit 73b99fa5ec

View File

@@ -775,29 +775,29 @@
})
} else {
let showFlag = false
// if (this.manageComCode == '52') {
// this.chooseProducts.map(item => {
// if (item.insuYearFlag == 'A' || (item.insuYearFlag == 'Y' && item.insuYear != '1')) {
// 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 (this.manageComCode == '52') {
this.chooseProducts.map(item => {
if (item.insuYearFlag == 'A' || (item.insuYearFlag == 'Y' && item.insuYear != '1')) {
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 {