edit
This commit is contained in:
@ -13,7 +13,7 @@
|
|||||||
<nz-card class="search-box" nzBordered>
|
<nz-card class="search-box" nzBordered>
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<div nz-col [nzXl]="_$expand ? 24 : 18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
|
<div nz-col [nzXl]="_$expand ? 24 : 18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
|
||||||
<sf #sf [schema]="searchSchema" [ui]="{ '*': { spanLabelFixed: 90, grid: { lg: 8, md: 12, sm: 12, xs: 24 } } }"
|
<sf #sf [schema]="searchSchema" [ui]="{ '*': { spanLabelFixed: 120, grid: { lg: 8, md: 12, sm: 12, xs: 24 } } }"
|
||||||
[compact]="true" [button]="'none'"></sf>
|
[compact]="true" [button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
|
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
|
||||||
|
|||||||
@ -38,9 +38,9 @@ export class InvoicedListComponent implements OnInit {
|
|||||||
if (this.sf) {
|
if (this.sf) {
|
||||||
Object.assign(requestOptions.body, {
|
Object.assign(requestOptions.body, {
|
||||||
...this.sf.value,
|
...this.sf.value,
|
||||||
createTime: {
|
invoicedate: {
|
||||||
start: this.sf.value.createTime?.[0] || '',
|
start: this.sf.value.invoicedate?.[0] || '',
|
||||||
end: this.sf.value.createTime?.[1] || ''
|
end: this.sf.value.invoicedate?.[1] || ''
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -135,7 +135,7 @@ export class InvoicedListComponent implements OnInit {
|
|||||||
autocomplete: 'off'
|
autocomplete: 'off'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
createTime: {
|
invoicedate: {
|
||||||
title: '开票日期',
|
title: '开票日期',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
@ -145,13 +145,11 @@ export class InvoicedListComponent implements OnInit {
|
|||||||
nzShowTime: true
|
nzShowTime: true
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
},
|
},
|
||||||
arto: {
|
artoname: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '购买人',
|
title: '购买人',
|
||||||
enum: [{ label: '全部', value: '全部' }],
|
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
placeholder: '请输入',
|
||||||
placeholder: '请选择',
|
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => value
|
expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
@ -167,7 +165,7 @@ export class InvoicedListComponent implements OnInit {
|
|||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => value
|
expand: (value: boolean) => value
|
||||||
},
|
},
|
||||||
asyncData: () => this.service.getNetworkFreightForwarder()
|
asyncData: () => this.service.getNetworkFreightForwarder({}, true)
|
||||||
},
|
},
|
||||||
default: ''
|
default: ''
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user