配置出站后路由跳转
This commit is contained in:
@@ -52,6 +52,7 @@ const handleOutfeed = async () => {
|
||||
await completeStation(jobStore.jobInfo.id, storage);
|
||||
openSelectLocation.value = false;
|
||||
message.success('出站成功');
|
||||
router.push({ name: 'PwoManage' });
|
||||
} catch (error: any) {
|
||||
message.error(error.message || '出站失败');
|
||||
} finally {
|
||||
@@ -97,7 +98,7 @@ fetchLocationList();
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
||||
<a-modal title="选择出站库位" :open="openSelectLocation" @ok="handleOutfeed" @cancel="openSelectLocation = false">
|
||||
<a-modal title="选择出站库位" :open="openSelectLocation" @ok="handleOutfeed" >
|
||||
<a-select style="width: 100%" @change="handleChangeLocation" :options="locationOptions" :fieldNames="{ label: 'storageLocationCode', value: 'id' }" />
|
||||
</a-modal>
|
||||
</a-spin>
|
||||
|
||||
Reference in New Issue
Block a user