From 7ee681d2f4541517dbe4020cf75e42999f97d441 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 18 七月 2026 09:57:51 +0800
Subject: [PATCH] feat: 质量报表管理添加半成品显示选项通过showSemiFinished控制成品半成品是否显示,优化相关图表和布局

---
 src/api/customerService/index.js |   41 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 40 insertions(+), 1 deletions(-)

diff --git a/src/api/customerService/index.js b/src/api/customerService/index.js
index 560ffe6..e115ae8 100644
--- a/src/api/customerService/index.js
+++ b/src/api/customerService/index.js
@@ -99,4 +99,43 @@
     url: '/afterSalesNearExpiryService/delete?ids=' + ids,
     method: 'delete',
   })
-}
\ No newline at end of file
+}
+
+// 鏌ヨ鎵�鏈夊鎴蜂俊鎭�
+// /basic/customer/list
+export function getAllCustomerList(query) {
+    return request({
+        url: '/basic/customer/list',
+        method: 'get',
+        params: query,
+    })
+}
+
+// 鏍规嵁瀹㈡埛鏌ヨ閿�鍞鍗曞彿
+// afterSalesService/listSalesLedger
+export function getSalesLedger(query) {
+    return request({
+        url: '/afterSalesService/listSalesLedger',
+        method: 'get',
+        params: query,
+    })
+}
+
+// 鏍规嵁閿�鍞鍗曞彿鏌ヨ閿�鍞鍗曡鎯�
+// afterSalesService/count
+export function getSalesLedgerDetail(query) {
+    return request({
+        url: '/afterSalesService/count',
+        method: 'get',
+        params: query,
+    })
+}
+
+// 鍞悗鍗曡鎯�
+export function getAfterSalesServiceById(id) {
+    return request({
+        url: '/afterSalesService/getById',
+        method: 'get',
+        params: { id }
+    })
+}

--
Gitblit v1.9.3