Browse Source

解决工时成本统计成本显示错误的问题

Lijy 1 year ago
parent
commit
8db139ff68
1 changed files with 3 additions and 1 deletions
  1. 3 1
      fhKeeper/formulahousekeeper/timesheet/src/views/project/cost.vue

+ 3 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/project/cost.vue

@@ -1178,7 +1178,9 @@
                         _this.myChart = myChart;
                         if(totalMoneyCost) {
                             this.zhishin = totalMoneyCost.toFixed(2)
-                        } 
+                        } else {
+                            this.zhishin = 0
+                        }
                         if(this.radio == this.$t('other.project') || this.radio == this.$t('zhu-xiang-mu') || this.radio == this.$t('ren-yuan') || this.radio == this.$t('projectclassification') || this.radio==this.$t('lable.department')) {
                             var option = {
                                 title: {