优化构架
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
import { Package, Tags, Truck, Warehouse } from '@lucide/vue'
|
||||
import type { ClientModuleManifest } from '../types.ts'
|
||||
|
||||
export const overseasWarehouseModule = {
|
||||
key: 'overseas-warehouse',
|
||||
navigationGroup: { title: '海外仓', icon: Warehouse },
|
||||
routes: [
|
||||
{
|
||||
path: 'overseas-warehouse/labeling',
|
||||
name: 'overseas-labeling',
|
||||
component: () => import('./views/LabelingView.vue'),
|
||||
release: 'prototype',
|
||||
meta: { title: '贴标申请', description: '提交海外仓贴标申请', permission: 'merchant:overseas-warehouse:labeling' },
|
||||
navigation: { key: 'overseas-labeling', icon: Tags },
|
||||
},
|
||||
{
|
||||
path: 'overseas-warehouse/return-inbound',
|
||||
name: 'overseas-return-inbound',
|
||||
component: () => import('./views/ReturnInboundView.vue'),
|
||||
release: 'prototype',
|
||||
meta: { title: '退货入库', description: '登记海外仓退货入库', permission: 'merchant:overseas-warehouse:return-inbound' },
|
||||
navigation: { key: 'overseas-return-inbound', icon: Package },
|
||||
},
|
||||
{
|
||||
path: 'overseas-warehouse/return-relabel',
|
||||
name: 'overseas-return-relabel',
|
||||
component: () => import('./views/ReturnRelabelView.vue'),
|
||||
release: 'prototype',
|
||||
meta: { title: '退货换标', description: '提交退货换标申请', permission: 'merchant:overseas-warehouse:return-relabel' },
|
||||
navigation: { key: 'overseas-return-relabel', icon: Tags },
|
||||
},
|
||||
{
|
||||
path: 'overseas-warehouse/return-outbound',
|
||||
name: 'overseas-return-outbound',
|
||||
component: () => import('./views/ReturnOutboundView.vue'),
|
||||
release: 'prototype',
|
||||
meta: { title: '退货出库', description: '创建海外仓退货出库单', permission: 'merchant:overseas-warehouse:return-outbound' },
|
||||
navigation: { key: 'overseas-return-outbound', icon: Truck },
|
||||
},
|
||||
],
|
||||
} satisfies ClientModuleManifest
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import PrototypeFeatureView from '@/views/prototype/PrototypeFeatureView.vue'
|
||||
import PrototypeFeatureView from '@/components/common/PrototypeFeatureView.vue'
|
||||
</script>
|
||||
|
||||
<template><PrototypeFeatureView title="贴标申请" description="提交海外仓贴标申请" /></template>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import PrototypeFeatureView from '@/views/prototype/PrototypeFeatureView.vue'
|
||||
import PrototypeFeatureView from '@/components/common/PrototypeFeatureView.vue'
|
||||
</script>
|
||||
|
||||
<template><PrototypeFeatureView title="退货入库" description="登记海外仓退货入库" /></template>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import PrototypeFeatureView from '@/views/prototype/PrototypeFeatureView.vue'
|
||||
import PrototypeFeatureView from '@/components/common/PrototypeFeatureView.vue'
|
||||
</script>
|
||||
|
||||
<template><PrototypeFeatureView title="退货出库" description="创建海外仓退货出库单" /></template>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import PrototypeFeatureView from '@/views/prototype/PrototypeFeatureView.vue'
|
||||
import PrototypeFeatureView from '@/components/common/PrototypeFeatureView.vue'
|
||||
</script>
|
||||
|
||||
<template><PrototypeFeatureView title="退货换标" description="提交退货换标申请" /></template>
|
||||
|
||||
Reference in New Issue
Block a user