From fd4d5934e89f7dee284cb78b6d4d276b2f283d7d Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 15 四月 2026 10:53:30 +0800
Subject: [PATCH] 优化销售台账页面:新增产品信息的内联编辑功能,支持产品类别、规格型号、尺寸、数量、含税单价等字段的动态修改,提升用户交互体验

---
 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