From 6cd4984f83e7c9fabac3daa23cc9946d9d68314b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 15 七月 2025 17:10:00 +0800
Subject: [PATCH] 1.采购管理-分页bug
---
src/api/viewIndex.js | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 8ac39e4..23bddd8 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -25,21 +25,28 @@
// 瀹㈡埛鍚堝悓閲戦TOP5缁熻
export const getTopFiveList = () => {
return request({
- url: 'sales/ledger/getTopFiveList',
+ url: '/sales/ledger/getTopFiveList',
method: 'get'
})
}
// 鍥炴楗肩姸鍥�
export const getAmountMouth = () => {
return request({
- url: 'receiptPayment/getAmountMouth',
+ url: '/receiptPayment/getAmountMouth',
method: 'get'
})
}
-// 鍥炴楗肩姸鍥�
+// 浠樻楗肩姸鍥�
export const paymentMonthList = () => {
return request({
url: '/purchase/paymentRegistration/paymentMonthList',
method: 'get'
})
+}
+// 绾垮舰鍥�
+export const getAmountHalfYear = () => {
+ return request({
+ url: '/sales/ledger/getAmountHalfYear',
+ method: 'get'
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3