From 7b1728622262c5dcb28037177d85e91c5005f4df Mon Sep 17 00:00:00 2001 From: wangshiming Date: Fri, 8 Apr 2022 13:48:52 +0800 Subject: [PATCH] fix bug --- .../components/busitable/busiindex/busiindex.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/routes/datatable/components/busitable/busiindex/busiindex.component.ts b/src/app/routes/datatable/components/busitable/busiindex/busiindex.component.ts index 1dbf859b..6a27ee0b 100644 --- a/src/app/routes/datatable/components/busitable/busiindex/busiindex.component.ts +++ b/src/app/routes/datatable/components/busitable/busiindex/busiindex.component.ts @@ -37,7 +37,9 @@ export class DatatableBusiindexComponent implements OnInit { { title: '客户预存款', index: 'czcgje', className: 'text-right', type: 'widget', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.czcgje }) } }, { title: '业绩量', index: 'yisje', className: 'text-center' }, { title: '已收附加费', index: 'yisfjf', className: 'text-right', type: 'widget', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.yisfjf }) } }, - { title: '平均附加费率', index: 'fjfl', className: 'text-center' }, + { title: '平均附加费率', index: 'fjfl', className: 'text-center',format: (item)=> { + return item.fjfl + '%' + } }, { title: '已开票金额', index: 'ykpje', className: 'text-right', type: 'widget', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.ykpje }) } }, ]; /**