This commit is contained in:
Taric Xin
2022-03-09 16:12:37 +08:00
parent da7912ea1a
commit 206ffaa9b9
2 changed files with 8 additions and 10 deletions

View File

@ -38,9 +38,9 @@ export class InvoicedListComponent implements OnInit {
if (this.sf) {
Object.assign(requestOptions.body, {
...this.sf.value,
createTime: {
start: this.sf.value.createTime?.[0] || '',
end: this.sf.value.createTime?.[1] || ''
invoicedate: {
start: this.sf.value.invoicedate?.[0] || '',
end: this.sf.value.invoicedate?.[1] || ''
}
});
}
@ -135,7 +135,7 @@ export class InvoicedListComponent implements OnInit {
autocomplete: 'off'
}
},
createTime: {
invoicedate: {
title: '开票日期',
type: 'string',
ui: {
@ -145,13 +145,11 @@ export class InvoicedListComponent implements OnInit {
nzShowTime: true
} as SFDateWidgetSchema
},
arto: {
artoname: {
type: 'string',
title: '购买人',
enum: [{ label: '全部', value: '全部' }],
ui: {
widget: 'select',
placeholder: '请选择',
placeholder: '请输入',
visibleIf: {
expand: (value: boolean) => value
}
@ -167,7 +165,7 @@ export class InvoicedListComponent implements OnInit {
visibleIf: {
expand: (value: boolean) => value
},
asyncData: () => this.service.getNetworkFreightForwarder()
asyncData: () => this.service.getNetworkFreightForwarder({}, true)
},
default: ''
}