fix bug
This commit is contained in:
@ -98,7 +98,7 @@ export class OrderManagementVehicleComponent extends BasicTableComponent impleme
|
|||||||
if (this.resourceStatus) {
|
if (this.resourceStatus) {
|
||||||
a.billStatus = this.resourceStatus;
|
a.billStatus = this.resourceStatus;
|
||||||
}
|
}
|
||||||
const params: any = Object.assign({}, this.sf?.value || {});
|
const params: any = Object.assign({}, this.sf?.value || this.paramsList);
|
||||||
delete params._$expand;
|
delete params._$expand;
|
||||||
return {
|
return {
|
||||||
...a,
|
...a,
|
||||||
@ -109,14 +109,8 @@ export class OrderManagementVehicleComponent extends BasicTableComponent impleme
|
|||||||
const a: any = {};
|
const a: any = {};
|
||||||
if (this.resourceStatus) {
|
if (this.resourceStatus) {
|
||||||
a.billStatus = this.resourceStatus;
|
a.billStatus = this.resourceStatus;
|
||||||
// Object.assign(requestOptions.body, {
|
|
||||||
// ...a
|
|
||||||
// });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const params: any = Object.assign({}, this.sf?.value || this.paramsList);
|
const params: any = Object.assign({}, this.sf?.value || this.paramsList);
|
||||||
console.log(this.sf?.value);
|
|
||||||
console.log(this.paramsList);
|
|
||||||
delete params._$expand;
|
delete params._$expand;
|
||||||
this.paramsList = params
|
this.paramsList = params
|
||||||
Object.assign(requestOptions.body, {
|
Object.assign(requestOptions.body, {
|
||||||
|
|||||||
Reference in New Issue
Block a user