From cbf941d01f7b625003b448aeaa25657d414027b4 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 10 七月 2025 10:09:25 +0800
Subject: [PATCH] 添加多个产品层级时,后面删除按钮点击不到(需要对层级数量做限制)(跟缪总确认,3个层级)

---
 src/views/procurementManagement/invoiceEntry/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/procurementManagement/invoiceEntry/index.vue b/src/views/procurementManagement/invoiceEntry/index.vue
index c8ece35..c7376ee 100644
--- a/src/views/procurementManagement/invoiceEntry/index.vue
+++ b/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" />
@@ -182,6 +182,11 @@
   expandTableRef.value.getList(row.id);
 };
 
+const changePage = ({ page }) => {
+  pagination.currentPage = page;
+  onCurrentChange(page);
+};
+
 onMounted(() => {
   getTableData();
 });

--
Gitblit v1.9.3