gaoluyang
4 天以前 f41f726df15733c4cc161881168e19f62bf060b3
src/views/procurementManagement/invoiceEntry/index.vue
@@ -42,6 +42,7 @@
        :expand-row-keys="expandRowKeys"
        @expand-change="expandChange"
        @selection-change="handleSelectionChange"
        @pagination="changePage"
      >
        <template #expand="{ row }">
          <ExpandTable ref="expandTableRef" />
@@ -87,6 +88,7 @@
  pagination,
  getTableData,
  resetFilters,
  onCurrentChange,
} = usePaginationApi(
  gePurchaseListPage,
  {
@@ -99,6 +101,10 @@
      slot: "expand",
    },
    {
      label: "采购订单号",
      prop: "purchaseContractNumber",
    },
    {
      label: "销售合同号",
      prop: "salesContractNo",
    },
@@ -109,6 +115,14 @@
    {
      label: "项目名称",
      prop: "projectName",
    },
    {
      label: "录入人",
      prop: "recorderName",
    },
    {
      label: "录入日期",
      prop: "entryDate",
    },
    {
      label: "合同金额(元)",
@@ -168,6 +182,11 @@
  expandTableRef.value.getList(row.id);
};
const changePage = ({ page }) => {
  pagination.currentPage = page;
  onCurrentChange(page);
};
onMounted(() => {
  getTableData();
});