Commit 2e6b9e9f01d0566a899dfee8a304a8393c95540b

Authored by zhangzzzz
1 parent be08e823

下班也需要人脸;

Showing 1 changed file with 8 additions and 0 deletions
src/mes/teamInfo/index.js
@@ -329,6 +329,14 @@ const useTeamInfoEvent = props => { @@ -329,6 +329,14 @@ const useTeamInfoEvent = props => {
329 // } 329 // }
330 330
331 const { config, record, name } = params; 331 const { config, record, name } = params;
  332 +
  333 + if (workState === "off") {
  334 + if (faceResult.sEmployeeNo !== record.sActualEmployeeNo) {
  335 + message.error("下班人员与上班人员不一致!");
  336 + return;
  337 + }
  338 + }
  339 +
332 props.onProcedureCall({ 340 props.onProcedureCall({
333 btnConfig: config, 341 btnConfig: config,
334 tableData: [record], 342 tableData: [record],