From 13b159ff704e829329793a7505f6c6e5e2b4f8ef Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 03 十二月 2025 17:00:41 +0800
Subject: [PATCH] 历史报工记录表头固定

---
 components/WorkOrderPrint.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/components/WorkOrderPrint.vue b/components/WorkOrderPrint.vue
index 7e615db..a32f133 100644
--- a/components/WorkOrderPrint.vue
+++ b/components/WorkOrderPrint.vue
@@ -1119,12 +1119,13 @@
         border-spacing: 3px;
     }
 
-    .history-table-scroll {
-        max-height: 420px; /* 鍙牴鎹疄闄呴〉闈㈣皟鏁撮珮搴� */
-        overflow-y: auto;
-        overflow-x: scroll !important;
-        border: 2px solid #d00;
+    /* 鍘嗗彶鎶ュ伐璁板綍琛ㄥご鍥哄畾 */
+    .history-table-scroll thead tr th {
+        position: sticky;
+        top: 0;
+        z-index: 2;
         background: #fff;
+        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
     }
 
     @media (max-width:1400px) {

--
Gitblit v1.9.3