快乐的昕的电脑
2025-12-03 bc458b96305597cf661a86ddc66a3d29e4624b27
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>
@@ -710,8 +710,8 @@
            border: 1px solid #555;
            padding: 6px 8px;
            text-align: center;
            /*white-space: normal;*/ /* 允许换行 */
            word-break: break-all; /* 长单词/数字也换行 */
            white-space: normal; /*允许换行*/
            word-break: break-all; /*长单词 /数字也换行*/
        }
    .status-section {
@@ -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;