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: { projectId: {
type: 'string', type: 'string',
title: '所属项目', title: '所属项目',
ui: { ui: { widget: 'select', placeholder: '请选择', allowClear: true, asyncData: () => this.service.getEnterpriseProject() },
placeholder: '请选择',
allowClear: true,
asyncData: () => this.service.getEnterpriseProject()
},
default: '' default: ''
} }
} }
@ -157,7 +153,7 @@ export class InvoiceDetailComponent implements OnInit {
width: 120, width: 120,
type: 'widget', type: 'widget',
className: 'text-right', 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: '运输费', title: '运输费',