From 5f913781b2f677f8e9567a2193b9273525e7d609 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 15 四月 2026 09:33:46 +0800
Subject: [PATCH] 更新销售台账页面,客户名称选择改为下拉框,新增交货日期自动设置逻辑

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

diff --git a/src/api/customerService/index.js b/src/api/customerService/index.js
index 560ffe6..571601a 100644
--- a/src/api/customerService/index.js
+++ b/src/api/customerService/index.js
@@ -99,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