gaoluyang
2025-11-28 1ab015896fcf64ba99c5271837169a342109adae
src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -82,7 +82,6 @@
            type="primary"
            text
            @click="openEdit(row)"
                  :disabled="row.issUerId !== userStore.id"
          >
            编辑
          </el-button>
@@ -123,6 +122,7 @@
import EditModal from "./Modal/EditModal.vue";
import useUserStore from "@/store/modules/user.js";
import {delInvoiceLedgerByRegProductId} from "@/api/salesManagement/invoiceLedger.js";
import dayjs from "dayjs";
const userStore = useUserStore();
defineOptions({
@@ -148,7 +148,8 @@
  {
    purchaseContractNumber: undefined, // 采购合同号
    supplierName: undefined, // 供应商
    createdAt: [], // 来票日期
    // 设置来票日期范围为当天
    createdAt: [dayjs().startOf('day').format('YYYY-MM-DD'), dayjs().endOf('day').format('YYYY-MM-DD')], // 来票日期
  },
  [
    {
@@ -162,8 +163,8 @@
      width: 150,
    },
    {
      label: "客户名称",
      prop: "customerName",
      label: "项目名称",
      prop: "projectName",
      width: 240,
    },
    {
@@ -289,8 +290,9 @@
  });
};
const changePage = ({ page }) => {
const changePage = ({ page, limit }) => {
  pagination.currentPage = page;
   pagination.pageSize = limit;
  onCurrentChange(page);
};