| | |
| | | </el-dialog> |
| | | <!--表格渲染--> |
| | | <el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" style="width: 100%;" @selection-change="crud.selectionChangeHandler"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column show-overflow-tooltip prop="belongYear" label="年度" /> |
| | | <el-table-column show-overflow-tooltip prop="belongWeek" label="周数" /> |
| | | <el-table-column show-overflow-tooltip prop="projectName" label="所属项目" width="140"> |
| | | <el-table-column fixed type="selection" width="55px" /> |
| | | <el-table-column fixed show-overflow-tooltip prop="belongYear" label="年度" /> |
| | | <el-table-column fixed show-overflow-tooltip prop="belongWeek" label="周数" /> |
| | | <el-table-column fixed show-overflow-tooltip prop="projectName" label="所属项目" width="140px"> |
| | | <template slot-scope="scope"> |
| | | <el-tag>{{ scope.row.project.name }}</el-tag> |
| | | </template> |
| | |
| | | {{ (scope.row.estimatedProgress ? scope.row.estimatedProgress + '%' : '') }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip prop="moneyTotalInit" label="计划总成本"> |
| | | <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 }}) |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip prop="moneyTotalCost" label="总消耗成本"> |
| | | <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 }}) |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip prop="realLastCost" label="本周消化工时"> |
| | | <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 }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip prop="workTotalInit" label="总工作量"> |
| | | <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 }}) |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip prop="workTotalCost" label="总消耗工作量"> |
| | | <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 }}) |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip prop="remarks" label="备注" width="140" /> |
| | | <el-table-column show-overflow-tooltip prop="createTime" label="创建时间" width="140" /> |
| | | <el-table-column v-if="checkPer(['admin','projectProgress:edit','projectProgress:del'])" label="操作" width="150px" align="center"> |
| | | <el-table-column v-if="checkPer(['admin','projectProgress:edit','projectProgress:del'])" label="操作" fixed="right" width="150px" align="center"> |
| | | <template slot-scope="scope"> |
| | | <udOperation |
| | | :data="scope.row" |