From 5212a6986ffc07913b6f0f18182be38530d231d8 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Tue, 18 Feb 2025 18:06:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/collect/IocCollectOrderCheckCode.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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)