fix bug
This commit is contained in:
@ -31,14 +31,14 @@ export class InputInvoiceComponent implements OnInit {
|
||||
beforeReq = (requestOptions: STRequestOptions) => {
|
||||
if (this.sf) {
|
||||
Object.assign(requestOptions.body, {
|
||||
...this.sf.value,
|
||||
...this.sf?.value,
|
||||
createtime: {
|
||||
start: this.sf.value.createtime?.[0] || '',
|
||||
end: this.sf.value.createtime?.[1] || ''
|
||||
start: this.sf?.value.createtime?.[0] || '',
|
||||
end: this.sf?.value.createtime?.[1] || ''
|
||||
},
|
||||
invdate: {
|
||||
start: this.sf.value.invdate?.[0] || '',
|
||||
end: this.sf.value.invdate?.[1] || ''
|
||||
start: this.sf?.value.invdate?.[0] || '',
|
||||
end: this.sf?.value.invdate?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user