From d7fceb14f6fab12f62114ff36a2ec00bd6c7c1c2 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期二, 30 七月 2024 14:46:54 +0800
Subject: [PATCH] 优化检验任务计算值最终值小数位数保留

---
 src/components/tool/value-table.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue
index 3fa5c3c..08b369c 100644
--- a/src/components/tool/value-table.vue
+++ b/src/components/tool/value-table.vue
@@ -648,6 +648,8 @@
                 item.width = 160
               } else if (item.value.length === 6){
                 item.width = 150
+              }  else if (item.value.length === 2){
+                item.width = this.data.sort === false && item.label.includes('Hours') ? 52 : 86
               } else {
                 item.width = this.data.sort === false && item.label.includes('Hours') ? 46 : 86
               }

--
Gitblit v1.9.3