44 lines
766 B
TypeScript
44 lines
766 B
TypeScript
// 凭证弹窗表头
|
|
export const voucherColumns = [
|
|
{
|
|
title: '序号',
|
|
width: 80,
|
|
customRender: (text: any) => {
|
|
return text.index + 1;
|
|
},
|
|
},
|
|
{
|
|
title: '日期',
|
|
dataIndex: 'updateTime',
|
|
key: 'updateTime',
|
|
ellipsis: true,
|
|
},
|
|
{
|
|
title: '文件名称',
|
|
dataIndex: 'fileName',
|
|
key: 'fileName',
|
|
ellipsis: true,
|
|
},
|
|
];
|
|
// 编辑页中表头
|
|
export const drawerColumns = [
|
|
{
|
|
title: '名称',
|
|
dataIndex: 'emissionSources',
|
|
},
|
|
{
|
|
title: '因子值',
|
|
dataIndex: 'emissionFactors',
|
|
},
|
|
{
|
|
title: '排放环节',
|
|
className: 'emissionProcess',
|
|
dataIndex: 'emissionProcess',
|
|
},
|
|
{
|
|
title: '数据来源',
|
|
className: 'dataSources',
|
|
dataIndex: 'dataSources',
|
|
},
|
|
];
|