This commit is contained in:
wangshiming
2022-02-22 15:53:27 +08:00
parent b46ad16d1b
commit e599d1404e
7 changed files with 51 additions and 42 deletions

View File

@ -656,20 +656,12 @@ resourceStatus: any;
nzContent: VehicleUpdateFreightComponent,
nzComponentParams: { data: { ...data, id: item.id,isFreightChangeApplication: item?.isFreightChangeApplication } },
nzFooter: null,
// nzOnOk: sin => {
// this.service.request(this.service.$api_change_bulk, { billId: item.id, ...sin.sf.value }).subscribe(res => {
// if (res) {
// this.service.msgSrv.success('变更运费成功');
// modal.destroy();
// this.st.reload();
// }
// });
// return false;
// }
});
modal.afterClose.subscribe(_ => {
this.st.load();
this.getGoodsSourceStatistical()
modal.afterClose.subscribe((res: Boolean) => {
if(res) {
this.st.load();
this.getGoodsSourceStatistical()
}
});
}
});
@ -850,13 +842,16 @@ resourceStatus: any;
nzTitle: '申请退款',
nzContent: OneCarOrderCancelConfirmComponent,
nzComponentParams: {
i: item
i: item,
sts: 2
},
nzFooter: null
});
modalRef.afterClose.subscribe(() => {
this.resetSF;
this.st.load();
modalRef.afterClose.subscribe((res: boolean) => {
if(res) {
this.resetSF;
this.st.load();
}
});
}
}