hsy
9 天以前 29baff0abf45daffa2a546df592fbcb52f7c0443
src/views/wls/warehouse/location/index.vue
@@ -7,6 +7,7 @@
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';
@@ -57,6 +58,14 @@
  }
}
loadWarehouseName();
const tabs = useTabs();
/** 返回上级 */
function handleBack() {
  tabs.closeCurrentTab();
  router.push({ path: '/wls/warehouse' });
}
/** 刷新表格 */
function handleRefresh() {
@@ -158,7 +167,11 @@
      :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>