From 551026f4e45d1355926a4c998f81842217ec1812 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 14 一月 2026 17:50:24 +0800
Subject: [PATCH] 进销存-升级 1.开票登记、来票登记改成绑定订单,不绑定开票 2.客户往来、供应商往来展示联调修改 3.修改销售报价逻辑 4.新增销售台账时可以选择已通过报价的模版 5.指标统计页面数据展示修改
---
src/api/viewIndex.js | 47 +++++++++++++++++++++--------------------------
1 files changed, 21 insertions(+), 26 deletions(-)
diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 23bddd8..2d85171 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -1,48 +1,43 @@
// 棣栭〉鎺ュ彛
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({
--
Gitblit v1.9.3