车辆对接

This commit is contained in:
wangshiming
2022-01-12 14:20:09 +08:00
parent 6b5180d083
commit 22ee46d6b6
4 changed files with 18 additions and 6 deletions

View File

@ -640,7 +640,7 @@ tabs = {
nzComponentParams: { data: { ...data, billId: item.id } }, nzComponentParams: { data: { ...data, billId: item.id } },
}); });
modal.afterClose.subscribe(_ => this.st.reload()); modal.afterClose.subscribe(_ => this.st.reload(1));
} }
}); });
} }

View File

@ -621,7 +621,7 @@ resourceStatus: any;
// return false; // return false;
// } // }
}); });
modal.afterClose.subscribe(_ => this.st.reload()); modal.afterClose.subscribe(_ => this.st.reload(1));
} }
}); });
} }
@ -683,6 +683,11 @@ resourceStatus: any;
// return false; // return false;
// } // }
}); });
modal.afterClose.subscribe((result) => {
if (result) {
this.st.load(1);
}
});
} }
/** /**
*修改网络货运人 *修改网络货运人
@ -713,6 +718,11 @@ resourceStatus: any;
// return false; // return false;
// } // }
}); });
modal.afterClose.subscribe((result) => {
if (result) {
this.st.load(1);
}
});
} }
// *确认签收 // *确认签收
@ -737,7 +747,7 @@ resourceStatus: any;
console.log(res) console.log(res)
if(res) { if(res) {
this.service.msgSrv.success('撤销成功!') this.service.msgSrv.success('撤销成功!')
this.stFloat.reload() this.stFloat.reload(1)
} else { } else {
this.service.msgSrv.error(res.msg) this.service.msgSrv.error(res.msg)
} }
@ -754,7 +764,7 @@ resourceStatus: any;
this.service.request(this.service.$api_get_cancelAnOrder, {id: item.id}).subscribe((res) => { this.service.request(this.service.$api_get_cancelAnOrder, {id: item.id}).subscribe((res) => {
if (res === true) { if (res === true) {
this.service.msgSrv.success('操作成功!'); this.service.msgSrv.success('操作成功!');
this.st?.reload(); this.st?.reload(1);
this.initST(); this.initST();
} }
}), }),
@ -772,6 +782,7 @@ resourceStatus: any;
this.service.request(this.service.$api_get_batchSignWholeOrder, params).subscribe(res => { this.service.request(this.service.$api_get_batchSignWholeOrder, params).subscribe(res => {
if (res) { if (res) {
console.log(res); console.log(res);
this.st?.reload(1);
} else { } else {
this.service.msgSrv.error(res.msg); this.service.msgSrv.error(res.msg);
} }

View File

@ -1,7 +1,7 @@
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-11-29 15:22:34 * @Date: 2021-11-29 15:22:34
* @LastEditTime: 2022-01-12 09:43:19 * @LastEditTime: 2022-01-12 14:18:32
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \tms-obc-web\src\app\routes\usercenter\components\freight\list\list.component.html * @FilePath: \tms-obc-web\src\app\routes\usercenter\components\freight\list\list.component.html
@ -47,7 +47,7 @@
<nz-card> <nz-card>
<!-- 数据列表 --> <!-- 数据列表 -->
<!-- [data]="service.$api_get_supplier_page" --> <!-- [data]="service.$api_get_supplier_page" -->
<nz-tabset (nzSelectedIndexChange)="selectChange($event)" > <nz-tabset (nzSelectedIndexChange)="selectChange($event)" [nzSelectedIndex]='defaultTabs'>
<nz-tab [nzTitle]="'全部'"></nz-tab> <nz-tab [nzTitle]="'全部'"></nz-tab>
<nz-tab [nzTitle]="'待审核'"></nz-tab> <nz-tab [nzTitle]="'待审核'"></nz-tab>
<nz-tab [nzTitle]="'未提交'"></nz-tab> <nz-tab [nzTitle]="'未提交'"></nz-tab>

View File

@ -13,6 +13,7 @@ import { VehicleService } from '../../../vehicle/services/vehicle.service';
export class VehicleComponentsAuditComponent implements OnInit { export class VehicleComponentsAuditComponent implements OnInit {
_$expand = false; _$expand = false;
resourceStatus: any; resourceStatus: any;
defaultTabs = 1;
ui!: SFUISchema; ui!: SFUISchema;
schema!: SFSchema; schema!: SFSchema;
columns!: STColumn[]; columns!: STColumn[];