From 00aba106d3d44167fc119157850c870fe445461c Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Mon, 9 Feb 2026 14:16:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9C=AA=E5=87=BA=E8=B4=A6=E5=8D=95?= =?UTF-8?q?=E5=80=92=E5=BA=8F=E6=8E=92=E5=88=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/work/bill/creditCardBill/list.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/work/bill/creditCardBill/list.vue b/src/pages/work/bill/creditCardBill/list.vue index 3860836..e0d8c30 100644 --- a/src/pages/work/bill/creditCardBill/list.vue +++ b/src/pages/work/bill/creditCardBill/list.vue @@ -174,7 +174,12 @@ function loadmore() { function getList() { status.value = 'loading' listCreditCardBill({ pageSize: 10, pageNum: pageNum.value, ...queryParams.value }).then(res => { - listData.value = listData.value.concat(res.rows) + let rows = res.rows + // 如果查询条件是 billState='0',对数据进行倒序排列 + if (queryParams.value.billState === '0' && rows && rows.length > 0) { + rows = rows.reverse() + } + listData.value = listData.value.concat(rows) if (listData.value.length < res.total) { status.value = 'loadmore' } else {