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 : '' }) - } + // } });