fix bug
This commit is contained in:
@ -41,16 +41,16 @@ export class ReceivableOrderComponent implements OnInit {
|
||||
if (this.sf.value?.createTime) {
|
||||
Object.assign(requestOptions.body, {
|
||||
createTime: {
|
||||
start: this.sf.value.createTime?.[0] || null,
|
||||
end: this.sf.value.createTime?.[1] || null
|
||||
start: this.sf.value.createTime?.[0] || '',
|
||||
end: this.sf.value.createTime?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
if (this.sf.value?.ahxdate) {
|
||||
Object.assign(requestOptions.body, {
|
||||
ahxdate: {
|
||||
start: this.sf.value.ahxdate?.[0] || null,
|
||||
end: this.sf.value.ahxdate?.[1] || null
|
||||
start: this.sf.value.ahxdate?.[0] || '',
|
||||
end: this.sf.value.ahxdate?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user