From 95cd39d71cfb15489b7ce1819748e7522832a1f2 Mon Sep 17 00:00:00 2001
From: weicd <weicd@yhzhg.cn>
Date: Wed, 18 Jan 2023 01:35:43 +0000
Subject: [PATCH] Merge branch 'master' of http://192.168.1.110:5678/r/pms-upgrade into weicd

---
 eladmin-web-master/src/views/project/projectProgress/index.vue |   32 +++++++++++++++++++++++++-------
 1 files changed, 25 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 ed0dcc1..e752ca1 100644
--- a/eladmin-web-master/src/views/project/projectProgress/index.vue
+++ b/eladmin-web-master/src/views/project/projectProgress/index.vue
@@ -118,13 +118,31 @@
             <el-tag>{{ dict.label[approveStatus][scope.row.approveStatus] }}</el-tag>
           </template>
         </el-table-column>
-        <el-table-column prop="timeTotalInit" label="总绩效工时" align="center" width="100" />
-        <el-table-column prop="timeTotalCost" label="总消耗绩效工时" align="center" width="120" />
-        <el-table-column prop="timeLastCost" label="本周消化绩效工时" align="center" width="120" />
-        <el-table-column prop="realLastCost" label="实际消化工时" align="center" width="100" />
-        <el-table-column prop="workTotalInit" label="总工作量" align="center" width="100" />
-        <el-table-column prop="workTotalCost" label="总消耗工作量" align="center" width="100" />
-        <el-table-column prop="workLastCost" label="本周消化工作量" align="center" width="110" />
+        <el-table-column prop="moneyTotalInit" label="计划总成本" align="center" width="100">
+          <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 }})
+          </template>
+        </el-table-column>
+        <el-table-column prop="moneyTotalCost" label="总消耗成本" align="center" width="100">
+          <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 }})
+          </template>
+        </el-table-column>
+        <el-table-column prop="realLastCost" label="本周消化工时" align="center" width="100" />
+        <el-table-column prop="workTotalInit" label="总工作量" align="center" width="100">
+          <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 }})
+          </template>
+        </el-table-column>
+        <el-table-column prop="workTotalCost" label="总消耗工作量" align="center" width="100">
+          <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 }})
+          </template>
+        </el-table-column>
         <el-table-column prop="remarks" label="备注" show-overflow-tooltip />
         <el-table-column v-if="checkPer(['admin','projectProgress:edit','projectProgress:del'])" label="操作" width="150px" align="center">
           <template slot-scope="scope">

--
Gitblit v1.9.3