类型调整、员工表去除多余按键、测算页面红绿对换
This commit is contained in:
@@ -105,16 +105,21 @@
|
||||
{{ formatAmountText(scope.row.comprehensivePlanningAmount) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="专项分包人工成本(元)" width="170">
|
||||
<el-table-column align="center" label="专项分包-专业所人工成本(元)" width="210">
|
||||
<template #default="scope">
|
||||
{{ formatAmountText(scope.row.specialSubcontractPlanningAmount) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="源头合作分包人工成本(元)" width="200">
|
||||
<el-table-column align="center" label="专项分包-源头合作分包人工成本(元)" width="250">
|
||||
<template #default="scope">
|
||||
{{ formatAmountText(scope.row.sourceCoopSubcontractPlanningAmount) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="专项分包-综合所人工成本(元)" width="230">
|
||||
<template #default="scope">
|
||||
{{ formatAmountText(scope.row.comprehensiveSubcontractPlanningAmount) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="专业所考核产值(元)" width="150">
|
||||
<template #default="scope">
|
||||
{{ formatAmountText(scope.row.majorOutputValue) }}
|
||||
@@ -198,12 +203,15 @@
|
||||
<el-descriptions-item label="综合所人工成本(元)">
|
||||
{{ formatAmountText(currentProfit.comprehensivePlanningAmount) }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="专项分包人工成本(元)">
|
||||
<el-descriptions-item label="专项分包-专业所人工成本(元)">
|
||||
{{ formatAmountText(currentProfit.specialSubcontractPlanningAmount) }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="源头合作分包人工成本(元)">
|
||||
<el-descriptions-item label="专项分包-源头合作分包人工成本(元)">
|
||||
{{ formatAmountText(currentProfit.sourceCoopSubcontractPlanningAmount) }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="专项分包-综合所人工成本(元)">
|
||||
{{ formatAmountText(currentProfit.comprehensiveSubcontractPlanningAmount) }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="专业所考核产值(元)">
|
||||
{{ formatAmountText(currentProfit.majorOutputValue) }}
|
||||
</el-descriptions-item>
|
||||
@@ -453,10 +461,10 @@ const submitProfitForm = async () => {
|
||||
|
||||
const profitLossClass = (value?: number) => {
|
||||
if ((value || 0) > 0) {
|
||||
return 'text-[var(--el-color-danger)] font-600'
|
||||
return 'text-[var(--el-color-success)] font-600'
|
||||
}
|
||||
if ((value || 0) < 0) {
|
||||
return 'text-[var(--el-color-success)] font-600'
|
||||
return 'text-[var(--el-color-danger)] font-600'
|
||||
}
|
||||
return 'text-[var(--el-text-color-primary)]'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user