From 8f9ff13bd611dea65751c6eebaccd4e292c4c0c6 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期三, 11 二月 2026 17:29:47 +0800
Subject: [PATCH] feat: 已进行开票、回款操作的销售台账需限制不能编辑删除原有产品

---
 src/views/fileManagement/document/index.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/fileManagement/document/index.vue b/src/views/fileManagement/document/index.vue
index a0d824a..aa182b0 100644
--- a/src/views/fileManagement/document/index.vue
+++ b/src/views/fileManagement/document/index.vue
@@ -107,7 +107,6 @@
             current: pagination.currentPage,
             size: pagination.pageSize,
             total: pagination.total,
-            layout: 'total, sizes, prev, pager, next, jumper'
           }"
           @selection-change="handleSelectionChange"
           @pagination="handlePagination"
@@ -1137,9 +1136,9 @@
     
     // 鏋勫缓鏌ヨ鍙傛暟
     const query = {
-      page: pagination.currentPage,
+      current: pagination.currentPage,
       size: pagination.pageSize,
-      documentClassificationId:currentId.value
+      documentClassificationId: currentId.value
     };
     
     const res = await getDocumentList(query);
@@ -1166,9 +1165,10 @@
 };
 
 // 澶勭悊鍒嗛〉鍙樺寲
-const handlePagination = (current, size) => {
-  pagination.currentPage = current;
-  pagination.pageSize = size;
+const handlePagination = (payload) => {
+  // PIMTable emit: { page, limit }
+  pagination.currentPage = payload?.page || 1;
+  pagination.pageSize = payload?.limit || pagination.pageSize;
   loadDocumentList();
 };
 

--
Gitblit v1.9.3