From 1f022c5b697ffb7dbf5826c262210d008be92e14 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 16 一月 2026 09:29:40 +0800
Subject: [PATCH] 进销存-升级 1.部署修改
---
src/views/procurementManagement/procurementReport/index.vue | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/views/procurementManagement/procurementReport/index.vue b/src/views/procurementManagement/procurementReport/index.vue
index 60a900d..8c8f3f6 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
})
// 琛ㄦ牸鍒楅厤缃紙鏍规嵁鍚庣瀛楁瀹氫箟锛�
@@ -243,12 +242,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