曹睿
4 天以前 5a6b804b09a00ef3d296702453274f654cf5aad4
src/views/procurementManagement/invoiceEntry/index.vue
@@ -42,7 +42,7 @@
        :expand-row-keys="expandRowKeys"
        @expand-change="expandChange"
        @selection-change="handleSelectionChange"
        @pagination="onCurrentChange"
        @pagination="changePage"
      >
        <template #expand="{ row }">
          <ExpandTable ref="expandTableRef" />
@@ -178,8 +178,15 @@
const handleDelete = () => {};
const expandChange = async (row, expandedRows) => {
  await nextTick();
  expandTableRef.value.getList(row.id);
  if (expandedRows.length > 0) {
    await nextTick();
    expandTableRef.value.getList(row.id);
  }
};
const changePage = ({ page }) => {
  pagination.currentPage = page;
  onCurrentChange(page);
};
onMounted(() => {