From 19cfcf0d713d5dafbbed77700a70609d8274d343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com> Date: Mon, 29 Jun 2026 10:50:01 +0800 Subject: [PATCH] =?UTF-8?q?style(attendance):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=80=83=E5=8B=A4=E9=A1=B5=E9=9D=A2=E6=97=B6=E9=97=B4=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E5=92=8C=E9=BB=98=E8=AE=A4=E6=97=A5=E6=9C=9F=E8=8C=83?= =?UTF-8?q?=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 调整考勤同步页面的创建时间展示格式,补充时分秒信息 2. 修改考勤异常页面的默认日期范围,改为昨日至当前时间 --- .../src/views/wms/hrm/attendance/attendanceAbnormal.vue | 8 ++++---- klp-ui/src/views/wms/hrm/attendance/sync.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/klp-ui/src/views/wms/hrm/attendance/attendanceAbnormal.vue b/klp-ui/src/views/wms/hrm/attendance/attendanceAbnormal.vue index 861a3758b..cdfee5d3c 100644 --- a/klp-ui/src/views/wms/hrm/attendance/attendanceAbnormal.vue +++ b/klp-ui/src/views/wms/hrm/attendance/attendanceAbnormal.vue @@ -418,11 +418,11 @@ export default { methods: { initDateRange() { const now = new Date() - const firstDay = new Date(now.getFullYear(), now.getMonth(), 1) - const lastDay = new Date(now.getFullYear(), now.getMonth() + 1, 0) + const yesterday = new Date(now) + yesterday.setDate(yesterday.getDate() - 1) - this.defaultStartTime = this.formatDate(firstDay) - this.defaultEndTime = this.formatDate(lastDay) + this.defaultStartTime = this.formatDate(yesterday) + this.defaultEndTime = this.formatDate(now) this.dateRangeParams = { startDate: this.defaultStartTime, diff --git a/klp-ui/src/views/wms/hrm/attendance/sync.vue b/klp-ui/src/views/wms/hrm/attendance/sync.vue index ec31b126a..bd66c16d9 100644 --- a/klp-ui/src/views/wms/hrm/attendance/sync.vue +++ b/klp-ui/src/views/wms/hrm/attendance/sync.vue @@ -93,7 +93,7 @@