This commit is contained in:
Taric Xin
2022-03-09 17:04:27 +08:00
parent 89c03c417d
commit 4dd7acb53a

View File

@ -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: '运输费',