From 9ea5ff67655241271bdf04bb50ca3a8d60c4e22a Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 11 八月 2026 15:07:02 +0800
Subject: [PATCH] fix: 用河南鹤壁代码覆盖山西长治
---
src/views/financialManagement/receivable/salesReturn.vue | 24 +-----------------------
1 files changed, 1 insertions(+), 23 deletions(-)
diff --git a/src/views/financialManagement/receivable/salesReturn.vue b/src/views/financialManagement/receivable/salesReturn.vue
index afe363c..c58d330 100644
--- a/src/views/financialManagement/receivable/salesReturn.vue
+++ b/src/views/financialManagement/receivable/salesReturn.vue
@@ -37,8 +37,6 @@
:column="columns"
:tableData="dataList"
:tableLoading="tableLoading"
- isShowSummary
- :summaryMethod="getSummaries"
:page="{
current: pagination.currentPage,
size: pagination.pageSize,
@@ -82,6 +80,7 @@
label: "閫�娆炬�婚",
prop: "refundAmount",
minWidth: "120",
+ align: "right",
formatData: (val) =>
val === null || val === undefined || val === ""
? ""
@@ -148,27 +147,6 @@
pagination.currentPage = page;
pagination.pageSize = limit;
getTableData();
-};
-
-const getSummaries = ({ columns, data }) => {
- const sums = [];
- columns.forEach((col, index) => {
- if (index === 0) {
- sums[index] = "鍚堣";
- } else if (col.property === "refundAmount") {
- const total = data.reduce((prev, cur) => {
- const v = Number(cur.refundAmount);
- return prev + (isNaN(v) ? 0 : v);
- }, 0);
- sums[index] = total.toLocaleString("zh-CN", {
- minimumFractionDigits: 2,
- maximumFractionDigits: 2,
- });
- } else {
- sums[index] = "";
- }
- });
- return sums;
};
const handleOut = () => {
--
Gitblit v1.9.3