diff --git a/src/views/collect/IocCollectOrderCheckCode.vue b/src/views/collect/IocCollectOrderCheckCode.vue index a9715c35..0178da34 100644 --- a/src/views/collect/IocCollectOrderCheckCode.vue +++ b/src/views/collect/IocCollectOrderCheckCode.vue @@ -549,6 +549,21 @@ export default { this.codeCount = this.codeCount + query.udiCodeList.length this.checkCodeEnd() } else { + + if ( this.busDataList.length > 0){ + this.busDataList.forEach(item => { + // 检查 item 的 id 是否与 bizId 匹配 + if (item.id == res.data.bizIdFk) { + // 如果匹配,递增计数器 + if ( item.scanActCount == null){ + item.scanActCount = 1; + }else { + item.scanActCount += 1; + } + } + }); + } + //如果校验成功 this.codeCount = this.codeCount + 1 this.checkCodeList.push(res.data.code)