zhangwencui
2026-04-25 4d6af5811ff6f2aca592e2ba5dbce369a16ca4d1
src/views/salesManagement/salesLedger/index.vue
@@ -944,8 +944,10 @@
  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";
  const router = useRouter();
  const route = useRoute();
  const userStore = useUserStore();
  const { proxy } = getCurrentInstance();
  const tableData = ref([]);
@@ -2058,7 +2060,8 @@
                                                  <div class="info-row">
                                                    <span class="label">单号:</span>
                                                    <span class="value">${
                                                      item.salesContractNo || ""
                                                                item.salesContractNo ||
                                                                ""
                                                    }</span>
                                                  </div>
                                                </div>
@@ -2078,7 +2081,8 @@
                                                    <tbody>
                                                      ${
                                                        item.products &&
                                                        item.products.length > 0
                                                                  item.products
                                                                    .length > 0
                                                          ? item.products
                                                              .map(
                                                                product => `
@@ -2092,7 +2096,8 @@
                                                              ""
                                                            }</td>
                                                            <td>${
                                                              product.unit || ""
                                                                        product.unit ||
                                                                        ""
                                                            }</td>
                                                            <td>${
                                                              product.taxInclusiveUnitPrice ||
@@ -2584,6 +2589,7 @@
    currentFactoryName.value = res.user.currentFactoryName;
  };
  onMounted(() => {
    searchForm.salesContractNo = route.query.salesContractNo;
    getList();
    userListNoPage().then(res => {
      userList.value = res.data;