2026-05-28 16:15:57 +08:00
|
|
|
import layoutHeaderAside from '@/layout/header-aside'
|
|
|
|
|
|
|
|
|
|
const meta = { auth: true }
|
|
|
|
|
|
|
|
|
|
const _import = require('@/libs/util.import.' + process.env.NODE_ENV)
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
path: '/planning_production',
|
|
|
|
|
component: layoutHeaderAside,
|
|
|
|
|
children: (pre => [
|
|
|
|
|
{
|
|
|
|
|
path: 'index',
|
|
|
|
|
name: `${pre}index`,
|
|
|
|
|
meta: { ...meta, title: '计划与生产', root: '/planning_production' },
|
|
|
|
|
component: _import('system/function/module-index')
|
2026-06-22 14:13:01 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'production_batch_management/batch',
|
|
|
|
|
name: `${pre}production_batch_management-batch`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '批次列表' },
|
|
|
|
|
component: _import('planning-production/batch-management/batch-list')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'production_batch_management/batch_tray',
|
|
|
|
|
name: `${pre}production_batch_management-batch_tray`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '批次托盘' },
|
|
|
|
|
component: _import('planning-production/batch-management/tray-tracking')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'production_batch_management/bad',
|
|
|
|
|
name: `${pre}production_batch_management-bad`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '生产批次不良报表' },
|
|
|
|
|
component: _import('planning-production/batch-management/batch-defect-report')
|
2026-06-22 14:58:04 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'produce/monitor/tray_manage',
|
|
|
|
|
name: `${pre}monitor-tray_manage`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '托盘管理' },
|
|
|
|
|
component: _import('planning-production/production-monitoring/tray-management')
|
2026-05-28 16:15:57 +08:00
|
|
|
}
|
|
|
|
|
])('planning_production-')
|
|
|
|
|
}
|