From 9128f233eb26fbc0dfaa9051a06fe86f53b5f9a0 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 12 六月 2026 09:41:14 +0800
Subject: [PATCH] pro 1.样式修改 2.生产进度条不要四舍五入要保留两位小数

---
 src/views/productionManagement/productionOrder/index.vue |    2 +-
 src/components/PIMTable/PIMTable.vue                     |    2 +-
 vite.config.js                                           |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index d63c197..74615af 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -11,7 +11,7 @@
             :row-key="rowKey"
             :style="tableStyle"
             tooltip-effect="dark"
-            :tooltip-options="{ appendTo: 'body' }"
+            :tooltip-options="{ popperOptions: { strategy: 'absolute' } }"
             :expand-row-keys="expandRowKeys"
             :show-summary="isShowSummary"
             :summary-method="summaryMethod"
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 鍒嗘棰滆壊锛氱孩/姗�/钃�/缁�
diff --git a/vite.config.js b/vite.config.js
index 474f7ac..03311be 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -8,11 +8,11 @@
   const { VITE_APP_ENV } = env;
   const baseUrl =
       env.VITE_APP_ENV === "development"
-          ? "http://localhost:7005"
+          ? "http://1.15.17.182:9048"
           : env.VITE_BASE_API;
   const javaUrl =
       env.VITE_APP_ENV === "development"
-          ? "http://1.15.17.182:9048"
+          ? "http://1.15.17.182:9049"
           : env.VITE_JAVA_API;
   return {
     define:{

--
Gitblit v1.9.3