From 781778cdea9e3656dc00ae9945aa73deaea32f9b Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 17 四月 2026 14:35:57 +0800
Subject: [PATCH] 打印样式重构

---
 src/views/qualityManagement/finalInspection/index.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/views/qualityManagement/finalInspection/index.vue b/src/views/qualityManagement/finalInspection/index.vue
index da31937..625429c 100644
--- a/src/views/qualityManagement/finalInspection/index.vue
+++ b/src/views/qualityManagement/finalInspection/index.vue
@@ -101,6 +101,11 @@
     width: 120
   },
   {
+    label: "鐢熶骇鎵瑰彿",
+    prop: "batchNo",
+    width: 140
+  },
+  {
     label: "妫�楠屽憳",
     prop: "checkName",
   },
@@ -286,7 +291,11 @@
   params.entryDate = undefined
   qualityInspectListPage({...params, inspectType: 2}).then(res => {
     tableLoading.value = false;
-    tableData.value = res.data.records
+    const records = res.data.records || [];
+    tableData.value = records.map((row) => ({
+      ...row,
+      batchNo: row.batchNo ?? row.productionBatchNo ?? "",
+    }));
     page.total = res.data.total;
   }).catch(err => {
     tableLoading.value = false;

--
Gitblit v1.9.3