From afacd28d1593ce4698d83e239dc82440c7d945ad Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 30 三月 2026 17:18:44 +0800
Subject: [PATCH] 生产成品核算页面部分接口对接
---
src/api/costAccounting/productionCost.js | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/src/api/costAccounting/productionCost.js b/src/api/costAccounting/productionCost.js
new file mode 100644
index 0000000..e50f5f6
--- /dev/null
+++ b/src/api/costAccounting/productionCost.js
@@ -0,0 +1,36 @@
+import request from '@/utils/request';
+
+// 鐢熶骇鎴愭湰鏍哥畻鐩稿叧API
+export function getProductionCostSummary(params) {
+ return request({
+ url: '/cost/productionCost/summary',
+ method: 'get',
+ params
+ });
+}
+
+// 鎸変骇鍝佺墿鏂欐眹鎬�
+export function getProductionCostAggregateByProduct(params) {
+ return request({
+ url: '/cost/productionCost/aggregate/product',
+ method: 'get',
+ params
+ });
+}
+
+// 鐢熶骇璁㈠崟Top10
+export function getProductionCostTopOrders(params) {
+ return request({
+ url: '/cost/productionCost/top/order',
+ method: 'get',
+ params
+ });
+}
+// 鎸夎鍗曟眹鎬�
+export function getProductionCostAggregateByOrder(params) {
+ return request({
+ url: '/cost/productionCost/aggregate/order',
+ method: 'get',
+ params
+ });
+}
\ No newline at end of file
--
Gitblit v1.9.3