huminmin
21 小时以前 bcc665fab6efc7c73d6034272a29ab3f15fe1cf8
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) {