import { Boxes, PackageX, RefreshCcw, 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/WarehouseServiceView.vue'), props: { service: 'labeling' }, release: 'active', meta: { title: '贴标申请', description: '查询并管理海外仓贴标申请', permission: 'dashboard:view' }, navigation: { key: 'overseas-labeling', icon: Tags }, }, { path: 'overseas-warehouse/storage-transfer', name: 'overseas-storage-transfer', component: () => import('./views/WarehouseServiceView.vue'), props: { service: 'transfer' }, release: 'active', meta: { title: '仓储转运', description: '查询并管理海外仓转运订单', permission: 'dashboard:view' }, navigation: { key: 'overseas-storage-transfer', icon: Truck }, }, { path: 'overseas-warehouse/cargo-disposal', name: 'overseas-cargo-disposal', component: () => import('./views/WarehouseServiceView.vue'), props: { service: 'disposal' }, release: 'active', meta: { title: '货物废弃', description: '查询并管理海外仓货物废弃申请', permission: 'dashboard:view' }, navigation: { key: 'overseas-cargo-disposal', icon: PackageX }, }, { path: 'overseas-warehouse/return-relabel', name: 'overseas-return-relabel', component: () => import('./views/ReturnOrdersView.vue'), release: 'active', meta: { title: '退货换标', description: '创建退货预报并查看仓库签收结果', permission: 'dashboard:view' }, navigation: { key: 'overseas-return-relabel', icon: RefreshCcw }, }, { path: 'overseas-warehouse/return-inventory', name: 'overseas-return-inventory', component: () => import('./views/ReturnInventoryView.vue'), release: 'active', meta: { title: '退货库存', description: '按箱号和 SKU 查询海外仓退货实收库存', permission: 'merchant:overseas-warehouse:return-inventory:list' }, navigation: { key: 'overseas-return-inventory', icon: Boxes }, }, { path: 'overseas-warehouse/return-cartons', name: 'overseas-return-cartons', component: () => import('./views/ReturnInventoryView.vue'), props: { cartonOnly: true }, release: 'active', meta: { title: '退货箱号管理', description: '查询签收及合箱生成的退货箱号和箱内库存', permission: 'merchant:overseas-warehouse:return-inventory:list' }, navigation: { key: 'overseas-return-cartons', icon: Boxes }, }, ], } satisfies ClientModuleManifest