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 != ''">