huminmin
2026-04-29 505f26cceee25a3b412cfea095c89f62f05c8dce
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) {