This commit is contained in:
Taric Xin
2022-03-01 19:35:30 +08:00
parent b98ab6cebe
commit dfda671a33
3 changed files with 5 additions and 5 deletions

View File

@ -38,8 +38,6 @@ export class FreightConfigComponent implements OnInit {
beforeReq = (requestOptions: STRequestOptions) => {
Object.assign(requestOptions.body, { listSource: 1 });
console.log(1);
if (this.sf?.value) {
Object.assign(requestOptions.body, {
...this.sf.value
@ -168,13 +166,13 @@ export class FreightConfigComponent implements OnInit {
}
exportList() {
const params = {};
const params = { listSource: 1, pageIndex: this.st.pi, pageSize: this.st.ps };
if (this.sf) {
Object.assign(params, {
...this.sf.value
});
}
this.service.downloadFile(this.service.$api_export_enterprise, params);
this.service.downloadFile(this.service.$api_export_freight_config, params);
}
loadltdId() {
this.service.getNetworkFreightForwarder().subscribe(res => {