金额格式设置

This commit is contained in:
2025-09-09 17:03:01 +08:00
parent 460472b29a
commit d92a540786
32 changed files with 633 additions and 318 deletions

View File

@ -69,22 +69,22 @@
</el-table-column>
<el-table-column label="综合单价(业主)" align="center" prop="ownerPrice">
<template #default="{ row }">
{{ row.unitType == 0 ? '' : row.ownerPrice }}
{{ row.unitType == 0 ? '' : proxy.formatPrice(row.ownerPrice) }}
</template>
</el-table-column>
<el-table-column label="综合单价(分包)" align="center" prop="constructionPrice">
<template #default="{ row }">
{{ row.unitType == 0 ? '' : row.constructionPrice }}
{{ row.unitType == 0 ? '' : proxy.formatPrice(row.constructionPrice) }}
</template>
</el-table-column>
<el-table-column label="产值金额(业主)" align="center" prop="ownerOutputValue">
<template #default="{ row }">
{{ row.unitType == 0 ? '' : row.ownerOutputValue }}
{{ row.unitType == 0 ? '' : proxy.formatPrice(row.ownerOutputValue) }}
</template>
</el-table-column>
<el-table-column label="产值金额(分包)" align="center" prop="constructionOutputValue">
<template #default="{ row }">
{{ row.unitType == 0 ? '' : row.constructionOutputValue }}
{{ row.unitType == 0 ? '' : proxy.formatPrice(row.constructionOutputValue) }}
</template>
</el-table-column>
<el-table-column label="总数量" align="center" prop="total">
@ -192,7 +192,7 @@ import { ProgressCategoryVO, ProgressCategoryQuery, ProgressCategoryForm } from
import { getTabList } from '@/api/progress/progressCategoryTemplate';
import { useUserStoreHook } from '@/store/modules/user';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { proxy } = getCurrentInstance() as any;
const { progress_unit_type, progress_work_type } = toRefs<any>(proxy?.useDict('progress_unit_type', 'progress_work_type'));
const activeTab = ref('0');
const relevancyStructure = ref('1');