From 4dd7acb53a1255d4cc310df7b02f2dceea5814c0 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Wed, 9 Mar 2022 17:04:27 +0800 Subject: [PATCH] edit --- .../components/invoice-detail/invoice-detail.component.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 cb979a7c..86afcd02 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 @@ -130,11 +130,7 @@ export class InvoiceDetailComponent implements OnInit { projectId: { type: 'string', title: '所属项目', - ui: { - placeholder: '请选择', - allowClear: true, - asyncData: () => this.service.getEnterpriseProject() - }, + ui: { widget: 'select', placeholder: '请选择', allowClear: true, asyncData: () => this.service.getEnterpriseProject() }, default: '' } } @@ -157,7 +153,7 @@ export class InvoiceDetailComponent implements OnInit { width: 120, type: 'widget', className: 'text-right', - widget: { type: 'currency-chy', params: ({ record }) => ({ value: this.type ==='2'?record.billkpmoney: record.billkpnotax }) } + widget: { type: 'currency-chy', params: ({ record }) => ({ value: this.type === '2' ? record.billkpmoney : record.billkpnotax }) } }, { title: '运输费',