千分位
This commit is contained in:
@ -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,
|
||||
},
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -111,7 +111,7 @@ export const columns: BasicColumn[] = [
|
||||
title: '是否托运',
|
||||
componentType: 'input',
|
||||
align: 'left',
|
||||
width: 120,
|
||||
width: 100,
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user