From ca1cbb4d2ffb48095d5b2625788efd4e08a5eff8 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 20 一月 2026 14:07:24 +0800
Subject: [PATCH] 湟水峡 1.采购模块不要项目名称 2.加一个有待回款登记的提示 3.回款登记、付款登记改成和销售订单价格关联,并且可以多个一起回款或付款 4.合同管理不要下载合同了,跟合同相关的字段可以去掉了
---
src/api/viewIndex.js | 55 +++++++++++++++++++++++++++++--------------------------
1 files changed, 29 insertions(+), 26 deletions(-)
diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 23bddd8..e3ccb48 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -1,52 +1,55 @@
// 棣栭〉鎺ュ彛
import request from '@/utils/request'
-// 鏈湀鍚堝悓閲戦
-export const getContractAmount = () => {
+// 閿�鍞�-閲囪喘-搴撳瓨鏁版嵁
+export const getBusiness = () => {
return request({
- url: '/sales/ledger/getContractAmount',
+ url: '/home/business',
method: 'get'
})
}
-// 鏈湀寮�绁ㄩ噾棰�
-export const getInvoiceAmount = () => {
+// 瀹㈡埛鍚堝悓閲戦鍒嗘瀽
+export const analysisCustomerContractAmounts = () => {
return request({
- url: '/invoiceLedger/getInvoiceAmount',
+ url: '/home/analysisCustomerContractAmounts',
method: 'get'
})
}
-// 鏈湀鍥炴閲戦
-export const getReceiptAmount = () => {
+// 璐ㄦ鍒嗘瀽
+export const qualityStatistics = () => {
return request({
- url: '/receiptPayment/getReceiptAmount',
+ url: '/home/qualityStatistics',
method: 'get'
})
}
-// 瀹㈡埛鍚堝悓閲戦TOP5缁熻
-export const getTopFiveList = () => {
+// 搴旀敹搴斾粯缁熻
+export const statisticsReceivablePayable = (query) => {
return request({
- url: '/sales/ledger/getTopFiveList',
+ url: '/home/statisticsReceivablePayable',
+ method: 'get',
+ params: query
+ })
+}
+// 寰呭姙浜嬮」
+export const homeTodos = () => {
+ return request({
+ url: '/home/todos',
method: 'get'
})
}
-// 鍥炴楗肩姸鍥�
-export const getAmountMouth = () => {
- return request({
- 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'
})
+}
+
+// 棣栭〉-寰呭洖娆炬彁閱�
+export const overdueReceivable = () => {
+ return request({
+ url: '/home/overdueReceivable',
+ method: 'get'
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3