From 02ffe865235cb697e73f09f3f66a40844e209ce1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 11 二月 2026 15:12:38 +0800
Subject: [PATCH] 进销存升级 1.选择台账时,若台账未开票和未来票金额为0时,开票登记和来票登记按钮置灰 2.文档管理分页展示有误
---
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