From 6f1611828480fcb96449d43d06dd20c046f0b8a6 Mon Sep 17 00:00:00 2001
From: yaozc <unbelievers@yeah.net>
Date: Sat, 28 Jan 2023 01:50:30 +0000
Subject: [PATCH] BUG修改
---
eladmin-web-master/src/views/project/projectProgress/index.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/eladmin-web-master/src/views/project/projectProgress/index.vue b/eladmin-web-master/src/views/project/projectProgress/index.vue
index 48404be..871be90 100644
--- a/eladmin-web-master/src/views/project/projectProgress/index.vue
+++ b/eladmin-web-master/src/views/project/projectProgress/index.vue
@@ -111,41 +111,41 @@
</el-table-column>
<el-table-column show-overflow-tooltip prop="projectProgress" label="本周实际">
<template slot-scope="scope">
- <span :style="{ color: scope.row.lastedProgress > scope.row.projectProgress ? 'red' : '' }">{{ (scope.row.projectProgress ? scope.row.projectProgress + '%' : '') }}</span>
+ <span :style="{ color: scope.row.lastedProgress > scope.row.projectProgress ? 'red' : '' }">{{ (scope.row.projectProgress ? scope.row.projectProgress + '%' : '0%') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="estimatedProgress" label="下周预计">
<template slot-scope="scope">
- {{ (scope.row.estimatedProgress ? scope.row.estimatedProgress + '%' : '') }}
+ {{ (scope.row.estimatedProgress ? scope.row.estimatedProgress + '%' : '0%') }}
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="moneyTotalInit" label="计划总成本" width="140px">
<template slot-scope="scope">
{{ scope.row.moneyTotalInit != null && scope.row.moneyTotalInit != '' ? crud.toMoney(scope.row.moneyTotalInit) : 0 }}
- ({{ scope.row.lastProjectProcess.moneyTotalInit != null && scope.row.lastProjectProcess.moneyTotalInit != '' ? crud.toMoney(scope.row.moneyTotalInit - scope.row.lastProjectProcess.moneyTotalInit) : 0 }})
+ ({{ scope.row.lastProjectProcess.moneyTotalInit != null && scope.row.lastProjectProcess.moneyTotalInit != '' ? crud.toMoney(scope.row.moneyTotalInit - scope.row.lastProjectProcess.moneyTotalInit) : crud.toMoney(0) }})
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="moneyTotalCost" label="总消耗成本" width="140px">
<template slot-scope="scope">
{{ scope.row.moneyTotalCost != null && scope.row.moneyTotalCost != '' ? crud.toMoney(scope.row.moneyTotalCost) : 0 }}
- ({{ scope.row.lastProjectProcess.moneyTotalCost != null && scope.row.lastProjectProcess.moneyTotalCost != '' ? crud.toMoney(scope.row.moneyTotalCost - scope.row.lastProjectProcess.moneyTotalCost) : 0 }})
+ ({{ scope.row.lastProjectProcess.moneyTotalCost != null && scope.row.lastProjectProcess.moneyTotalCost != '' ? crud.toMoney(scope.row.moneyTotalCost - scope.row.lastProjectProcess.moneyTotalCost) : crud.toMoney(0) }})
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="realLastCost" label="本周消化工时" width="100px">
<template slot-scope="scope">
- {{ scope.row.lastProjectProcess.realLastCost != null ? scope.row.realLastCost - scope.row.lastProjectProcess.realLastCost : 0 }}
+ {{ scope.row.lastProjectProcess.realLastCost != null ? scope.row.realLastCost - scope.row.lastProjectProcess.realLastCost : scope.row.realLastCost }}
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="workTotalInit" label="总工作量" width="100px">
<template slot-scope="scope">
{{ scope.row.workTotalInit != null && scope.row.workTotalInit != '' ? crud.toMoney(scope.row.workTotalInit) : 0 }}
- ({{ scope.row.lastProjectProcess.workTotalInit != null && scope.row.lastProjectProcess.workTotalInit != '' ? crud.toMoney(scope.row.workTotalInit - scope.row.lastProjectProcess.workTotalInit) : 0 }})
+ ({{ scope.row.lastProjectProcess.workTotalInit != null && scope.row.lastProjectProcess.workTotalInit != '' ? crud.toMoney(scope.row.workTotalInit - scope.row.lastProjectProcess.workTotalInit) : crud.toMoney(0) }})
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="workTotalCost" label="总消耗工作量" width="100px">
<template slot-scope="scope">
{{ scope.row.workTotalCost != null && scope.row.workTotalCost != '' ? crud.toMoney(scope.row.workTotalCost) : 0 }}
- ({{ scope.row.lastProjectProcess.workTotalCost != null && scope.row.lastProjectProcess.workTotalCost != '' ? crud.toMoney(scope.row.workTotalCost - scope.row.lastProjectProcess.workTotalCost) : 0 }})
+ ({{ scope.row.lastProjectProcess.workTotalCost != null && scope.row.lastProjectProcess.workTotalCost != '' ? crud.toMoney(scope.row.workTotalCost - scope.row.lastProjectProcess.workTotalCost) : crud.toMoney(0) }})
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="approveStatus" label="承认状态">
--
Gitblit v1.9.3