From bc458b96305597cf661a86ddc66a3d29e4624b27 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 03 十二月 2025 17:25:36 +0800
Subject: [PATCH] 调试

---
 components/WorkOrderPrint.vue |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/components/WorkOrderPrint.vue b/components/WorkOrderPrint.vue
index 3da39e1..7dbfa90 100644
--- a/components/WorkOrderPrint.vue
+++ b/components/WorkOrderPrint.vue
@@ -56,7 +56,7 @@
 
                 <!-- 鍘嗗彶鎶ュ伐璁板綍 -->
                 <view class="section-title history-title">鍘嗗彶鎶ュ伐璁板綍</view>
-                <div class="table-scroll">
+                <div class="table-scroll history-table-scroll">
                     <table class="report-table">
                         <thead>
                             <tr>
@@ -1119,6 +1119,23 @@
         border-spacing: 3px;
     }
 
+    .history-table-scroll {
+        max-height: 420px; /* 鍙牴鎹疄闄呴〉闈㈣皟鏁撮珮搴� */
+        overflow-y: scroll; /* 濮嬬粓鏄剧ず绾靛悜婊戞潯 */
+        overflow-x: auto;
+        border: 2px solid #d00;
+        background: #fff;
+    }
+
+        /* 琛ㄥご鍥哄畾 */
+        .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) {
         input.highlight {
             font-size: 16px;

--
Gitblit v1.9.3