From 5709db9dc8d689cdbb7a17842998de185b4a6b91 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 11 七月 2025 13:06:00 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/views/procurementManagement/paymentHistory/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/procurementManagement/paymentHistory/index.vue b/src/views/procurementManagement/paymentHistory/index.vue index 58e5f92..714c670 100644 --- a/src/views/procurementManagement/paymentHistory/index.vue +++ b/src/views/procurementManagement/paymentHistory/index.vue @@ -46,7 +46,7 @@ @selection-change="handleSelectionChange" :tableLoading="tableLoading" @pagination="pagination" - :total="total" + :total="page.total" ></PIMTable> </div> </div> @@ -69,12 +69,13 @@ { label: "渚涘簲鍟嗗悕绉�", prop: "supplierName", + width:240 }, { label: "浠樻閲戦", prop: "currentPaymentAmount", formatData: (params) => { - return parseFloat(params).toFixed(2); + return params ? parseFloat(params).toFixed(2) : 0; }, }, { @@ -96,6 +97,7 @@ const page = reactive({ current: 1, size: 100, + total: 0, }); const total = ref(0); const { form: searchForm } = useFormData({ @@ -125,7 +127,7 @@ paymentHistoryListPage({ ...rest, ...page }).then((res) => { tableLoading.value = false; tableData.value = res.records; - total.value = res.total; + page.total = res.total; }); }; // 瀛愯〃鍚堣鏂规硶 -- Gitblit v1.9.3