From 7e2d31c20b816309cb222c2159c3875623f74385 Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期三, 28 五月 2025 10:24:22 +0800 Subject: [PATCH] 工具入库功能 --- src/views/tms/modules/toolsClassify/ToolsClassifyListRight.vue | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/views/tms/modules/toolsClassify/ToolsClassifyListRight.vue b/src/views/tms/modules/toolsClassify/ToolsClassifyListRight.vue index 14b3ab0..fa65571 100644 --- a/src/views/tms/modules/toolsClassify/ToolsClassifyListRight.vue +++ b/src/views/tms/modules/toolsClassify/ToolsClassifyListRight.vue @@ -167,6 +167,18 @@ data () { return { description: '宸ュ叿鍒嗙被绠$悊椤甸潰', + /* 鍒嗛〉鍙傛暟 */ + ipagination:{ + current: 1, + pageSize: 10, + pageSizeOptions: ['10', '20', '50'], + showTotal: (total, range) => { + return range[0] + "-" + range[1] + " 鍏�" + total + "鏉�" + }, + showQuickJumper: true, + showSizeChanger: true, + total: 0 + }, // 琛ㄥご columns: [ { @@ -366,8 +378,10 @@ .then((res) => { if (res.success) { this.dataSource = res.result.records; // 鏇存柊琛ㄦ牸鏁版嵁 + this.ipagination.total = res.result.total } else { this.$message.warning(res.message); + this.ipagination.total = 0 } }) .finally(() => { -- Gitblit v1.9.3