| | |
| | | |
| | | import { Page, useVbenModal } from '@vben/common-ui'; |
| | | import { BarcodeBizTypeEnum } from '@vben/constants'; |
| | | import { useTabs } from '@vben/hooks'; |
| | | |
| | | import { Alert, Button, message } from 'ant-design-vue'; |
| | | |
| | |
| | | } |
| | | } |
| | | loadWarehouseName(); |
| | | |
| | | const tabs = useTabs(); |
| | | |
| | | /** 返回上级 */ |
| | | function handleBack() { |
| | | tabs.closeCurrentTab(); |
| | | router.push({ path: '/wls/warehouse' }); |
| | | } |
| | | |
| | | /** 刷新表格 */ |
| | | function handleRefresh() { |
| | |
| | | :message="`当前仓库:${currentWarehouse.name || `#${currentWarehouse.id}`}`" |
| | | show-icon |
| | | type="info" |
| | | /> |
| | | > |
| | | <template #action> |
| | | <Button size="small" type="primary" @click="handleBack"> 返回 </Button> |
| | | </template> |
| | | </Alert> |
| | | |
| | | <Grid table-title="库区列表"> |
| | | <template #toolbar-tools> |