From c425a8afba0a76eb62d5650cc9c98c42d8339f06 Mon Sep 17 00:00:00 2001
From: zhuguifei <312353457@qq.com>
Date: 星期四, 12 三月 2026 13:01:23 +0800
Subject: [PATCH] perf: 1.优化储丝柜单柜卷包产量计算方式,支持未出料结束计算统计   2.新增储丝柜单柜卷包产量桑基图

---
 ruoyi-plus-soybean/src/views/analy/store-silk/modules/store-silk-detail.vue |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/ruoyi-plus-soybean/src/views/analy/store-silk/modules/store-silk-detail.vue b/ruoyi-plus-soybean/src/views/analy/store-silk/modules/store-silk-detail.vue
index d652e37..9c0252b 100644
--- a/ruoyi-plus-soybean/src/views/analy/store-silk/modules/store-silk-detail.vue
+++ b/ruoyi-plus-soybean/src/views/analy/store-silk/modules/store-silk-detail.vue
@@ -55,38 +55,38 @@
     key: 'index',
     title: $t('common.index'),
     align: 'center',
-    width: 64,
+    width: 56,
     render: (_: any, index: number) => index + 1
   },
   {
     key: 'fsNum',
     title: '鍠備笣鏈哄彿',
     align: 'center',
-    width: 100
+    width: 84
   },
   {
     key: 'siloNum',
     title: '鍌ㄤ笣鏌滃彿',
     align: 'center',
-    width: 100
+    width: 84
   },
   {
     key: 'pipeNum',
     title: '绠¢亾鍙�',
     align: 'center',
-    width: 100
+    width: 84
   },
   {
     key: 'equNo',
     title: '鏈哄彴鍙�',
     align: 'center',
-    width: 100
+    width: 72
   },
   {
     key: 'shiftCode',
     title: '鐝浠g爜',
     align: 'center',
-    width: 100,
+    width: 88,
     render: (row: StoreSilkDetailVo) => {
       const map: Record<string, string> = {
         '1': '鏃╃彮',
@@ -100,19 +100,19 @@
     key: 'shiftStartTime',
     title: '鐝寮�濮嬫椂闂�',
     align: 'center',
-    width: 160
+    width: 148
   },
   {
     key: 'shiftEndTime',
     title: '鐝缁撴潫鏃堕棿',
     align: 'center',
-    width: 160
+    width: 148
   },
   {
     key: 'output',
     title: '浜ч噺(鍗冩敮)',
     align: 'center',
-    width: 120,
+    width: 96,
     render: (row: StoreSilkDetailVo) => {
       if (row.output === null || row.output === undefined) return '-';
       const v = Number(row.output);
@@ -124,7 +124,7 @@
     key: 'outputBox',
     title: '浜ч噺(绠�)',
     align: 'center',
-    width: 100,
+    width: 84,
     render: (row: StoreSilkDetailVo) => {
       const v = detailType.value === 'roller' ? calcRollerBox(row.output) : calcPackerBox(row.output);
       if (v === null) return '-';
@@ -170,4 +170,9 @@
 :deep(.n-card__content) {
   padding: 8px 12px;
 }
+
+:deep(.n-data-table-th),
+:deep(.n-data-table-td) {
+  padding: 4px 6px;
+}
 </style>

--
Gitblit v1.9.3