From 1c2c6a0f14e73eca453d9f3ba40ef2f98ac45ec1 Mon Sep 17 00:00:00 2001
From: 赵士淞 <zhaoss@yhzhg.cn>
Date: Thu, 02 Feb 2023 02:30:21 +0000
Subject: [PATCH] 项目详情:增加实际任务总工时、报价实际金额、绩效实际金额、实际项目总成本

---
 eladmin-web-master/src/views/project/project/index.vue |   26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/eladmin-web-master/src/views/project/project/index.vue b/eladmin-web-master/src/views/project/project/index.vue
index cb100b4..62ed0f5 100644
--- a/eladmin-web-master/src/views/project/project/index.vue
+++ b/eladmin-web-master/src/views/project/project/index.vue
@@ -205,7 +205,8 @@
             {{ scope.row.contractPrice != null && scope.row.contractPrice != '' ? crud.toMoney(scope.row.contractPrice) : '' }}
           </template>
         </el-table-column>
-        <el-table-column :show-overflow-tooltip="true" prop="totalTaskTime" label="任务总工时" width="100" />
+        <el-table-column :show-overflow-tooltip="true" prop="totalTaskTime" label="计划任务总工时" width="110" />
+        <el-table-column :show-overflow-tooltip="true" prop="actualTaskTime" label="实际任务总工时" width="110" />
         <el-table-column v-if="checkPer([permission.master])" label="报价">
           <el-table-column :show-overflow-tooltip="true" prop="quotationPrice" label="单金" width="100">
             <template slot-scope="scope">
@@ -217,9 +218,14 @@
               <el-tag>{{ dict.label[standardUnitCurrency][scope.row.unitCurrency] }}</el-tag>
             </template>
           </el-table-column>
-          <el-table-column :show-overflow-tooltip="true" label="总金额" width="100">
+          <el-table-column :show-overflow-tooltip="true" label="计划总金额" width="100">
             <template slot-scope="scope">
               {{ crud.toMoney(scope.row.quotationPrice * scope.row.totalTaskTime / 160) }}
+            </template>
+          </el-table-column>
+          <el-table-column :show-overflow-tooltip="true" label="实际总金额" width="100">
+            <template slot-scope="scope">
+              {{ crud.toMoney(scope.row.quotationPrice * scope.row.actualTaskTime / 160) }}
             </template>
           </el-table-column>
         </el-table-column>
@@ -232,9 +238,14 @@
           <el-table-column :show-overflow-tooltip="true" label="币种" width="100">
             <el-tag>{{ dict.label[standardUnitCurrency][standardUnitCurrencyRenminbi] }}</el-tag>
           </el-table-column>
-          <el-table-column :show-overflow-tooltip="true" label="总金额" width="100">
+          <el-table-column :show-overflow-tooltip="true" label="计划总金额" width="100">
             <template slot-scope="scope">
               {{ crud.toMoney(scope.row.performancePrice * scope.row.totalTaskTime / 160) }}
+            </template>
+          </el-table-column>
+          <el-table-column :show-overflow-tooltip="true" label="实际总金额" width="100">
+            <template slot-scope="scope">
+              {{ crud.toMoney(scope.row.performancePrice * scope.row.actualTaskTime / 160) }}
             </template>
           </el-table-column>
         </el-table-column>
@@ -245,13 +256,20 @@
             </span>
           </template>
         </el-table-column>
-        <el-table-column :show-overflow-tooltip="true" prop="totalLaborCost" label="项目总成本" width="100">
+        <el-table-column :show-overflow-tooltip="true" prop="totalLaborCost" label="计划项目总成本" width="110">
           <template slot-scope="scope">
             <span :style="{ color: scope.row.performancePrice * scope.row.totalTaskTime < scope.row.totalLaborCost ? 'red' : '' }">
               {{ crud.toMoney(scope.row.totalLaborCost) }}
             </span>
           </template>
         </el-table-column>
+        <el-table-column :show-overflow-tooltip="true" prop="actualLaborCost" label="实际项目总成本" width="110">
+          <template slot-scope="scope">
+            <span :style="{ color: scope.row.performancePrice * scope.row.actualTaskTime < scope.row.actualLaborCost ? 'red' : '' }">
+              {{ crud.toMoney(scope.row.actualLaborCost) }}
+            </span>
+          </template>
+        </el-table-column>
         <el-table-column :show-overflow-tooltip="true" prop="liableUserName" label="责任人" width="100">
           <template slot-scope="scope">
             <el-tag v-if="scope.row.liableUserName != null && scope.row.liableUserName != ''">

--
Gitblit v1.9.3