From a0535e42ebe01366d3bb83e00eb0180b34682a63 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 04 六月 2026 14:04:19 +0800
Subject: [PATCH] 马铃薯app 1.客户往来、供应商往来查询展示修改 2.环境检测页面展示修改
---
src/pages/oa/_components/FinReimbursementListPage.vue | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/pages/oa/_components/FinReimbursementListPage.vue b/src/pages/oa/_components/FinReimbursementListPage.vue
index 1cbc1d1..ab6ad06 100644
--- a/src/pages/oa/_components/FinReimbursementListPage.vue
+++ b/src/pages/oa/_components/FinReimbursementListPage.vue
@@ -118,7 +118,6 @@
import { getApprovalModuleConfig } from "../_utils/approvalModuleRegistry.js";
import {
createModuleSearchForm,
- filterRowsByModuleSearch,
formatDateRangeLabel,
getModuleSearchMeta,
} from "../_utils/approvalModuleListSearch.js";
@@ -132,7 +131,9 @@
deleteFinReimbursement,
getReimbursementTypeByModuleKey,
enrichReimbursementListRowsWithApprovalFlow,
+ filterReimbursementRowsBySearch,
filterRowsByReimbursementType,
+ hasActiveReimbursementSearch,
mapFinReimbursementFromApi,
resolveReimbursementDeleteId,
unwrapFinReimbursementPage,
@@ -170,7 +171,7 @@
}
const displayList = computed(() =>
- filterRowsByModuleSearch(props.moduleKey, list.value, searchForm)
+ filterReimbursementRowsBySearch(list.value, searchForm)
);
const hasActiveFilter = computed(() => Boolean(filterSummary.value));
@@ -242,6 +243,9 @@
mapped,
reimbursementType.value
);
+ if (hasActiveReimbursementSearch(searchForm)) {
+ mapped = filterReimbursementRowsBySearch(mapped, searchForm);
+ }
if (page.current === 1) {
list.value = mapped;
@@ -249,8 +253,12 @@
list.value = [...list.value, ...mapped];
}
const dropped = records.length - filtered.length;
- page.total =
+ let nextTotal =
dropped > 0 ? Math.max(0, Number(total) - dropped) : Number(total);
+ if (hasActiveReimbursementSearch(searchForm)) {
+ nextTotal = list.value.length;
+ }
+ page.total = nextTotal;
if (list.value.length >= total || records.length < page.size) {
pageStatus.value = "nomore";
--
Gitblit v1.9.3