千分位

This commit is contained in:
‘huanghaiixia’
2026-02-02 17:52:11 +08:00
parent 58d7079f1d
commit fae05a1342
14 changed files with 250 additions and 86 deletions

View File

@ -15,6 +15,18 @@
</template>
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.dataIndex === 'qtyGjAll'">
{{ Number.format(Number.parse(record.qtyGjAll),numFormat) }}
</template>
<template v-if="column.dataIndex === 'qtyGjJsz'">
{{ Number.format(Number.parse(record.qtyGjJsz),numFormat) }}
</template>
<template v-if="column.dataIndex === 'qtyGjXs'">
{{ Number.format(Number.parse(record.qtyGjXs),numFormat) }}
</template>
<template v-if="column.dataIndex === 'qtyGjYsp'">
{{ Number.format(Number.parse(record.qtyGjYsp),numFormat) }}
</template>
<template v-if="column.dataIndex === 'action'">
<TableAction :actions="getActions(record)" />
</template>
@ -63,7 +75,7 @@
const filterColumns = cloneDeep(filterColumnAuth(columns));
const customConfigColums =ref(filterColumns);
const customSearchFormSchema =ref(searchFormSchema);
const numFormat = "###,###,###,###,###,###.000"
const tableRef = ref();
//所有按钮
const buttons = ref([