千分位

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

@ -67,7 +67,7 @@ export const columns: BasicColumn[] = [
title: '关联类别',
componentType: 'input',
align: 'left',
width: 120,
sorter: true,
},
{
@ -75,7 +75,7 @@ export const columns: BasicColumn[] = [
title: '合同类别',
componentType: 'input',
align: 'left',
width: 120,
sorter: true,
},
@ -84,7 +84,7 @@ export const columns: BasicColumn[] = [
title: '二级类别',
componentType: 'input',
align: 'left',
width: 120,
sorter: true,
},
@ -93,7 +93,7 @@ export const columns: BasicColumn[] = [
title: '相对方数量',
componentType: 'input',
align: 'left',
width: 120,
sorter: true,
},
@ -111,7 +111,7 @@ export const columns: BasicColumn[] = [
title: '合同期限',
componentType: 'input',
align: 'left',
width: 120,
sorter: true,
},
@ -120,7 +120,7 @@ export const columns: BasicColumn[] = [
title: '有效期开始',
componentType: 'date',
align: 'left',
width: 120,
sorter: true,
},
@ -129,7 +129,7 @@ export const columns: BasicColumn[] = [
title: '有效期结束',
componentType: 'date',
align: 'left',
width: 120,
sorter: true,
},
@ -138,7 +138,7 @@ export const columns: BasicColumn[] = [
title: '币种',
componentType: 'select',
align: 'left',
width: 100,
sorter: true,
},
{
@ -164,7 +164,7 @@ export const columns: BasicColumn[] = [
title: '业务联系人',
componentType: 'input',
align: 'left',
width: 120,
sorter: true,
},
@ -173,7 +173,7 @@ export const columns: BasicColumn[] = [
title: '业务部门',
componentType: 'input',
align: 'left',
width: 120,
sorter: true,
},
@ -182,7 +182,7 @@ export const columns: BasicColumn[] = [
title: '状态',
componentType: 'input',
align: 'left',
width: 100,
sorter: true,
},

View File

@ -15,6 +15,9 @@
</template>
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.dataIndex === 'amount'">
{{ Number.format(Number.parse(record.amount),numFormat) }}
</template>
<template v-if="column.dataIndex === 'action'">
<TableAction :actions="getActions(record)" />
</template>
@ -58,7 +61,7 @@
import useEventBus from '/@/hooks/event/useEventBus';
import { cloneDeep } from 'lodash-es';
import { useUserStore } from '/@/store/modules/user';
const numFormat = "###,###,###,###,###,###.00"
const userStore = useUserStore();
const userInfo = userStore.getUserInfo;

View File

@ -111,7 +111,7 @@ export const columns: BasicColumn[] = [
title: '是否托运',
componentType: 'input',
align: 'left',
width: 120,
width: 100,
sorter: true,
},