From 843d1d0d0936375c7cc259d9483fd09fec4e7bff Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 10 六月 2026 14:14:06 +0800
Subject: [PATCH] pro 1.销售出库、销售退货、开票申请、撤项发票、收款单、采购入库、采购退货、进项发票、人员薪资、付款申请、付款单等页面需要做金额的统计合算

---
 src/api/procurementManagement/paymentLedger.js |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/api/procurementManagement/paymentLedger.js b/src/api/procurementManagement/paymentLedger.js
index 3e20b78..537ba9f 100644
--- a/src/api/procurementManagement/paymentLedger.js
+++ b/src/api/procurementManagement/paymentLedger.js
@@ -1,19 +1,29 @@
 // 閲囪喘鍙拌处椤甸潰鎺ュ彛
 import request from "@/utils/request";
 
-// 鍒嗛〉鏌ヨ
+/** 浠樻鍙拌处 - 渚涘簲鍟嗗線鏉ユ眹鎬� */
 export function paymentLedgerList(query) {
   return request({
-    url: "/purchase/paymentRegistration/paymentLedgerList",
+    url: "/purchase/report/supplierTransactions",
     method: "get",
     params: query,
   });
 }
 
-// 鍒嗛〉鏌ヨ
-export function paymentRecordList(supplierId) {
+/** 浠樻鍙拌处 - 渚涘簲鍟嗗線鏉ユ槑缁� */
+export function paymentRecordList(params) {
   return request({
-    url: "/purchase/paymentRegistration/getPaymentRecordList/" + supplierId,
+    url: "/purchase/report/supplierTransactionsDetails",
     method: "get",
+    params,
+  });
+}
+
+/** 浠樻鍙拌处 - 浠樻鐧昏鍒楄〃 */
+export function registrationList(params) {
+  return request({
+    url: "/purchase/report/registration",
+    method: "get",
+    params,
   });
 }

--
Gitblit v1.9.3