From 9cf46132b5741c5d521c66b29616cefb323ce9f0 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期五, 21 十一月 2025 16:05:23 +0800
Subject: [PATCH] 报工记录表显示备注
---
components/WorkOrderPrint.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/components/WorkOrderPrint.vue b/components/WorkOrderPrint.vue
index d9222e4..7d74aae 100644
--- a/components/WorkOrderPrint.vue
+++ b/components/WorkOrderPrint.vue
@@ -22,7 +22,7 @@
<th>宸ュ崟鍙�</th>
<th>浜у搧鍚嶇О</th>
<th>璁″垝鐢熶骇鏁�</th>
- <th>鏈姤宸ユ暟閲�</th> <!-- 鏂板 -->
+ <th>鏈姤宸ユ暟閲�</th>
<th>鏈哄彴鍙�</th>
<th>鍒濆閲囬泦鏁�</th>
<th>鎶ュ伐鏃堕噰闆嗘暟</th>
@@ -67,6 +67,7 @@
<th>鎶ュ伐鏁帮紙璁$畻锛�</th>
<th>涓嶈壇鏁�</th>
<th>鑹搧鏁帮紙璁$畻锛�</th>
+ <th>鎶ュ伐绫诲瀷</th> <!-- 鏂板 -->
</tr>
</thead>
<tbody>
@@ -82,6 +83,7 @@
<td>{{ r.totalProduction }}</td>
<td>{{ r.BfQty }}</td>
<td>{{ r.OkQty }}</td>
+ <td>{{ r.reportType || '-' }}</td> <!-- 鏂板 -->
</tr>
<tr v-if="!reportingHistory.length">
<td colspan="11" class="no-data">鏆傛棤鍘嗗彶鎶ュ伐璁板綍</td>
@@ -399,7 +401,8 @@
productionCount: r.cjQty ?? 0,//鎶ュ伐鏃堕噰闆嗘暟
totalProduction: (r.cjQty - r.csQty) ?? 0,//鎶ュ伐鏁帮紙璁$畻锛�
BfQty: r.bfQty,//涓嶈壇鏁�
- OkQty: r.okQty//鑹搧鏁帮紙璁$畻锛�
+ OkQty: r.okQty,//鑹搧鏁帮紙璁$畻锛�
+ reportType:r.remark //鎶ュ伐绫诲瀷
}
});
}).catch(() => { this.reportingHistory = []; });
--
Gitblit v1.9.3