From dac446f6b3c9d2af234c5674a3ee1d2b7d153470 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 12 六月 2026 09:35:52 +0800
Subject: [PATCH] 宝东 1.样式问题

---
 src/views/productionManagement/productionOrder/index.vue     |    2 +-
 src/components/PIMTable/PIMTable.vue                         |    1 +
 src/views/equipmentManagement/inspectionManagement/index.vue |    3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index f99b1eb..74615af 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -11,6 +11,7 @@
             :row-key="rowKey"
             :style="tableStyle"
             tooltip-effect="dark"
+            :tooltip-options="{ popperOptions: { strategy: 'absolute' } }"
             :expand-row-keys="expandRowKeys"
             :show-summary="isShowSummary"
             :summary-method="summaryMethod"
diff --git a/src/views/equipmentManagement/inspectionManagement/index.vue b/src/views/equipmentManagement/inspectionManagement/index.vue
index fa531f1..5ee9cb7 100644
--- a/src/views/equipmentManagement/inspectionManagement/index.vue
+++ b/src/views/equipmentManagement/inspectionManagement/index.vue
@@ -52,7 +52,8 @@
                   total: total,
                   layout: 'total, sizes, prev, pager, next, jumper'
                 }"
-                  :table-style="{ width: '100%', height: 'calc(100vh - 23em)' }">
+                  height="calc(100vh - 23em)"
+                  :table-style="{ width: '100%' }">
           <template #inspector="{ row }">
             <div class="person-tags">
               <!-- 璋冭瘯淇℃伅锛屼笂绾挎椂鍒犻櫎 -->
diff --git a/src/views/productionManagement/productionOrder/index.vue b/src/views/productionManagement/productionOrder/index.vue
index 9c7682b..4d71881 100644
--- a/src/views/productionManagement/productionOrder/index.vue
+++ b/src/views/productionManagement/productionOrder/index.vue
@@ -487,7 +487,7 @@
     if (!Number.isFinite(n)) return 0;
     if (n <= 0) return 0;
     if (n >= 100) return 100;
-    return Math.round(n);
+    return parseFloat(n.toFixed(2));
   };
 
   // 30/50/80/100 鍒嗘棰滆壊锛氱孩/姗�/钃�/缁�

--
Gitblit v1.9.3