车辆接口更新
This commit is contained in:
@ -63,7 +63,6 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
||||
|
||||
ngOnInit(): void {
|
||||
this.getGoodsSourceDetail()
|
||||
console.log('4444')
|
||||
}
|
||||
|
||||
getGoodsSourceDetail() {
|
||||
@ -102,14 +101,12 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
||||
nzTitle: '<b>确定取消货源吗?</b>',
|
||||
nzContent: `<b>取消后不可恢复,谨慎操作</b>`,
|
||||
nzOnOk: () =>
|
||||
console.log('1')
|
||||
// this.service.request(this.service.$api_cancle_goods_source, {id: record.id}).subscribe(res => {
|
||||
// if (res === true) {
|
||||
// this.service.msgSrv.success('操作成功!');
|
||||
// this.st?.reload();
|
||||
// this.getGoodsSourceStatistical();
|
||||
// }
|
||||
// })
|
||||
this.service.request(this.service.$api_cancle_goods_source, { id: this.id }).subscribe(res => {
|
||||
if (res === true) {
|
||||
this.service.msgSrv.success('操作成功!');
|
||||
this.getGoodsSourceDetail()
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user