From f388ea8993f8e1a0673d291a301b9eb78d61e86d Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 25 八月 2025 16:13:45 +0800 Subject: [PATCH] 采购管理修改 --- src/views/procurementManagement/paymentHistory/index.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/procurementManagement/paymentHistory/index.vue b/src/views/procurementManagement/paymentHistory/index.vue index 58e5f92..7c71979 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> @@ -63,18 +63,23 @@ const isShowSummarySon = ref(true); const tableColumn = ref([ { + label: "閲囪喘鍚堝悓鍙�", + prop: "purchaseContractNumber", + }, + { label: "浠樻鏃ユ湡", prop: "paymentDate", }, { label: "渚涘簲鍟嗗悕绉�", prop: "supplierName", + width:240 }, { label: "浠樻閲戦", prop: "currentPaymentAmount", formatData: (params) => { - return parseFloat(params).toFixed(2); + return params ? parseFloat(params).toFixed(2) : 0; }, }, { @@ -96,6 +101,7 @@ const page = reactive({ current: 1, size: 100, + total: 0, }); const total = ref(0); const { form: searchForm } = useFormData({ @@ -125,7 +131,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