This commit is contained in:
wangshiming
2022-04-28 20:26:30 +08:00
parent 6cc12ff451
commit 2aeaa09e14
112 changed files with 339 additions and 339 deletions

View File

@ -27,14 +27,14 @@ export class ETCInvoicedLogsComponent implements OnInit {
beforeReq = (requestOptions: STRequestOptions) => {
if (this.sf) {
Object.assign(requestOptions.body, {
...this.sf.value,
...this.sf?.value,
exTime: {
start: this.sf.value.exTime?.[0] || '',
end: this.sf.value.exTime?.[1] || ''
start: this.sf?.value.exTime?.[0] || '',
end: this.sf?.value.exTime?.[1] || ''
},
invoiceMakeTime: {
start: this.sf.value.invoiceMakeTime?.[0] || '',
end: this.sf.value.invoiceMakeTime?.[1] || ''
start: this.sf?.value.invoiceMakeTime?.[0] || '',
end: this.sf?.value.invoiceMakeTime?.[1] || ''
}
});
}
@ -66,7 +66,7 @@ export class ETCInvoicedLogsComponent implements OnInit {
const params = { listSource: 1, pageSize: -1 };
if (this.sf) {
Object.assign(params, {
...this.sf.value
...this.sf?.value
});
}
this.service.downloadFile(this.service.$api_export_invoice_logs_page, params);