From 768e16999a8ce4bb500490ee76c659aa61ea1783 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期二, 25 三月 2025 10:08:13 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/northglass-erp/src/router/index.js | 1247 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 1,247 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/router/index.js b/north-glass-erp/northglass-erp/src/router/index.js
new file mode 100644
index 0000000..941701c
--- /dev/null
+++ b/north-glass-erp/northglass-erp/src/router/index.js
@@ -0,0 +1,1247 @@
+import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router'
+import HomeView from '../views/HomeView.vue'
+
+const router = createRouter({
+  history: createWebHashHistory(),
+  //history: createWebHistory(import.meta.env.BASE_URL),
+  routes: [
+    {
+      path: '/',
+      name: 'home',
+      //component: HomeView
+      component: () => import('../views/LoginView.vue')
+    },
+    {
+      path: '/login',
+      name: 'login',
+      component: () => import('../views/LoginView.vue')
+    },
+    {
+      path: '/main',
+      name: 'main',
+      component: () => import('../layout/MainErpView.vue'),
+      children:[
+          //user妯″潡
+        {
+          path:'user',
+          name: 'user',
+          component: () => import('../views/system/user/User.vue'),
+          children:[
+            {
+              path: 'notPermission',
+              name: 'notPermission',
+              component: () => import('../views/system/user/NotPermission.vue'),
+            },
+            {
+              path: 'userList',
+              name: 'userList',
+              component: () => import('../views/system/user/UserList.vue')
+            },
+            {
+              name:'user',
+              path: '',
+              redirect:'/main/user/userList'
+            }
+          ]
+        },
+        {
+          path:'role',
+          name: 'role',
+          component: () => import('../views/system/role/Role.vue'),
+          children:[
+            {
+              path: 'roleList',
+              name: 'roleList',
+              component: () => import('../views/system/role/RoleList.vue')
+            },
+            {
+              name:'role',
+              path: '',
+              redirect:'/main/role/roleList'
+            }
+          ]
+        },
+{
+          path: '/main/glassOptimize/MoveManage',
+          component: () => import('@/views/pp/glassOptimize/MoveManage.vue')
+        },
+        {
+          path:'userPassWord',
+          name: 'userPassWord',
+          component: () => import('../views/system/userPassWord/userPassWord.vue'),
+          children:[
+            {
+              path: 'updateUserPassWord',
+              name: 'updateUserPassWord',
+              component: () => import('../views/system/userPassWord/UpdateUserPassWord.vue')
+            },
+            {
+              path: 'updateUserName',
+              name: 'updateUserName',
+              component: () => import('../views/system/userPassWord/UpdateUserName.vue')
+            },
+            {
+              name:'userPassWord',
+              path: '',
+              redirect:'/main/userPassWord/updateUserPassWord'
+            }
+          ]
+        },
+
+        {
+          path:'glassPrice',
+          name: 'glassPrice',
+          component: () => import('../views/sd/glassPrice/GlassPrice.vue'),
+          children:[
+            {
+              path: 'producePriceCompute',
+              name: 'producePriceCompute',
+              component: () => import('../views/sd/glassPrice/ProducePriceCompute.vue')
+            },
+            {
+              path: 'glassPriceSet',
+              name: 'glassPriceSet',
+              component: () => import('../views/sd/glassPrice/GlassPriceSet.vue')
+            },
+            {
+              path: 'glassPriceList',
+              name: 'glassPriceList',
+              component: () => import('../views/sd/glassPrice/GlassPriceList.vue')
+            },
+            {
+              name: 'GlassPrice1',
+              path: '',
+              redirect:'/main/glassPrice/producePriceCompute'
+            }
+          ]
+        },
+
+
+          //sd妯″潡
+        {
+          path:'orderBasicData',
+          name: 'orderBasicData',
+          component: () => import('../views/sd/basicData/BasicData.vue'),
+          children:[
+            {
+              path: 'searchBasicData',
+              name: 'searchBasicData',
+              component: () => import('../views/sd/basicData/SearchBasicData.vue')
+            },
+            {
+              path: 'searchGlassType',
+              name: 'searchGlassType',
+              component: () => import('../views/sd/basicData/SearchGlassType.vue')
+            },
+            {
+              name: 'OrderBasicData',
+              path: '',
+              redirect:'/main/orderBasicData/searchBasicData'
+            }
+          ]
+        },
+        {
+          path: 'product',//浜у搧
+          name: 'product',
+          component: () => import('../views/sd/product/Product.vue'),
+          children:[
+            {
+              path: 'createProduct',
+              name: 'createProduct',
+              component: () => import('../views/sd/product/CreateProduct.vue')
+            },
+            {
+              path: 'selectProduct',
+              name: 'selectProduct',
+              component: () => import('../views/sd/product/SelectProduct.vue')
+            },
+            {
+              path: 'test',
+              name: 'test',
+              component: () => import('../views/sd/product/Test.vue')
+            },
+            {
+              path: 'test1',
+              name: 'test1',
+              component: () => import('../views/sd/product/Test11.vue')
+            },
+            {
+              path: 'testSort',
+              name: 'testSort',
+              component: () => import('../views/sd/product/testSort.vue')
+            },
+            {
+              name: 'product',
+              path: '',
+              redirect:'/main/product/selectProduct'
+            }
+          ]
+        },
+        {
+          path: 'order',//璁㈠崟
+          name: 'order',
+          component: () => import('../views/sd/order/Order.vue'),
+          children:[
+
+            {
+              path: 'selectOrder',
+              name: 'selectOrder',
+              component: () => import('../views/sd/order/SelectOrder.vue'),
+            },
+            {
+              path: 'createOrder',
+              name: 'createOrder',
+              component: () => import('../views/sd/order/CreateOrder.vue'),
+            },
+            {
+              path: 'updateOrderCraft',
+              name: 'updateOrderCraft',
+              component: () => import('../views/sd/order/UpdateOrderCraft.vue'),
+            },
+            {
+              path: 'orderSummaryReport',
+              name: 'orderSummaryReport',
+              component: () => import('../views/sd/order/OrderSummaryReport.vue'),
+            },
+            {
+              path: 'orderReport',
+              name: 'orderReport',
+              component: () => import('../views/sd/order/OrderReport.vue'),
+            },
+            {
+              path: 'orderProductSummaryReport',
+              name: 'orderProductSummaryReport',
+              component: () => import('../views/sd/order/OrderProductSummaryReport.vue'),
+            },
+            {
+              path: '',
+              redirect:'/main/order/selectOrder'
+            }
+          ]
+        },
+        {
+          path: 'delivery',//鍙戣揣
+          name: 'delivery',
+          component: () => import('../views/sd/delivery/Delivery.vue'),
+          children: [
+            {
+              path: 'selectDelivery',
+              name: 'selectDelivery',
+              component: () => import('../views/sd/delivery/SelectDelivery.vue'),
+            },
+            {
+              path: 'selectOrderList',
+              name: 'selectOrderList',
+              component: () => import('../views/sd/delivery/SelectOrderList.vue'),
+            },
+            {
+              path: 'deliveryReport',
+              name: 'deliveryReport',
+              component: () => import('../views/sd/delivery/DeliveryReport.vue'),
+            },
+            {
+              path: 'deliveryProductReport',
+              name: 'deliveryProductReport',
+              component: () => import('../views/sd/delivery/DeliveryProductReport.vue'),
+            },
+            {
+              path: 'createDelivery',
+              name: 'createDelivery',
+              component: () => import('../views/sd/delivery/CreateDelivery.vue'),
+            },
+            {
+              path: 'deliveryPrinting',
+              name: 'deliveryPrinting',
+              component: () => import('../views/sd/delivery/DeliveryPrinting.vue'),
+            },
+
+
+            {
+              path: '',
+              redirect:'/main/delivery/selectDelivery'
+            }
+          ]
+        },
+        {
+          path: 'returns',//閫�璐�
+          name: 'returns',
+          component: () => import('../views/sd/returns/Returns.vue'),
+          children: [
+            {
+              path: '',
+              redirect:'/main/returns/selectReturns'
+            },
+            {
+              path: 'selectReturns',
+              name: 'selectReturns',
+              component: () => import('../views/sd/returns/SelectReturns.vue'),
+            },
+
+            {
+              path: 'createReturns',
+              name: 'createReturns',
+              component: () => import('../views/sd/returns/CreateReturns.vue'),
+            },
+            {
+              path: 'selectDeliveryList',
+              name: 'selectDeliveryList',
+              component: () => import('../views/sd/returns/SelectDeliveryList.vue'),
+            },
+            {
+              path: 'returnsReport',
+              name: 'returnsReport',
+              component: () => import('../views/sd/returns/ReturnsReport.vue'),
+            }
+
+
+          ]
+        },
+        {
+          path: 'customer',//瀹㈡埛
+          name: 'customer',
+          component: () => import('../views/sd/customer/Customer.vue'),
+          children: [
+            {
+              path: '',
+              redirect:'/main/customer/selectCustomer'
+            },
+            {
+              path: 'selectCustomer',
+              name: 'selectCustomer',
+              component: () => import('../views/sd/customer/SelectCustomer.vue'),
+            },
+            {
+              path: 'createCustomer',
+              name: 'createCustomer',
+              component: () => import('../views/sd/customer/CreateCustomer.vue'),
+            },
+            {
+              path: 'selectCustomerOrder',
+              name: 'selectCustomerOrder',
+              component: () => import('../views/sd/customer/SelectCustomerOrder.vue'),
+            }
+          ]
+        },
+
+          //pp妯″潡
+        {
+          //鐜荤拑浼樺寲
+          path: 'glassOptimize',
+          name: 'glassOptimize',
+          component: () => import('../views/pp/glassOptimize/Optimize.vue'),
+          children:[
+            {
+              path: 'optimizeProject',
+              name: 'optimizeProject',
+              component: () => import('../views/pp/glassOptimize/OptimizeProject.vue'),
+            },
+            {
+              path: 'optimizePrint',
+              name: 'optimizePrint',
+              component: () => import('../views/pp/glassOptimize/OptimizePrint.vue'),
+            },
+            {
+              path: 'OptimizationRectPrint',
+              name: 'OptimizationRectPrint',
+              component: () => import('../views/pp/glassOptimize/OptimizationRectPrint.vue'),
+            },
+            {
+              path: 'OptimizeControl',
+              name: 'OptimizeControl',
+              component: () => import('../views/pp/glassOptimize/OptimizeControl.vue'),
+            },
+            {
+              path: 'Optimization',
+              name: 'Optimization',
+              component: () => import('../views/pp/glassOptimize/Optimization.vue'),
+            },
+            {
+              path: 'optimizeparms',
+              name: 'optimizeparms',
+              component: () => import('../views/pp/glassOptimize/OptimizeParms.vue'),
+            },
+            {
+              path: '/optimizeProject/:projectNo/:thickNess/:model',
+              name: 'optimizeInfo',
+              component: () => import('../views/pp/glassOptimize/OptimizeProject.vue')
+            },
+            {
+              path: '',
+              redirect:'/main/glassOptimize/optimizeProject'
+            }
+          ]
+        },
+        {
+          //宸ュ崟绠$悊
+          path: 'workOrder',
+          name: 'workOrder',
+          component: () => import('../views/pp/workOrder/WorkOrder.vue'),
+          children:[
+
+            {
+              path: 'selectAddWorkOrder',
+              name: 'selectAddWorkOrder',
+              component: () => import('../views/pp/workOrder/SelectAddWorkOrder.vue'),
+            },
+            {
+              path: 'releaseWorkOrder',
+              name: 'releaseWorkOrder',
+              component: () => import('../views/pp/workOrder/ReleaseWorkOrder.vue'),
+            },
+            {
+              path: 'addWorkOrder',
+              name: 'addWorkOrder',
+              component: () => import('../views/pp/workOrder/AddWorkOrder.vue'),
+            },
+            {
+              path: 'selectWorkOrder',
+              name: 'selectWorkOrder',
+              component: () => import('../views/pp/workOrder/SelectWorkOrder.vue'),
+            },
+            {
+              path: '',
+              redirect:'/main/workOrder/selectWorkOrder'
+            }
+          ]
+
+        },
+        {
+          //娴佺▼鍗$鐞�
+          path: 'processCard',
+          name: 'processCard',
+          component: () => import('../views/pp/processCard/ProcessCard.vue'),
+          children:[
+
+            {
+              path: 'addProcessCard',
+              name: 'addProcessCard',
+              component: () => import('../views/pp/processCard/AddProcessCard.vue'),
+            },
+            {
+              path: 'printFlowCard',
+              name: 'printFlowCard',
+              component: () => import('../views/pp/processCard/PrintFlowCard.vue'),
+            },
+            {
+              path: 'selectAddProcess',
+              name: 'selectAddProcess',
+              component: () => import('../views/pp/processCard/SelectAddProcess.vue'),
+            },
+            {
+              path: 'selectPrintFlowCard',
+              name: 'selectPrintFlowCard',
+              component: () => import('../views/pp/processCard/SelectPrintFlowCard.vue'),
+            },
+            {
+              path: 'selectProcessCard',
+              name: 'selectProcessCard',
+              component: () => import('../views/pp/processCard/SelectProcessCard.vue'),
+            },
+            {
+              path: 'processCardDetails',
+              name: 'processCardDetails',
+              component: () => import('../views/pp/processCard/ProcessCardDetails.vue'),
+            },
+            {
+              path: 'splittingDetails',
+              name: 'splittingDetails',
+              component: () => import('../views/pp/processCard/SplittingDetails.vue'),
+            },
+            {
+              path: 'printProcess',
+              name: 'printProcess',
+              component: () => import('../components/pp/PrintProcess.vue'),
+            },
+            {
+              path: 'printLabel',
+              name: 'printLabel',
+              component: () => import('../views/pp/processCard/PrintLabel.vue'),
+            },
+            {
+              path: 'printCustomLabel',
+              name: 'printCustomLabel',
+              component: () => import('../components/pp/PrintCustomLabel.vue'),
+            },
+            {
+              path: 'printCustomLabelSemi',
+              name: 'printCustomLabelSemi',
+              component: () => import('../components/pp/PrintCustomLabelSemi.vue'),
+            },
+            {
+              path: 'printCustomLabelCZ',
+              name: 'printCustomLabelCZ',
+              component: () => import('../views/pp/processCard/PrintCustomLabel1.vue'),
+            },
+            {
+              path: 'printCustomLabelSemiCZ',
+              name: 'printCustomLabelSemiCZ',
+              component: () => import('../views/pp/processCard/PrintCustomLabelSemi1.vue'),
+            },
+            {
+              path: 'printCustomLabelSemi2',
+              name: 'printCustomLabelSemi2',
+              component: () => import('../views/pp/processCard/PrintCustomLabelSemi2.vue'),
+            },
+            {
+              path: 'printLabel1',
+              name: 'printLabel1',
+              component: () => import('../views/pp/processCard/PrintLabel1.vue'),
+            },
+            {
+              path: 'productionScheduling',
+              name: 'productionScheduling',
+              component: () => import('../views/pp/processCard/ProductionScheduling.vue'),
+            },
+            {
+              path: 'selectDetailProcessCard',
+              name: 'selectDetailProcessCard',
+              component: () => import('../views/pp/processCard/SelectDetailProcessCard.vue'),
+            },
+            {
+              path: 'selectPrintProject',
+              name: 'selectPrintProject',
+              component: () => import('../views/pp/processCard/SelectPrintProject.vue'),
+            },
+            {
+              path: 'selectSortDetailProcessCard',
+              name: 'selectSortDetailProcessCard',
+              component: () => import('../components/pp/SelectSortDetailProcessCard.vue'),
+            },
+            {
+              path: 'printFlowCardDetails',
+              name: 'printFlowCardDetails',
+              component: () => import('../views/pp/processCard/PrintFlowCardDetails.vue'),
+            },
+            {
+              path: 'printCustomLabelDetails',
+              name: 'printCustomLabelDetails',
+              component: () => import('../components/pp/PrintCustomLabelDetails.vue'),
+            },
+            {
+              path: 'selectSortTable',
+              name: 'selectSortTable',
+              component: () => import('../components/pp/SelectSortTable.vue'),
+            },
+            {
+              path: 'printProjectDetails',
+              name: 'printProjectDetails',
+              component: () => import('../views/pp/processCard/PrintProjectDetails.vue'),
+            },
+            {
+              path: '',
+              redirect:'/main/processCard/selectProcessCard'
+            }
+          ]
+
+        },
+        {
+          //鎶ュ伐绠$悊
+          path: 'reportingWorks',
+          name: 'reportingWorks',
+          component: () => import('../views/pp/reportingWorks/ReportingWorks.vue'),
+          children:[
+
+
+            {
+              path: 'addReportingWork',
+              name: 'addReportingWork',
+              component: () => import('../views/pp/reportingWorks/AddReportingWork.vue'),
+            },
+            {
+              path: 'selectReportingWorks',
+              name: 'selectReportingWorks',
+              component: () => import('../views/pp/reportingWorks/SelectReportingWorks.vue'),
+            },
+            {
+              path: 'qualityInspectionReview',
+              name: 'qualityInspectionReview',
+              component: () => import('../views/pp/reportingWorks/QualityInspectionReview.vue'),
+            },
+            {
+              path: 'reportingWorkDetail',
+              name: 'reportingWorkDetail',
+              component: () => import('../views/pp/reportingWorks/ReportingWorkDetail.vue'),
+            },
+            {
+              path: 'qualityInReviewDetail',
+              name: 'qualityInReviewDetail',
+              component: () => import('../views/pp/reportingWorks/QualityInReviewDetail.vue'),
+            },
+            {
+              path: '',
+              redirect:'/main/reportingWorks/addReportingWork'
+            }
+          ]
+        },
+        {
+          //琛ョ墖绠$悊
+          path: 'replenish',
+          name: 'replenish',
+          component: () => import('../views/pp/replenish/Replenish.vue'),
+          children:[
+
+            {
+              path: 'addReplenish',
+              name: 'addReplenish',
+              component: () => import('../views/pp/replenish/AddReplenish.vue'),
+            },
+            {
+              path: 'printReplenishFlowCard',
+              name: 'printReplenishFlowCard',
+              component: () => import('../views/pp/replenish/PrintReplenishFlowCard.vue'),
+            },
+            {
+              path: 'selectReplenish',
+              name: 'selectReplenish',
+              component: () => import('../views/pp/replenish/SelectReplenish.vue'),
+            },
+            {
+              path: 'printRepairProcess',
+              name: 'printRepairProcess',
+              component: () => import('../views/pp/replenish/PrintRepairProcess.vue'),
+            },
+            {
+              path: 'printReplenishFlowCard',
+              name: 'printReplenishFlowCard',
+              component: () => import('../views/pp/replenish/PrintReplenishFlowCard.vue'),
+            },
+            {
+              path: 'printRepairCustomLabelSemi',
+              name: 'printRepairCustomLabelSemi',
+              component: () => import('../components/pp/PrintRepairCustomLabelSemi.vue'),
+            },
+            {
+              path: 'printRepairCustomLabel',
+              name: 'printRepairCustomLabel',
+              component: () => import('../components/pp/PrintRepairCustomLabel.vue'),
+            },
+            {
+              path: '',
+              redirect:'/main/replenish/selectReplenish'
+            }
+          ]
+        },
+        {
+          //杩斿伐绠$悊
+          path: 'rework',
+          name: 'rework',
+          component: () => import('../views/pp/rework/Rework.vue'),
+          children:[
+
+            {
+              path: 'addRework',
+              name: 'addRework',
+              component: () => import('../views/pp/rework/AddRework.vue'),
+            },
+            {
+              path: 'selectRework',
+              name: 'selectRework',
+              component: () => import('../views/pp/rework/SelectRework.vue'),
+            },
+            {
+              path: 'printReworkFlowCard',
+              name: 'printReworkFlowCard',
+              component: () => import('../views/pp/rework/PrintReworkFlowCard.vue'),
+            },
+            {
+              path: 'printReworkCustomLabelSemi',
+              name: 'printReworkCustomLabelSemi',
+              component: () => import('../views/pp/rework/PrintReworkCustomLabelSemi.vue'),
+            },
+            {
+              path: 'printReworkCustomLabel',
+              name: 'printReworkCustomLabel',
+              component: () => import('../views/pp/rework/PrintReworkCustomLabel.vue'),
+            },
+            {
+              path: '',
+              redirect:'/main/rework/selectRework'
+            }
+          ]
+        },
+        {
+          //BOM绠$悊
+          path: 'BOM',
+          name: 'BOM',
+          component: () => import('../views/pp/BOM/BOM.vue'),
+          children:[
+            {
+              path: 'benchmarkBOM',
+              name: 'benchmarkBOM',
+              component: () => import('../views/pp/BOM/BenchmarkBOM.vue'),
+            },
+            {
+              path: 'standardBOM',
+              name: 'standardBOM',
+              component: () => import('../views/pp/BOM/StandardBOM.vue'),
+            },
+            {
+              path: 'orderBOM',
+              name: 'orderBOM',
+              component: () => import('../views/pp/BOM/OrderBOM.vue'),
+            },
+            {
+              path: 'selectBOM',
+              name: 'selectBOM',
+              component: () => import('../views/pp/BOM/SelectBOM.vue'),
+            },
+            {
+              path: 'orderBOMDetails',
+              name: 'orderBOMDetails',
+              component: () => import('../views/pp/BOM/OrderBOMDetails.vue'),
+            },
+            {
+              path: 'standardBOMDetail',
+              name: 'standardBOMDetail',
+              component: () => import('../views/pp/BOM/StandardBOMDetail.vue'),
+            },
+            {
+              path: '',
+              redirect:'/main/BOM/SelectBOM'
+            }
+          ]
+        },
+        {
+          //璁惧绠$悊
+          path: 'machine',
+          name: 'machine',
+          component: () => import('../views/pp/machine/Machine.vue'),
+          children:[
+            {
+              path: 'selectMachine',
+              name: 'selectMachine',
+              component: () => import('../views/pp/machine/SelectMachine.vue'),
+            },
+            {
+              path: 'addMachine',
+              name: 'addMachine',
+              component: () => import('../views/pp/machine/AddMachine.vue'),
+            },
+            {
+              path: 'maintenanceAndRepair',
+              name: 'maintenanceAndRepair',
+              component: () => import('../views/pp/machine/MaintenanceAndRepair.vue'),
+            },
+            {
+              path: 'addMaintenanceAndRepair',
+              name: 'addMaintenanceAndRepair',
+              component: () => import('../views/pp/machine/AddMaintenanceAndRepair.vue'),
+            },
+            {
+              path: '',
+              redirect:'/main/machine/selectMachine'
+            }
+          ]
+        },
+        {
+          //鎶ヨ〃绠$悊
+          path: 'report',
+          name: 'report',
+          component: () => import('../views/pp/report/Report.vue'),
+          children:[
+            {
+              //璁惧浜ч噺
+              path: 'equipmentOutput',
+              name: 'equipmentOutput',
+              component: () => import('../views/pp/report/EquipmentOutput.vue'),
+            },
+            {
+              //璁㈠崟BOM
+              path: 'orderBOMOutside',
+              name: 'orderBOMOutside',
+              component: () => import('../views/pp/report/OrderBOMOutside.vue'),
+            },
+            {
+              //璁㈠崟璁″垝鍒嗚В
+              path: 'orderPlanDecomposition',
+              name: 'orderPlanDecomposition',
+              component: () => import('../views/pp/report/OrderPlanDecomposition.vue'),
+            },
+            {
+              //璁㈠崟鎶ュ伐
+              path: 'orderReportingWorks',
+              name: 'orderReportingWorks',
+              component: () => import('../views/pp/report/OrderReportingWorks.vue'),
+            },
+            {
+              //宸ュ簭寰呭畬鎴�
+              path: 'processToBeCompleted',
+              name: 'processToBeCompleted',
+              component: () => import('../views/pp/report/ProcessToBeCompleted.vue'),
+            },
+            {
+              //鐢熶骇杩涘害
+              path: 'productionSchedule',
+              name: 'productionSchedule',
+              component: () => import('../views/pp/report/ProductionSchedule.vue'),
+            },
+            {
+              //娴佺▼鍗¤繘搴�
+              path: 'processCardProgress',
+              name: 'processCardProgress',
+              component: () => import('../views/pp/report/ProcessCardProgress.vue'),
+            },
+            {
+              //鍝佽川鎶ヨ〃
+              path: 'qualityReport',
+              name: 'qualityReport',
+              component: () => import('../views/pp/report/QualityReport.vue'),
+            },
+            {
+              //鍘熺墖棰嗘枡鎶ヨ〃
+              path: 'rawMaterialRequisition',
+              name: 'rawMaterialRequisition',
+              component: () => import('../views/pp/report/RawMaterialRequisition.vue'),
+            },
+            {
+              //鍒嗘灦鏄庣粏
+              path: 'splittingDetailsOutside',
+              name: 'splittingDetailsOutside',
+              component: () => import('../views/pp/report/SplittingDetailsOutside.vue'),
+            },
+            {
+              //浠诲姟瀹屾垚鎯呭喌
+              path: 'taskCompletionStatus',
+              name: 'taskCompletionStatus',
+              component: () => import('../views/pp/report/TaskCompletionStatus.vue'),
+            },
+            {
+              //鐝粍浜ч噺
+              path: 'teamOutput',
+              name: 'teamOutput',
+              component: () => import('../views/pp/report/TeamOutput.vue'),
+            },
+            {
+              //鍦ㄥ埗鍝佹姤琛�
+              path: 'workInProgress',
+              name: 'workInProgress',
+              component: () => import('../views/pp/report/WorkInProgress.vue'),
+            },
+            {
+              //鎴愬搧鐜囨姤琛�
+              path: 'yield',
+              name: 'yield',
+              component: () => import('../views/pp/report/Yield.vue'),
+            },
+            {
+              //娆$牬鎶ヨ〃
+              path: 'damageReport',
+              name: 'damageReport',
+              component: () => import('../views/pp/report/DamageReport.vue'),
+            },
+            {
+              //璁㈠崟鎺掍骇璁″垝
+              path: 'scheduleProductionSchedule',
+              name: 'scheduleProductionSchedule',
+              component: () => import('../views/pp/report/ScheduleProductionSchedule.vue'),
+            },
+            {
+              //鎺掍骇璁″垝
+              path: 'crossProcessBreaking',
+              name: 'crossProcessBreaking',
+              component: () => import('../views/pp/report/crossProcessBreaking.vue'),
+            },
+            // {
+            //   path: '',
+            //   redirect:'/main/report/ProductionSchedule'
+            // }
+          ]
+        },
+        {
+          //鍩虹鏁版嵁绠$悊
+          path: 'productionBasicData',
+          name: 'productionBasicData',
+          component: () => import('../views/pp/productionBasicData/ProductionBasicData.vue'),
+          children:[
+            {
+              path: 'selectProductionBasicData',
+              name: 'selectProductionBasicData',
+              component: () => import('../views/pp/productionBasicData/SelectProductionBasicData.vue'),
+            },
+            {
+              path: 'addBreakageReason',
+              name: 'addBreakageReason',
+              component: () => import('../views/pp/productionBasicData/AddBreakageReason.vue'),
+            },
+            {
+              path: 'addBreakageType',
+              name: 'addBreakageType',
+              component: () => import('../views/pp/productionBasicData/AddBreakageType.vue'),
+            },
+            {
+              path: 'addTeamGroup',
+              name: 'addTeamGroup',
+              component: () => import('../views/pp/productionBasicData/AddTeamGroup.vue'),
+            },
+            {
+              path: '',
+              redirect:'/main/productionBasicData/selectProductionBasicData'
+            }
+          ]
+        },
+
+
+
+          //mm妯″潡
+        {
+          path: 'productStock',
+          name: 'productStock',
+          component: () => import('../views/mm/productStock/ProductStock.vue'),
+          children:[
+            {
+              // 鎴愬搧搴撳瓨
+              path: 'productStockList',
+              name: 'productStockList',
+              component: () => import('../views/mm/productStock/ProductStockList.vue'),
+            },
+            {
+              // 鎴愬搧鍏ュ簱
+              path: 'createProductStock',
+              name: 'createProductStock',
+              component:()=>   import('../views/mm/productStock/CreateProductStock.vue'),
+            },
+            {
+              // 鎴愬搧鍑哄簱
+              path: 'finishedProductOut',
+              name: 'finishedProductOut',
+              component:()=>import('../views/mm/productStock/FinishedProductOut.vue')
+            },
+            {
+              // 鎴愬搧鍑哄簱
+              path: 'finishedProductReturn',
+              name: 'finishedProductReturn',
+              component:()=>import('../views/mm/productStock/FinishedProductReturn.vue')
+            },
+            {
+              // 璁㈠崟璋冩嫧
+              path: 'orderAllocation',
+              name: 'orderAllocation',
+              component:()=>import('../views/mm/productStock/OrderAllocation.vue'),
+            },
+            {
+              // 鎴愬搧棰嗗嚭
+              path: 'finishedGoodsIssue',
+              name: 'finishedGoodsIssue',
+              component:()=>import('../views/mm/productStock/FinishedGoodsIssue.vue'),
+            },
+            {
+              // 鎴愬搧杩斿伐
+              path: 'finishedProductRework',
+              name: 'finishedProductRework',
+              component:()=>import('../views/mm/productStock/FinishedProductRework.vue'),
+            },
+            {
+              // 璋冩嫧璁板綍
+              path: 'transferRecord',
+              name: 'transferRecord',
+              component:()=>import('../views/mm/productStock/TransferRecord.vue'),
+            },
+            {
+              // 棰嗗嚭璁板綍
+              path: 'takeOutRecord',
+              name: 'takeOutRecord',
+              component:()=>import('../views/mm/productStock/TakeOutRecord.vue'),
+            },
+            {
+              // 杩斿伐璁板綍
+              path: 'reworkRecord',
+              name: 'reworkRecord',
+              component:()=>import('../views/mm/productStock/ReworkRecord.vue'),
+            },
+            {
+              // 鍑哄叆搴撹褰�
+              path: 'storageRecord',
+              name: 'storageRecord',
+              component:()=>import('../views/mm/productStock/StorageRecord.vue'),
+            },
+            {
+              // 瑁呯鎵撳嵃
+              path: 'storageRecordPint',
+              name: 'storageRecordPint',
+              component:()=>import('../views/mm/productStock/StorageRecordPint.vue'),
+            },
+
+            {
+              path: '',
+              redirect:'/main/productStock/productStockList'
+            }
+          ]
+        },
+
+
+
+
+
+        {
+          // 鐗╂枡璧勬枡
+          path:'ingredients',
+          name:'ingredients',
+          component: () => import('../views/mm/ingredient/Ingredients.vue'),
+          children:[
+            {
+              path: 'selectIngredients',
+              name: 'selectIngredients',
+              component:()=>import('../views/mm/ingredient/SelectIngredients.vue')
+            },
+            {
+              path: 'createIngredients',
+              name: 'createIngredients',
+              component:()=>import('../views/mm/ingredient/CreateIngredients.vue')
+            },
+            {
+              path: '',
+              redirect:'/main/ingredients/selectIngredients'
+            }
+          ]
+        },
+
+
+
+
+        {
+          // 鐗╂枡搴撳瓨
+          path:'ingredientsStock',
+          name:'ingredientsStock',
+          component: () => import('../views/mm/ingredientStock/IngredientsStock.vue'),
+          children:[
+            {
+              path: 'selectIngredientsStock',
+              name: 'selectIngredientsStock',
+              component:()=>import('../views/mm/ingredientStock/SelectIngredientsStock.vue')
+            },
+            {
+              path: 'selectSurplusMaterials',
+              name: 'selectSurplusMaterials',
+              component:()=>import('../views/mm/ingredientStock/SelectSurplusMaterials.vue')
+            },
+            {
+              path: 'accessoriesMonthlySettlement',
+              name: 'accessoriesMonthlySettlement',
+              component:()=>import('../views/mm/ingredientStock/AccessoriesMonthlySettlement.vue')
+            },
+            {
+              path: 'originalMonthlySettlement',
+              name: 'originalMonthlySettlement',
+              component:()=>import('../views/mm/ingredientStock/OriginalMonthlySettlement.vue')
+            },
+            //   鐗╂枡鍑哄簱
+            {
+              path: 'materialOutbound',
+              name: 'materialOutbound',
+              component:()=>import('../views/mm/ingredientStock/MaterialOutbound.vue')
+            },
+              //鍑哄簱鏂板
+            {
+              path:'createOutBound',
+              name:'createOutBound',
+              component:()=>import('../views/mm/ingredientStock/CreateOutBound.vue')
+            },
+            //杩斿簱
+            {
+              path:'returnToStorage',
+              name:'returnToStorage',
+              component:()=>import('../views/mm/ingredientStock/ReturnToStorage.vue')
+            },
+
+            //杩斿簱鏂板
+            {
+              path:'returnToStorageCreate',
+              name:'returnToStorageCreate',
+              component:()=>import('../views/mm/ingredientStock/ReturnToStorageCreate.vue')
+            },
+            {
+              path: '',
+              redirect:'/main/ingredientsStock/selectIngredientsStock'
+            }
+          ]
+        },
+
+
+
+
+
+        {
+          // 渚涘簲鍟嗙鐞嗭紒锛侊紒
+          path:'trader',
+          name:'trader',
+          component: () => import('../views/mm/trader/Trader.vue'),
+          children:[
+            {
+              path: 'selectTrader',
+              name: 'selectTrader',
+              component:()=>import('../views/mm/trader/SelectTrader.vue')
+            },
+            {
+              path: 'createTrader',
+              name: 'createTrader',
+              component:()=>import('../views/mm/trader/CreateTrader.vue')
+            },
+            {
+              path: '',
+              redirect:'/main/trader/SelectTrader'
+            }
+          ]
+        },
+        /*------------- sunshiqiang Add --*/
+        {
+          /*----------- 浠撳偍鎶ヨ〃 ----------------*/
+          path: 'stockReport',
+          name: 'stockReport',
+          component: () => import('../views/mm/stockReport/StockReport.vue'),
+          children:[
+            /*----------- 鏂板 ----------------*/
+            {
+              path: 'finishedProductDeliveryReport',
+              name: 'finishedProductDeliveryReport',
+              component: () => import('../views/mm/stockReport/FinishedProductDeliveryReport.vue'),
+            },
+            {
+              path: 'finishedProductInventoryReport',
+              name: 'finishedProductInventoryReport',
+              component: () => import('../views/mm/stockReport/FinishedProductInventoryReport.vue'),
+            },
+            {
+              path: 'finishedProductOutboundReport',
+              name: 'finishedProductOutboundReport',
+              component: () => import('../views/mm/stockReport/FinishedProductOutboundReport.vue'),
+            },
+            {
+              path: 'finishedProductTransferReport',
+              name: 'finishedProductTransferReport',
+              component: () => import('../views/mm/stockReport/FinishedProductTransferReport.vue'),
+            },{
+              path: 'materialAdditionReport',
+              name: 'materialAdditionReport',
+              component: () => import('../views/mm/stockReport/MaterialAdditionReport.vue'),
+            },
+            {
+              path: 'materialOutboundReport',
+              name: 'materialOutboundReport',
+              component: () => import('../views/mm/stockReport/MaterialOutboundReport.vue'),
+            },
+            {
+              path: 'materialReturnReport',
+              name: 'materialReturnReport',
+              component: () => import('../views/mm/stockReport/MaterialReturnReport.vue'),
+            }, {
+              path: '',
+              redirect: '/main/stockReport/finishedProductInventoryReport'
+            }
+          ]
+        },
+        {
+          /*----------- 閲囪喘璁㈠崟 ----------------*/
+          path: 'purchaseOrder',
+          name: 'purchaseOrder',
+          component: () => import('../views/mm/purchaseOrder/PurchaseOrder.vue'),
+          children: [
+            {
+              path: 'SelectPurchaseOrder',
+              name: 'SelectPurchaseOrder',
+              component: () => import('../views/mm/purchaseOrder/Select.vue'),
+            }, {
+              path: 'CreatePurchaseOrder',
+              name: 'CreatePurchaseOrder',
+              component: () => import('../views/mm/purchaseOrder/Create.vue')
+            },
+            /*----------- 鏂板 ----------------*/
+            {
+              path: 'PaymentPurchaseOrder',
+              name: 'PaymentPurchaseOrder',
+              component: () => import('../views/mm/purchaseOrder/Payment.vue')
+            },
+            /*----------- 閫�璐� ----------------*/
+            {
+              path: 'ReturnPurchaseOrder',
+              name: 'ReturnPurchaseOrder',
+              component: () => import('../views/mm/purchaseOrder/Return.vue')
+            },
+            /*----------- 鍏ュ簱 ----------------*/
+            {
+              path: 'StoragePurchaseOrder',
+              name: 'StoragePurchaseOrder',
+              component: () => import('../views/mm/purchaseOrder/Storage.vue')
+            },
+            {
+              path: '',
+              redirect: '/main/purchaseOrder/SelectPurchaseOrder'
+            }
+          ]
+        },
+        {
+          /*----------- 閲囪喘鍏ュ簱 ----------------*/
+          path: 'purchaseStorage',
+          name: 'purchaseStorage',
+          component: () => import('../views/mm/purchaseStorage/PurchaseStorage.vue'),
+          children: [
+            {
+              path: 'SelectPurchaseStorage',
+              name: 'SelectPurchaseStorage',
+              component: () => import('../views/mm/purchaseStorage/Select.vue'),
+            },
+            {
+              path: '',
+              redirect: '/main/purchaseStorage/SelectPurchaseStorage'
+            }
+          ]
+        },
+        {
+          /*----------- 閲囪喘閫�璐� ----------------*/
+          path: 'purchaseReturn',
+          name: 'purchaseReturn',
+          component: () => import('../views/mm/purchaseReturn/PurchaseReturn.vue'),
+          children: [
+            {
+              path: 'SelectPurchaseReturn',
+              name: 'SelectPurchaseReturn',
+              component: () => import('../views/mm/purchaseReturn/Select.vue'),
+            },
+            {
+              path: '',
+              redirect: '/main/purchaseReturn/SelectPurchaseReturn'
+            }
+          ]
+        },
+        {
+          /*----------- 鍩虹鏁版嵁 ----------------*/
+          path: 'warehouseBasicData',
+          name: 'warehouseBasicData',
+          component: () => import('../views/mm/basicData/WarehouseBasicData.vue'),
+          children: [
+            {
+              path: 'warehouseSearchBasicData',
+              name: 'warehouseSearchBasicData',
+              component: () => import('../views/mm/basicData/WarehouseSearchBasicData.vue'),
+            },
+            {
+              path: 'warehouseCreateBasicData',
+              name: 'warehouseCreateBasicData',
+              component: () => import('../views/mm/basicData/WarehouseCreateBasicData.vue'),
+            },
+            {
+              path: '',
+              redirect: '/main/warehouseBasicData/warehouseSearchBasicData'
+            }
+          ]
+        },
+        {
+          path: '',
+          redirect:'/main/order'
+        }
+      ]
+    },
+    {
+      path: '/register',
+      name: 'register',
+      component: () => import('../views/RegisterView.vue')
+    },
+    {
+      path: '/app',
+      name: 'app',
+      component: () => import('../views/system/app/appDownload.vue')
+    }
+    
+  ]
+})
+
+export default router

--
Gitblit v1.8.0