金额格式设置
This commit is contained in:
@ -40,9 +40,21 @@
|
||||
<el-table v-loading="loading" :data="monthPlanList">
|
||||
<el-table-column type="index" label="序号" width="55" align="center" />
|
||||
<el-table-column label="计划月份" align="center" prop="planMonth" />
|
||||
<el-table-column label="计划产值(元)" align="center" prop="planValue" />
|
||||
<el-table-column label="完成产值(元)" align="center" prop="completeValue" />
|
||||
<el-table-column label="差额(元)" align="center" prop="differenceValue" />
|
||||
<el-table-column label="计划产值(元)" align="center" prop="planValue">
|
||||
<template #default="scope">
|
||||
{{ proxy.formatPrice(scope.row.planValue) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="完成产值(元)" align="center" prop="completeValue">
|
||||
<template #default="scope">
|
||||
{{ proxy.formatPrice(scope.row.completeValue) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="差额(元)" align="center" prop="differenceValue">
|
||||
<template #default="scope">
|
||||
{{ proxy.formatPrice(scope.row.differenceValue) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="产值类型" align="center" prop="valueType">
|
||||
<template #default="scope">
|
||||
<dict-tag :options="out_value_type" :value="scope.row.valueType" />
|
||||
@ -104,7 +116,7 @@
|
||||
<script setup name="MonthPlan" lang="ts">
|
||||
import { listMonthPlan, getMonthPlan, delMonthPlan, addMonthPlan, updateMonthPlan } from '@/api/out/monthPlan';
|
||||
import { MonthPlanVO } from '@/api/out/monthPlan/types';
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
const { proxy } = getCurrentInstance() as any;
|
||||
const { out_value_type } = toRefs<any>(proxy?.useDict('out_value_type'));
|
||||
const { wf_business_status } = toRefs<any>(proxy?.useDict('wf_business_status'));
|
||||
|
||||
|
Reference in New Issue
Block a user