From df888da7f2736a5fa383c3333b5605486eb51136 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 29 一月 2026 14:33:37 +0800
Subject: [PATCH] 进销存升级 1.用印管理查看时,申请编号显示不一致 2.知识库页面页码展示有误 3.新增的销售报价记录点击编辑后,产品规格型号信息不回显

---
 src/api/viewIndex.js |   42 +++++++++++++++++++++++++++++++++++++-----
 1 files changed, 37 insertions(+), 5 deletions(-)

diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 85e81bd..b003dbf 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -115,11 +115,43 @@
     })
 }
 
-// 浜у搧澶х被鍒嗗竷
-// /home/productCategoryDistribution
-export const productCategoryDistribution = () => {
+// 浜у搧閿�鍞噾棰濆垎鏋�
+export const productSalesAnalysis = () => {
     return request({
-        url: '/home/productCategoryDistribution',
+        url: '/home/productSalesAnalysis',
         method: 'get'
     })
-}
\ No newline at end of file
+}
+
+// 鍘熸潗鏂欓噰璐噾棰濆崰姣�
+export const rawMaterialPurchaseAmountRatio = () => {
+    return request({
+        url: '/home/rawMaterialPurchaseAmountRatio',
+        method: 'get'
+    })
+}
+
+// 閿�鍞�/閲囪喘/鍌ㄥ瓨浜у搧鏁�
+export const salesPurchaseStorageProductCount = () => {
+    return request({
+        url: '/home/salesPurchaseStorageProductCount',
+        method: 'get'
+    })
+}
+
+// 浜у搧鍑哄叆搴撳垎鏋愶紙鍙紶 productType: 1 鍘熸潗鏂� 2 鍗婃垚鍝� 3 鎴愬搧锛�
+export const productInOutAnalysis = (params) => {
+    return request({
+        url: '/home/productInOutAnalysis',
+        method: 'get',
+        params
+    })
+}
+
+// 浜у搧鍛ㄨ浆澶╂暟
+export const productTurnoverDays = () => {
+    return request({
+        url: '/home/productTurnoverDays',
+        method: 'get'
+    })
+}

--
Gitblit v1.9.3