- add V2 tray management page for planning production monitoring - add tray management API, route, and i18n entries - update migration task list status for tray management
43 lines
1.5 KiB
JavaScript
43 lines
1.5 KiB
JavaScript
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')
|
|
},
|
|
{
|
|
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')
|
|
},
|
|
{
|
|
path: 'produce/monitor/tray_manage',
|
|
name: `${pre}monitor-tray_manage`,
|
|
meta: { ...meta, cache: true, title: '托盘管理' },
|
|
component: _import('planning-production/production-monitoring/tray-management')
|
|
}
|
|
])('planning_production-')
|
|
}
|