优化代码

This commit is contained in:
lzm
2026-04-29 17:12:41 +08:00
parent 422c42f19b
commit 397e60a9ce
5 changed files with 45 additions and 19 deletions

View File

@@ -188,6 +188,11 @@
{{ getOwnershipTypeLabel(scope.row.ownershipType) }}
</template>
</el-table-column>
<el-table-column align="center" label="计算方式" min-width="110">
<template #default="scope">
{{ getCalculationMethodLabel(scope.row.calculationMethod) }}
</template>
</el-table-column>
<el-table-column align="center" label="开始年度" width="100" prop="planningStartYear" />
<el-table-column align="center" label="规划金额(元)" width="130">
<template #default="scope">
@@ -214,6 +219,7 @@ import {
CONTRACT_SIGN_OPTIONS,
formatAmountText,
formatAreaText,
getCalculationMethodLabel,
getOwnershipTypeLabel
} from '@/views/tjt/shared/planning'