车辆对接

This commit is contained in:
wangshiming
2021-12-21 11:05:39 +08:00
parent 6dfc1e75fc
commit f95e9336b6
13 changed files with 1114 additions and 31 deletions

View File

@ -288,7 +288,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
},
{
text: '重新指派',
// click: (_record) => this.assignedCar(_record),
click: (_record) => this.assignedCar(_record),
// iif: item => item.auditStatus === 2,
},
],
@ -377,17 +377,28 @@ export class SupplyManagementVehicleComponent implements OnInit {
/**
* 重新指派
*/
assignedCar(item: any) {
assignedCar(item: any) {
const { resourceId } = item;
const modalRef = this.modal.create({
nzTitle: '指派熟车',
nzWidth: '800px',
nzWidth: '1200px',
nzContent: SupplyManagementAssignedCarComponent,
nzComponentParams: {
i: item,
status: 'anew',
// url: this.service.$api_save_assign_vehicle,
params: { resourceId }
},
nzFooter: null,
});
modalRef.afterClose.subscribe((result) => {
if (result) {
this.st.reload();
}
});
}
/**
* 审核
*/