进站/出站后刷新工序列表
This commit is contained in:
@@ -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 || '进站失败');
|
||||
|
||||
@@ -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 || '出站失败');
|
||||
|
||||
Reference in New Issue
Block a user