From b6abea8fd6ea87f2eb3a998b12866f7df2f9da8e Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 27 一月 2026 15:17:31 +0800
Subject: [PATCH] 进销存升级 1.优化供应商档案页面

---
 src/views/procurementManagement/procurementReport/index.vue |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/views/procurementManagement/procurementReport/index.vue b/src/views/procurementManagement/procurementReport/index.vue
index 60a900d..4c17e0c 100644
--- a/src/views/procurementManagement/procurementReport/index.vue
+++ b/src/views/procurementManagement/procurementReport/index.vue
@@ -95,8 +95,7 @@
 // 缁熻鏁版嵁
 const businessSummaryStats = ref({
   totalAmount: 0,
-  productTypes: 0,
-  supplierCount: 0
+  productTypes: 0
 })
 
 // 琛ㄦ牸鍒楅厤缃紙鏍规嵁鍚庣瀛楁瀹氫箟锛�
@@ -104,12 +103,10 @@
   {
     label: '浜у搧澶х被',
     prop: 'productCategory',
-    width: 150,
   },
   {
     label: '瑙勬牸鍨嬪彿',
     prop: 'specificationModel',
-    width: 180
   },
   {
     label: '閲囪喘鏁伴噺',
@@ -122,7 +119,6 @@
   {
     label: '閲囪喘閲戦',
     prop: 'purchaseAmount',
-    width: 140,
     formatData: (val) => {
       return val ? `楼${parseFloat(val).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 })}` : '楼0.00'
     }
@@ -143,7 +139,6 @@
   {
     label: '渚涘簲鍟嗗悕绉�',
     prop: 'supplierName',
-    width: 200
   },
   {
     label: '褰曞叆鏃ユ湡',
@@ -243,12 +238,10 @@
           return sum + (parseFloat(item.purchaseAmount) || 0)
         }, 0)
         businessSummaryStats.value.productTypes = new Set(businessSummaryData.value.map(item => item.productCategory)).size
-        businessSummaryStats.value.supplierCount = new Set(businessSummaryData.value.map(item => item.supplierName).filter(Boolean)).size
       } else {
         businessSummaryStats.value = {
           totalAmount: 0,
-          productTypes: 0,
-          supplierCount: 0
+          productTypes: 0
         }
       }
     }

--
Gitblit v1.9.3