gaoluyang
2025-11-28 d96af1249dbd445707fecd8817d681525bad1dd6
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')], // 来票日期
  },
  [
    {
@@ -172,11 +173,6 @@
      width: 240,
    },
    {
      label: "产品大类",
      prop: "productCategory",
      width: 150,
    },
    {
      label: "规格型号",
      prop: "specificationModel",
      width: 150,
@@ -195,17 +191,12 @@
      },
    },
    {
      label: "本次来票数",
      prop: "ticketsNum",
      width: 110,
    },
    {
      label: "来票日期",
      label: "开票日期",
      prop: "createdAt",
      width: 110,
    },
    {
      label: "来票金额(元)",
      label: "开票金额",
      prop: "ticketsAmount",
      width: 200,
      formatData: (cell) => {