From f78d49f38f25f20968f332882995e1cab4600709 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 04 十二月 2025 11:13:40 +0800
Subject: [PATCH] 样板更改
---
components/WorkOrderPrint.vue | 33 +++++++++++++++++++++++++++++----
1 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/components/WorkOrderPrint.vue b/components/WorkOrderPrint.vue
index 7d74aae..0eaa260 100644
--- a/components/WorkOrderPrint.vue
+++ b/components/WorkOrderPrint.vue
@@ -29,6 +29,7 @@
<th>鍩轰簬鏁伴噰鐨勬姤宸ユ暟</th>
<th>涓嶈壇鏁�</th>
<th>鑹搧鏁帮紙璁$畻锛�</th>
+ <th>鎶ュ伐绫诲瀷</th> <!-- 鏂板 -->
</tr>
</thead>
<tbody>
@@ -45,6 +46,9 @@
<td>{{ order.currentCjNum - order.initCjNum }}</td>
<td>{{ realTimeDefectiveCount }}</td>
<td>{{ realTimeOkCount }}</td>
+ <td>
+ {{ order.daa018 === '寮�宸�' ? '鐢熶骇鎶ュ伐' : '璋冩満鎶ュ伐' }}
+ </td>
</tr>
</tbody>
</table>
@@ -52,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>
@@ -86,7 +90,7 @@
<td>{{ r.reportType || '-' }}</td> <!-- 鏂板 -->
</tr>
<tr v-if="!reportingHistory.length">
- <td colspan="11" class="no-data">鏆傛棤鍘嗗彶鎶ュ伐璁板綍</td>
+ <td colspan="12" class="no-data">鏆傛棤鍘嗗彶鎶ュ伐璁板綍</td>
</tr>
</tbody>
</table>
@@ -136,7 +140,10 @@
<!-- 纭鎻愪氦鍜岃皟鏈烘姤宸ユ寜閽� -->
<view class="submit-section">
<button class="details-btn" @click="confirmCustomAmount">纭鎻愪氦</button>
- <button class="details-btn" @click="confirmTiaojiBaogong">璋冩満鎶ュ伐</button>
+ <button class="details-btn" @click="confirmTiaojiBaogong">
+ 鎶ヨ瘯浜ф暟<br>
+ <span style="font-size:24px;">锛堜粠璋冩満寮�濮嬪埌寮�宸ュ墠鐨勮瘯浜ф暟閲忥級</span>
+ </button>
</view>
</view>
@@ -706,7 +713,8 @@
border: 1px solid #555;
padding: 6px 8px;
text-align: center;
- white-space: nowrap;
+ white-space: normal; /*鍏佽鎹㈣*/
+ word-break: break-all; /*闀垮崟璇� /鏁板瓧涔熸崲琛�*/
}
.status-section {
@@ -1114,6 +1122,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