From 55690b8a91083f81158b1619bafe6f248f93265f Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 05 三月 2026 16:22:39 +0800
Subject: [PATCH] fix: 批量删除危险物料管控记录时却只能删除一个

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

diff --git a/src/api/customerService/index.js b/src/api/customerService/index.js
index ee3272a..571601a 100644
--- a/src/api/customerService/index.js
+++ b/src/api/customerService/index.js
@@ -66,15 +66,6 @@
   })
 }
 
-// 鍞悗澶勭悊-缁翠慨璁板綍鍒楄〃
-export function afterSalesServiceRepairListPage(query) {
-  return request({
-    url: '/afterSalesService/repair/listPage',
-    method: 'get',
-    params: query,
-  })
-}
-
 // 涓存湡鍞悗绠$悊-鍒嗛〉鏌ヨ
 export function expiryAfterSalesListPage(query) {
   return request({
@@ -108,4 +99,34 @@
     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,
+    })
+}

--
Gitblit v1.9.3