edit
This commit is contained in:
@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user