From fcf6e5286e72d2df817ac077b47acd2bfc1e0649 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 12 二月 2026 16:36:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_new' into dev_new

---
 src/pages/humanResources/attendance/checkin.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/pages/humanResources/attendance/checkin.vue b/src/pages/humanResources/attendance/checkin.vue
index a3eb33a..483b264 100644
--- a/src/pages/humanResources/attendance/checkin.vue
+++ b/src/pages/humanResources/attendance/checkin.vue
@@ -129,7 +129,12 @@
     findTodayPersonalAttendanceRecord({}).then(res => {
       if (res.data) {
         todayRecord.value = res.data;
-        noNeedCheckIn.value = false;
+        // 妫�鏌tartAt鍜宔ndAt鏄惁涓虹┖锛屼负绌哄垯鏃犻渶鎵撳崱
+        if (!todayRecord.value.startAt || !todayRecord.value.endAt) {
+          noNeedCheckIn.value = true;
+        } else {
+          noNeedCheckIn.value = false;
+        }
       } else {
         // 椤甸潰鏄剧ず鈥滄棤闇�鎵撳崱鈥�
         todayRecord.value = {};

--
Gitblit v1.9.3