diff --git a/src/views/progress/progressCategory/index.vue b/src/views/progress/progressCategory/index.vue index bcce1a8..ee6ae73 100644 --- a/src/views/progress/progressCategory/index.vue +++ b/src/views/progress/progressCategory/index.vue @@ -24,7 +24,7 @@ - + 新增 @@ -40,7 +40,7 @@ 展开/折叠 - + @@ -50,7 +50,8 @@ 产值金额(业主) - {{ ownerOutputSum }} + {{ ownerOutputSum }} + 0 @@ -61,7 +62,8 @@ 产值金额(分包) - {{ constructionOutputSum }} + {{ constructionOutputSum }} + 0 @@ -313,7 +315,7 @@ const ownerOutputSum = computed(() => { tempData.value.forEach(item => { sum += Number(item.ownerOutputValue); }) - return proxy.formatPrice(sum); + return proxy.formatPrice(sum) ?? 0; }); const constructionOutputSum = computed(() => { let sum = 0; @@ -542,58 +544,100 @@ onUnmounted(() => {