From 505f26cceee25a3b412cfea095c89f62f05c8dce Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 07 五月 2026 13:06:38 +0800
Subject: [PATCH] 优化营销客户相关

---
 src/views/salesManagement/salesLedger/index.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/views/salesManagement/salesLedger/index.vue b/src/views/salesManagement/salesLedger/index.vue
index c6184c8..5340d99 100644
--- a/src/views/salesManagement/salesLedger/index.vue
+++ b/src/views/salesManagement/salesLedger/index.vue
@@ -985,10 +985,9 @@
 import {modelList, productTreeList} from "@/api/basicData/product.js";
 import useFormData from "@/hooks/useFormData.js";
 import dayjs from "dayjs";
-import {getCurrentDate} from "@/utils/index.js";
-import {useRouter, useRoute} from "vue-router";
-import {listCustomerPrivatePool} from "@/api/basicData/customerFile.js";
 import FileUpload from "@/components/AttachmentUpload/file/index.vue";
+import { getCurrentDate } from "@/utils/index.js";
+import {listCustomer} from "@/api/basicData/customer.js";
 
 const FileList = defineAsyncComponent(() => import("@/components/Dialog/FileList.vue"));
 
@@ -1497,7 +1496,7 @@
   selectedQuotation.value = null;
   let userLists = await userListNoPage();
   userList.value = userLists.data;
-  listCustomerPrivatePool({current: -1, size: -1}).then(res => {
+  listCustomer({current: -1, size: -1}).then(res => {
     customerOption.value = res.data.records;
   });
   form.value.entryPerson = userStore.id;
@@ -1534,7 +1533,7 @@
   // 鍏堢‘淇濆鎴峰垪琛ㄥ凡鍔犺浇锛屼究浜庡悗缁洖濉� customerId
   if (!customerOption.value || customerOption.value.length === 0) {
     try {
-      listCustomerPrivatePool({current: -1, size: -1}).then(res => {
+      listCustomer({current: -1, size: -1}).then(res => {
         customerOption.value = res.data.records;
       });
     } catch (e) {

--
Gitblit v1.9.3