浏览代码

update project

tags/Baseline_30082024_FRONTEND_UAT
cyril.tsui 1年前
父节点
当前提交
8ddc64def0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/components/CreateProject/ResourceAllocation.tsx

+ 2
- 2
src/components/CreateProject/ResourceAllocation.tsx 查看文件

@@ -269,7 +269,7 @@ const ResourceAllocationByStage: React.FC<Props> = ({ grades, allTasks }) => {
</TableCell>
{grades.map((column, idx) => {
const stageHours =
currentTaskGroups[tg.id].percentAllocation * totalManhour;
currentTaskGroups[tg.id].percentAllocation / 100 * totalManhour;
return (
<TableCell key={`${column.id}${idx}`}>
{manhourFormatter.format(
@@ -314,7 +314,7 @@ const ResourceAllocationByStage: React.FC<Props> = ({ grades, allTasks }) => {
acc +
tg.percentAllocation / 100 *
totalManhour *
manhourPercentageByGrade[column.id],
manhourPercentageByGrade[column.id] / 100 ,
0,
);
return (


正在加载...
取消
保存