From 16baeff45b333b130eecdca6bc95e218a2ba0b6b Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Fri, 21 Mar 2025 14:03:32 +0800 Subject: [PATCH] YT-2172 --- src/pages/repleinsh/job/repleinshTimeDetail.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/repleinsh/job/repleinshTimeDetail.vue b/src/pages/repleinsh/job/repleinshTimeDetail.vue index d9d4c2b7..c31ef9bd 100644 --- a/src/pages/repleinsh/job/repleinshTimeDetail.vue +++ b/src/pages/repleinsh/job/repleinshTimeDetail.vue @@ -580,6 +580,11 @@ this.showErrorMessage('扫描非当前物料') return } + + if(this.jobContent.recordList.find(item=>item.toPackingNumber==result.label.packingNumber)){ + this.showErrorMessage('该看板编号已存在,请重新扫描') + return + } this.jobContent.recordList.push({ scaned:true, uom:this.jobContent.uom,