This commit is contained in:
wangshiming
2022-04-11 14:57:35 +08:00
parent 0b73277d08
commit b026363af3
6 changed files with 18 additions and 10 deletions

View File

@ -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] || ''
}
});
}