From c586e23d7f75fbfbff0a3114956c721c8b6ebb43 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 11 七月 2025 09:31:42 +0800 Subject: [PATCH] 1.库存管理、销售出库-前端分页修改 2.销售出库,必填优化 --- src/views/salesOutbound/index.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/salesOutbound/index.vue b/src/views/salesOutbound/index.vue index 7c26e44..80f4a69 100644 --- a/src/views/salesOutbound/index.vue +++ b/src/views/salesOutbound/index.vue @@ -46,10 +46,10 @@ </div> <pagination v-if="total>0" - :page-num="pageNum" - :page-size="pageSize" + :page="pageNum" + :limit="pageSize" :total="total" - @pagination="handleQuery" + @pagination="handlePagination" :layout="'total, prev, pager, next, jumper'" /> </el-card> @@ -128,6 +128,12 @@ }); handleQuery(); }; +// 鍒嗛〉澶勭悊 +const handlePagination = (val) => { + pageNum.value = val.page; + pageSize.value = val.limit; + getList(); +}; // 鏂板鍑哄簱 const openDia = (row, type) => { console.log(row) -- Gitblit v1.9.3