From b8de520fa696d8a95393aa3ff544c5a6f5c36001 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期三, 30 九月 2026 15:33:41 +0800
Subject: [PATCH] 宁夏万通需求:出库单行支持主/辅单位录入;物料型号维护;考勤节假日配置时间段;设备批量删除;质检导出按筛选条件

---
 src/views/hrm/attendance/holiday/data.ts |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/views/hrm/attendance/holiday/data.ts b/src/views/hrm/attendance/holiday/data.ts
index 822451b..9ae34ac 100644
--- a/src/views/hrm/attendance/holiday/data.ts
+++ b/src/views/hrm/attendance/holiday/data.ts
@@ -29,11 +29,10 @@
       rules: 'required',
     },
     {
-      fieldName: 'date',
-      label: '鏃ユ湡',
-      component: 'DatePicker',
+      fieldName: 'dateRange',
+      label: '鏃ユ湡鍖洪棿',
+      component: 'RangePicker',
       componentProps: {
-        placeholder: '閫夋嫨鏃ユ湡',
         valueFormat: 'YYYY-MM-DD',
         style: { width: '100%' },
       },
@@ -126,7 +125,14 @@
 export function useGridColumns(): VxeTableGridOptions<HrmAttendanceHolidayApi.Holiday>['columns'] {
   return [
     { field: 'name', title: '鑺傚亣鏃ュ悕绉�', minWidth: 150 },
-    { field: 'date', title: '鏃ユ湡', width: 120 },
+    {
+      field: 'startDate',
+      title: '鏃ユ湡鍖洪棿',
+      minWidth: 200,
+      slots: {
+        default: 'dateRange',
+      },
+    },
     {
       field: 'type',
       title: '绫诲瀷',

--
Gitblit v1.9.3