千分位

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 === 'qtyDemandGj'">
{{ Number.format(Number.parse(record.qtyDemandGj),numFormat) }}
</template>
<template v-if="column.dataIndex === 'qtyDemandM3'">
{{ Number.format(Number.parse(record.qtyDemandM3),numFormat) }}
</template>
<template v-if="column.dataIndex === 'qtySalesGj'">
{{ Number.format(Number.parse(record.qtySalesGj),numFormat) }}
</template>
<template v-if="column.dataIndex === 'qtySalesM3'">
{{ Number.format(Number.parse(record.qtySalesM3),numFormat) }}
</template>
<template v-if="column.dataIndex === 'approName'">
<a @click="btnCheck(record)">{{ record.approName }}</a>
</template>
@ -61,7 +73,9 @@
import useEventBus from '/@/hooks/event/useEventBus';
import { cloneDeep } from 'lodash-es';
import { DataFormat, FormatOption, DATE_FORMAT, FormatType } from '/@/utils/dataFormat';
const numFormat = "###,###,###,###,###,###.000"
const { bus, CREATE_FLOW, FLOW_PROCESSED, FORM_LIST_MODIFIED } = useEventBus();
const { notification } = useMessage();