进站/出站后刷新工序列表

This commit is contained in:
tao
2026-01-12 17:29:19 +08:00
parent 863fcf7b61
commit 82210f6c26
2 changed files with 4 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ const handleInfeed = async () => {
try {
await startStation(traceOrderStore.currentStationId);
message.success('进站成功');
traceOrderStore.fetchStationInfo();
traceOrderStore.fetchStationList();
router.push({ name: 'TraceOrderManage' });
} catch (error: any) {
message.error(error.message || '进站失败');

View File

@@ -52,6 +52,8 @@ const handleOutfeed = async () => {
await completeStation(traceOrderStore.currentStationId, storage);
openSelectLocation.value = false;
message.success('出站成功');
traceOrderStore.fetchStationInfo();
traceOrderStore.fetchStationList();
router.push({ name: 'TraceOrderManage' });
} catch (error: any) {
message.error(error.message || '出站失败');