diff --git a/src/views/statisticalReport/WholeInstituteStatisticsList.vue b/src/views/statisticalReport/WholeInstituteStatisticsList.vue index 5b5d54b..ad2f22d 100644 --- a/src/views/statisticalReport/WholeInstituteStatisticsList.vue +++ b/src/views/statisticalReport/WholeInstituteStatisticsList.vue @@ -434,8 +434,8 @@ export default { let obj = { id: '1', title: '总计', - allMoney: res.result.sumOfMoney.toString(), - comeAllMoney: res.result.sumOfReallyMoney.toString() + allMoney: res.result.sumOfMoney || '0.00' + '', + comeAllMoney: res.result.sumOfReallyMoney || '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 498da09..1b92480 100644 --- a/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue +++ b/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue @@ -295,8 +295,8 @@ export default { let obj = { id: '1', title: '总计', - allMoney: res.result.sumOfMoney.toString(), - comeAllMoney: res.result.sumOfReallyMoney.toString() + allMoney: res.result.sumOfMoney || '0.00' + '', + comeAllMoney: res.result.sumOfReallyMoney || '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 f123dc3..1453a2f 100644 --- a/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsList.vue +++ b/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsList.vue @@ -288,8 +288,8 @@ export default { let obj = { id: '1', title: '总计', - allMoney: res.result.sumOfMoney.toString(), - comeAllMoney: res.result.sumOfReallyMoney.toString() + allMoney: res.result.sumOfMoney || '0.00' + '', + comeAllMoney: res.result.sumOfReallyMoney || '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 e604caf..69b8615 100644 --- a/src/views/statisticalReport/departmentStatistics/ProjectPaymentStatisticsList.vue +++ b/src/views/statisticalReport/departmentStatistics/ProjectPaymentStatisticsList.vue @@ -351,8 +351,8 @@ export default { let obj = { id: '1', title: '总计', - allMoney: res.result.sumOfMoney.toString(), - comeAllMoney: res.result.sumOfReallyMoney.toString() + allMoney: res.result.sumOfMoney || '0.00' + '', + comeAllMoney: res.result.sumOfReallyMoney || '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 f0c500b..6580ce5 100644 --- a/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue +++ b/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue @@ -299,8 +299,8 @@ export default { let obj = { id: '1', title: '总计', - allMoney: res.result.sumOfMoney.toString(), - comeAllMoney: res.result.sumOfReallyMoney.toString() + allMoney: res.result.sumOfMoney || '0.00' + '', + comeAllMoney: res.result.sumOfReallyMoney || '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 f5f87ff..c34ffc1 100644 --- a/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsList.vue +++ b/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsList.vue @@ -305,8 +305,8 @@ export default { let obj = { id: '1', title: '总计', - allMoney: res.result.sumOfMoney.toString(), - comeAllMoney: res.result.sumOfReallyMoney.toString() + allMoney: res.result.sumOfMoney || '0.00' + '', + comeAllMoney: res.result.sumOfReallyMoney || '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 4614548..335bd80 100644 --- a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue +++ b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsDetail.vue @@ -300,8 +300,8 @@ export default { let obj = { id: '1', title: '总计', - allMoney: res.result.sumOfMoney.toString(), - comeAllMoney: res.result.sumOfReallyMoney.toString() + allMoney: res.result.sumOfMoney || '0.00' + '', + comeAllMoney: res.result.sumOfReallyMoney || '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 e0738ea..c788f0c 100644 --- a/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue +++ b/src/views/statisticalReport/workingGroupPaymentStatistics/WorkingGroupPaymentStatisticsList.vue @@ -250,17 +250,13 @@ export default { let obj = { id: '1', title: '总计', - allMoney: res.result.sumOfMoney.toString(), - comeAllMoney: res.result.sumOfReallyMoney.toString() + allMoney: res.result.sumOfMoney || '0.00' + '', + comeAllMoney: res.result.sumOfReallyMoney || '0.00' + '' } this.footerDataSource = [obj] - if (res.result.pageList.total) { - this.ipagination.total = res.result.pageList.total - //清空列表选中 - this.onClearSelected() - } else { - this.ipagination.total = 0 - } + this.ipagination.total = res.result.pageList.total || 0 + //清空列表选中 + this.onClearSelected() } if (this.dataSource.length > 0) { this.$nextTick(() => {