车辆对接

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

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