From 86f0166e2a759e6ec2c34b0dd0b388bafa80cedd Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期二, 15 七月 2025 19:41:12 +0800
Subject: [PATCH] 数据报表页面数据列设置固定宽度

---
 src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardPrintModal.vue |   42 +++++++++++++++++++++---------------------
 1 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardPrintModal.vue b/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardPrintModal.vue
index 023ea3d..a393324 100644
--- a/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardPrintModal.vue
+++ b/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardPrintModal.vue
@@ -1,44 +1,44 @@
 <template>
-  <a-modal title="鏁版帶鍔犲伐鍔犲伐绋嬪簭纭琛�" :width="1000" :visible="visible" @cancel="handleCancel" centered>
+  <a-modal :width="1000" :visible="visible" @cancel="handleCancel" centered>
 
-    <div id="table">
+    <div id="table1">
       <div class="table-header">
         <h3>鏁版帶鍔犲伐绋嬪簭纭琛�</h3>
         <div>
-          <div>鍗曚綅锛�<span>鏈哄姞涓績</span></div>
-          <div>缂栧彿锛�<span>25-C140-PST-293</span></div>
+          <div>鍗曚綅锛�<span>{{detail.unit}}</span></div>
+          <div>缂栧彿锛�<span>{{detail.serialNumber}}</span></div>
         </div>
       </div>
 
       <table border="1">
         <tr>
           <th colspan="2">绋嬪簭鏂囦欢鍚�</th>
-          <td colspan="9">TY9F-11-2507-002-TY9F1W0130-30-3</td>
+          <td colspan="9">{{detail.docName}}</td>
         </tr>
 
         <tr>
           <th colspan="2">闆朵欢鍥惧彿</th>
-          <td colspan="4">TY9F-11-2507-002-TY9F1W0130</td>
+          <td colspan="4">{{detail.partsCode}}</td>
           <th>闆朵欢鍚嶇О</th>
-          <td colspan="4">杞帴澶�</td>
+          <td colspan="4">{{detail.partsName}}</td>
         </tr>
 
         <tr>
           <th colspan="2">闆朵欢鏉愭枡</th>
-          <td colspan="4">閽㈡</td>
+          <td colspan="4">{{detail.materielDesp}}</td>
           <th>澶瑰叿</th>
           <td colspan="4">{{detail.fixtureInformation}}</td>
         </tr>
 
         <tr>
           <th colspan="2">宸ュ簭锛堝伐姝ュ彿锛�</th>
-          <td colspan="2">30-3</td>
+          <td colspan="2">{{detail.processWorkCode}}</td>
           <th>鍔犲伐鎵规</th>
-          <td>S2501</td>
+          <td>{{detail.processingBatch}}</td>
           <th>鍔犲伐鏁伴噺</th>
-          <td colspan="2">20</td>
+          <td colspan="2">{{detail.processingQuantity}}</td>
           <th>鍔犲伐璁惧</th>
-          <td>3140123</td>
+          <td>{{detail.processingEquipment}}</td>
         </tr>
 
         <tr style="height: 500px">
@@ -53,24 +53,24 @@
         </tr>
 
         <tr>
-          <th colspan="2">缂栧啓鏃ユ湡</th>
-          <td colspan="2">寮犱笁/2025-4-16</td>
-          <th>鍔犲伐鎵规</th>
-          <td colspan="2">鏉庡洓/2025-4-18</td>
+          <th colspan="2">缂栧啓/鏃ユ湡</th>
+          <td colspan="2">{{detail.compiler_dictText}}/{{detail.compilerTime}}</td>
+          <th>鏍″/鏃ユ湡</th>
+          <td colspan="2">{{detail.proofreader_dictText}}/{{detail.proofreaderTime}}</td>
           <th colspan="2">鎿嶄綔鑰�/棣栨鏃ユ湡</th>
-          <td colspan="2">璧典簲/2025-4-18</td>
+          <td colspan="2">{{detail.operator_dictText}}/{{detail.inspectionTime}}</td>
         </tr>
 
         <tr style="height: 70px">
-          <th colspan="7">鏍规嵁棣栦欢妫�楠屾儏鍐碉紝鍚屾剰璇ョ▼搴忕敤浜庢湰鎵规鐢熶骇锛�</th>
+          <th colspan="7">{{detail.inspectionOpinion}}</th>
           <th colspan="2">瀹℃壒/鏃ユ湡</th>
-          <td colspan="2">鐜嬪叚/2025-4-20</td>
+          <td colspan="2">{{detail.approver_dictText}}/{{detail.approverTime}}</td>
         </tr>
       </table>
     </div>
 
     <template slot="footer">
-      <a-button type="primary" v-print="'#table'">鎵撳嵃</a-button>
+      <a-button type="primary" v-print="'#table1'">鎵撳嵃</a-button>
     </template>
   </a-modal>
 </template>
@@ -96,7 +96,7 @@
   }
 </script>
 
-<style scopedl lang="less">
+<style scoped lang="less">
   .table-header {
     display: flex;
     flex-direction: column;

--
Gitblit v1.9.3