From 7a035b61fd336b15ebce371fbe0218778f7d5d1e Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 13 Apr 2022 20:28:09 +0800 Subject: [PATCH] fix bug --- .../invoice-detail/invoice-detail.component.html | 2 +- .../invoice-detail/invoice-detail.component.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html index 9f09fdbf..8710a7c7 100644 --- a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html +++ b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html @@ -113,7 +113,7 @@ - + diff --git a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.ts b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.ts index ca1c11da..97ab5369 100644 --- a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.ts +++ b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.ts @@ -278,17 +278,17 @@ export class InvoiceDetailComponent implements OnInit { private initInvoiceST(): STColumn[] { return [ - { title: '服务名称', render: 'vatname', width: 350 }, + { title: '服务名称', render: 'vatnameLabel', width: 350 }, { title: '规格型号', render: 'vatmodel' }, { title: '单位', render: 'vatunit', width: 100 }, { title: '数量', render: 'vatqty', width: 140, className: 'text-right' }, { title: '金额', - index: 'vatnotax', + index: 'vattax', width: 140, type: 'widget', className: 'text-right', - widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vatnotax }) } + widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vattax }) } }, { title: '税率', @@ -299,11 +299,11 @@ export class InvoiceDetailComponent implements OnInit { }, { title: '税额', - index: 'vattax', + index: 'vatnotax', width: 140, type: 'widget', className: 'text-right', - widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vattax }) } + widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vatnotax }) } } ]; }