From ef3aab90e71b07ff22ecc40a0a49236b371c04cd Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 29 四月 2026 13:43:22 +0800
Subject: [PATCH] 优化营销客户相关

---
 src/views/salesManagement/salesLedger/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/salesManagement/salesLedger/index.vue b/src/views/salesManagement/salesLedger/index.vue
index 6b2cfcf..0aa0c23 100644
--- a/src/views/salesManagement/salesLedger/index.vue
+++ b/src/views/salesManagement/salesLedger/index.vue
@@ -632,7 +632,7 @@
 import useFormData from "@/hooks/useFormData.js";
 import dayjs from "dayjs";
 import { getCurrentDate } from "@/utils/index.js";
-import {listCustomerPrivatePool} from "@/api/basicData/customerFile.js";
+import {listCustomer} from "@/api/basicData/customer.js";
 
 const userStore = useUserStore();
 const { proxy } = getCurrentInstance();
@@ -1060,7 +1060,7 @@
 	selectedQuotation.value = null;
 	let userLists = await userListNoPage();
 	userList.value = userLists.data;
-	listCustomerPrivatePool({current: -1,size:-1}).then((res) => {
+  listCustomer({current: -1,size:-1, type: 0}).then((res) => {
 		customerOption.value = res.data.records;
 	});
 	form.value.entryPerson = userStore.id;
@@ -1097,7 +1097,7 @@
 	// 鍏堢‘淇濆鎴峰垪琛ㄥ凡鍔犺浇锛屼究浜庡悗缁洖濉� customerId
 	if (!customerOption.value || customerOption.value.length === 0) {
 		try {
-			listCustomerPrivatePool({current: -1,size:-1}).then((res) => {
+			listCustomer({current: -1,size:-1, type: 0}).then((res) => {
 				customerOption.value = res.data.records;
 			});
 		} catch (e) {

--
Gitblit v1.9.3