From 4d9ce4d87bcae1f27cffe03befaeb50eea69dde1 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期日, 13 九月 2026 12:35:07 +0800
Subject: [PATCH] fix: 将数量字段的输入精度更新为8位小数

---
 src/views/reportAnalysis/dataDashboard/components/basic/right-top.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/reportAnalysis/dataDashboard/components/basic/right-top.vue b/src/views/reportAnalysis/dataDashboard/components/basic/right-top.vue
index 96e4548..bfc0dea 100644
--- a/src/views/reportAnalysis/dataDashboard/components/basic/right-top.vue
+++ b/src/views/reportAnalysis/dataDashboard/components/basic/right-top.vue
@@ -27,6 +27,8 @@
 import DateTypeSwitch from '../DateTypeSwitch.vue'
 import { supplierPurchaseRanking } from '@/api/viewIndex.js'
 
+const dateRange = inject('psiDateRange', null)
+
 const chartStyle = {
   width: '100%',
   height: '100%',
@@ -295,7 +297,7 @@
 
 // 渚涘簲鍟嗛噰璐帓鍚�
 const fetchSupplierRanking = () => {
-  supplierPurchaseRanking({ type: radio1.value })
+  supplierPurchaseRanking({ type: radio1.value, ...(dateRange?.value || {}) })
     .then((res) => {
       if (res.code === 200 && Array.isArray(res.data)) {
         dataArr.value = res.data.map(item => ({

--
Gitblit v1.9.3