// RouteConfigsTable is globally declared in types/router.d.ts
export default {
  path: "/replenishment-order",
  redirect: "/replenishment-order/list",
  meta: {
    icon: "ep:shopping-cart",
    title: "设备补货单",
    rank: 12,
    roles: ["admin"]
  },
  children: [
    {
      path: "/replenishment-order/list",
      name: "ReplenishmentOrderList",
      component: () =>
        import("@/views/replenishment-order/index.vue"),
      meta: {
        icon: "ep:list",
        title: "补货单列表"
      }
    },
    {
      path: "/replenishment-order/detail",
      name: "ReplenishmentOrderDetail",
      component: () =>
        import("@/views/replenishment-order/detail.vue"),
      meta: {
        title: "补货单详情",
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
