From 489a0fcb59417ffa6b7998e14696e5467dea7c45 Mon Sep 17 00:00:00 2001 From: qmj <37242163+qmj666@users.noreply.github.com> Date: Thu, 22 Jan 2026 09:03:10 +0800 Subject: [PATCH] 剔除校验重复人员 --- src/mes/common/commonOperationBarComponent/MesToolbar.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mes/common/commonOperationBarComponent/MesToolbar.js b/src/mes/common/commonOperationBarComponent/MesToolbar.js index beb733b..87e5fb4 100644 --- a/src/mes/common/commonOperationBarComponent/MesToolbar.js +++ b/src/mes/common/commonOperationBarComponent/MesToolbar.js @@ -1059,9 +1059,9 @@ const handleScanFace = (props) => { proData.forEach(item => { const data = commonFunc.getAssignFieldValue(copyConfig?.sAssignField, item) const index = tableData.findIndex(x => x.sEmployeeNo === item.sEmployeeNo) - if (index !== -1) { - message.error('人员重复,请重新添加', 5) - } else { + // if (index !== -1) { + // message.error('人员重复,请重新添加', 5) + // } else { tableData.push({ ...item, ...data, @@ -1070,7 +1070,7 @@ const handleScanFace = (props) => { sParentId: props.masterData.sId, slaveId: props?.slaveData ? props?.slaveData[0].sId : '' }) - } + // } }); -- libgit2 0.22.2