From 03d146cb50b9394be3d60ada2ac403d682bb4be1 Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Fri, 10 Jun 2022 15:11:22 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20-=20=E4=BF=AE=E6=94=B9=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E6=9D=A5=E6=AC=BE=E5=AF=B9=E5=BA=94=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=EF=BC=9B=E4=BF=AE=E6=94=B9=E6=80=BB=E8=AE=A1=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ArriveAndInvoivingList.vue | 2 +- .../WholeInstituteStatisticsList.vue | 8 +++-- .../DepartmentAllStatistics.vue | 6 ++-- .../IndividualPaymentStatisticsDetail.vue | 33 +++++++++++++++---- .../IndividualPaymentStatisticsList.vue | 8 +++-- .../ProjectPaymentStatisticsList.vue | 8 +++-- .../EnterprisePaymentStatisticsDetail.vue | 8 +++-- .../EnterprisePaymentStatisticsList.vue | 8 +++-- .../WorkingGroupPaymentStatisticsDetail.vue | 8 +++-- .../WorkingGroupPaymentStatisticsList.vue | 8 +++-- 10 files changed, 66 insertions(+), 31 deletions(-) diff --git a/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue b/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue index 85ff798..27244a3 100644 --- a/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue +++ b/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue @@ -145,7 +145,7 @@ v-has="'incomePaymentAndInvoiving:invoicing'">开票 确认来款 diff --git a/src/views/statisticalReport/WholeInstituteStatisticsList.vue b/src/views/statisticalReport/WholeInstituteStatisticsList.vue index eb42e0e..3ae0e86 100644 --- a/src/views/statisticalReport/WholeInstituteStatisticsList.vue +++ b/src/views/statisticalReport/WholeInstituteStatisticsList.vue @@ -307,7 +307,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { @@ -382,7 +382,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { @@ -504,7 +504,9 @@ export default { id: '1', title: '总计', allMoney: res.result.sumOfMoney || '0.00' + '', - comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '', + billMoney: res.result.sumOfBillMoney || '0.00' + '', + confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '' } this.footerDataSource = [obj] if (res.result.pageList.total) { diff --git a/src/views/statisticalReport/departmentAllStatistics/DepartmentAllStatistics.vue b/src/views/statisticalReport/departmentAllStatistics/DepartmentAllStatistics.vue index 962a8ca..56cd382 100644 --- a/src/views/statisticalReport/departmentAllStatistics/DepartmentAllStatistics.vue +++ b/src/views/statisticalReport/departmentAllStatistics/DepartmentAllStatistics.vue @@ -156,7 +156,7 @@ const defaultTableColumns = [ align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: {customRender: 'allMoney'} } ] @@ -236,7 +236,9 @@ export default { id: '1', title: '总计', allMoney: res.result.sumOfMoney || '0.00' + '', - comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '', + billMoney: res.result.sumOfBillMoney || '0.00' + '', + confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '' } this.footerDataSource = [obj] if (res.result.pageList.total) { diff --git a/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue b/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue index 25ab854..d56869e 100644 --- a/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue +++ b/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue @@ -97,6 +97,14 @@ + + + @@ -135,6 +150,7 @@ import JYearDate from '../../../components/jero/JYearDate' import { getAction } from '@api/manage' import ProjectDetailModal from '../../../components/ProjectDetailModal' import StatusSlot from '../../../components/tools/StatusSlot' +import {formatMoney} from '@/utils/formatMoney' export default { name: 'IndividualPaymentStatisticsDetail', @@ -198,14 +214,14 @@ export default { width: 160, sorter: true, dataIndex: 'allMoney', - scopedSlots: { customRender: 'text' } + scopedSlots: { customRender: 'allMoney' } }, { title: '实收金额', align: 'center', width: 160, sorter: true, dataIndex: 'comeAllMoney', - scopedSlots: { customRender: 'text' } + scopedSlots: { customRender: 'allMoney' } }, { title: '已开票金额', @@ -220,7 +236,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { @@ -262,14 +278,14 @@ export default { width: 160, sorter: true, dataIndex: 'allMoney', - scopedSlots: { customRender: 'text' } + scopedSlots: { customRender: 'allMoney' } }, { title: '实收金额', align: 'center', width: 160, sorter: true, dataIndex: 'comeAllMoney', - scopedSlots: { customRender: 'text' } + scopedSlots: { customRender: 'allMoney' } }, { title: '已开票金额', @@ -284,7 +300,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { title: '来款用途', @@ -302,6 +318,7 @@ export default { this.setScroll() }, methods: { + formatMoney, // 同步表与footer滚动,保留底部滚动条 setScroll() { if (this.dataSource.length === 0) { @@ -338,7 +355,9 @@ export default { id: '1', title: '总计', allMoney: res.result.sumOfMoney || '0.00' + '', - comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '', + billMoney: res.result.sumOfBillMoney || '0.00' + '', + confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '' } this.footerDataSource = [obj] if (res.result.pageList.total) { diff --git a/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsList.vue b/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsList.vue index bdce9f7..193f8bb 100644 --- a/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsList.vue +++ b/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsList.vue @@ -215,7 +215,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, ], @@ -265,7 +265,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } } ], @@ -353,7 +353,9 @@ export default { id: '1', title: '总计', allMoney: res.result.sumOfMoney || '0.00' + '', - comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '', + billMoney: res.result.sumOfBillMoney || '0.00' + '', + confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '' } this.footerDataSource = [obj] if (res.result.pageList.total) { diff --git a/src/views/statisticalReport/departmentStatistics/ProjectPaymentStatisticsList.vue b/src/views/statisticalReport/departmentStatistics/ProjectPaymentStatisticsList.vue index 1f667f1..36bef78 100644 --- a/src/views/statisticalReport/departmentStatistics/ProjectPaymentStatisticsList.vue +++ b/src/views/statisticalReport/departmentStatistics/ProjectPaymentStatisticsList.vue @@ -255,7 +255,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { @@ -325,7 +325,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { title: '来款用途', @@ -412,7 +412,9 @@ export default { id: '1', title: '总计', allMoney: res.result.sumOfMoney || '0.00' + '', - comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '', + billMoney: res.result.sumOfBillMoney || '0.00' + '', + confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '' } this.footerDataSource = [obj] if (res.result.pageList.total) { diff --git a/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue b/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue index 6a54a09..d829db5 100644 --- a/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue +++ b/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue @@ -229,7 +229,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { @@ -293,7 +293,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { title: '来款用途', @@ -360,7 +360,9 @@ export default { id: '1', title: '总计', allMoney: res.result.sumOfMoney || '0.00' + '', - comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '', + billMoney: res.result.sumOfBillMoney || '0.00' + '', + confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '' } this.footerDataSource = [obj] if (res.result.pageList.total) { diff --git a/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsList.vue b/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsList.vue index 0305f75..59f6f45 100644 --- a/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsList.vue +++ b/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsList.vue @@ -217,7 +217,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { @@ -275,7 +275,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } },{ title: '操作', @@ -369,7 +369,9 @@ export default { id: '1', title: '总计', allMoney: res.result.sumOfMoney || '0.00' + '', - comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '', + billMoney: res.result.sumOfBillMoney || '0.00' + '', + confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '' } this.footerDataSource = [obj] if (res.result.pageList.total) { diff --git a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue index 4edd103..4fefd8f 100644 --- a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue +++ b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue @@ -246,7 +246,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { @@ -318,7 +318,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } },, { title: '来款用途', @@ -362,7 +362,9 @@ export default { id: '1', title: '总计', allMoney: res.result.sumOfMoney || '0.00' + '', - comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '', + billMoney: res.result.sumOfBillMoney || '0.00' + '', + confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '' } this.footerDataSource = [obj] console.log(this.footerDataSource) diff --git a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue index 2649833..7e5341f 100644 --- a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue +++ b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue @@ -224,7 +224,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { @@ -283,7 +283,7 @@ export default { align: 'center', width: 150, sorter: true, - dataIndex: 'preComeMoney', + dataIndex: 'confirmAmount', scopedSlots: { customRender: 'allMoney' } }, { title: '操作', @@ -324,7 +324,9 @@ export default { id: '1', title: '总计', allMoney: res.result.sumOfMoney || '0.00' + '', - comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '', + billMoney: res.result.sumOfBillMoney || '0.00' + '', + confirmAmount: res.result.sumOfConfirmAmount || '0.00' + '' } this.footerDataSource = [obj] this.ipagination.total = res.result.pageList.total || 0