车辆接口更新

This commit is contained in:
wangshiming
2022-01-24 16:37:26 +08:00
parent 9dd6530c5b
commit 5ce1b29126
7 changed files with 6 additions and 60 deletions

View File

@ -318,11 +318,6 @@ export class SupplyManagementBulkComponent implements OnInit {
text: '再下一单',
click: (_record) => this.nextOrder(_record),
},
{
text: '重新指派',
click: (_record) => this.assignedCar(_record),
iif: item => item.auditStatus == 2,
},
],
},
];
@ -332,40 +327,6 @@ export class SupplyManagementBulkComponent implements OnInit {
// .createStatic(FormEditComponent, { i: { id: 0 } })
// .subscribe(() => this.st.reload());
}
/**
* 重新指派
*/
assignedCar(item: any) {
// const modalRef = this.modal.create({
// nzTitle: '指派熟车',
// nzWidth: '1500px',
// nzContent: SupplyManagementBulkAssignedCarComponent,
// nzComponentParams: {
// i: item
// },
// nzFooter: null,
// });
// modalRef.afterClose.subscribe((result) => {
// if (result) {
// this.st.reload();
// }
// });
const modalRef = this.modal.create({
nzTitle: '指派熟车',
nzContent: PublishGoodsChooseFamifiarComponent,
nzComponentParams: {
submitParams: item,
submitUrl: this.service.$api_save_bulk_assign
},
nzWidth: 1300
});
modalRef.afterClose.subscribe(result => {
if (result) {
this.st.reload(1);
}
});
}
/**
* 查询字段个数
*/