From 8b7d4b9527b9e196df4b9ac7cf113f06798f7941 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 15 八月 2024 15:01:00 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/northglass-erp/src/router/index.js |  327 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 311 insertions(+), 16 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/router/index.js b/north-glass-erp/northglass-erp/src/router/index.js
index 7643d07..9061f56 100644
--- a/north-glass-erp/northglass-erp/src/router/index.js
+++ b/north-glass-erp/northglass-erp/src/router/index.js
@@ -1,8 +1,9 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHashHistory(),
+  //history: createWebHistory(import.meta.env.BASE_URL),
   routes: [
     {
       path: '/',
@@ -20,7 +21,93 @@
       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:'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'
+            }
+          ]
+        },
+
+
           //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',
@@ -52,6 +139,7 @@
               component: () => import('../views/sd/product/testSort.vue')
             },
             {
+              name: 'product',
               path: '',
               redirect:'/main/product/selectProduct'
             }
@@ -62,6 +150,7 @@
           name: 'order',
           component: () => import('../views/sd/order/Order.vue'),
           children:[
+
             {
               path: 'selectOrder',
               name: 'selectOrder',
@@ -78,13 +167,23 @@
               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'
+              redirect:'/main/order/selectOrder'
             }
           ]
         },
@@ -109,9 +208,19 @@
               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'),
             },
 
 
@@ -173,6 +282,11 @@
               path: 'createCustomer',
               name: 'createCustomer',
               component: () => import('../views/sd/customer/CreateCustomer.vue'),
+            },
+            {
+              path: 'selectCustomerOrder',
+              name: 'selectCustomerOrder',
+              component: () => import('../views/sd/customer/SelectCustomerOrder.vue'),
             }
           ]
         },
@@ -257,12 +371,62 @@
             {
               path: 'printProcess',
               name: 'printProcess',
-              component: () => import('../views/pp/processCard/PrintProcess.vue'),
+              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: '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: '',
@@ -278,15 +442,16 @@
           component: () => import('../views/pp/reportingWorks/ReportingWorks.vue'),
           children:[
 
-            {
-              path: 'selectReportingWorks',
-              name: 'selectReportingWorks',
-              component: () => import('../views/pp/reportingWorks/SelectReportingWorks.vue'),
-            },
+
             {
               path: 'addReportingWork',
               name: 'addReportingWork',
               component: () => import('../views/pp/reportingWorks/AddReportingWork.vue'),
+            },
+            {
+              path: 'selectReportingWorks',
+              name: 'selectReportingWorks',
+              component: () => import('../views/pp/reportingWorks/SelectReportingWorks.vue'),
             },
             {
               path: 'qualityInspectionReview',
@@ -305,7 +470,7 @@
             },
             {
               path: '',
-              redirect:'/main/reportingWorks/SelectReportingWorks'
+              redirect:'/main/reportingWorks/AddReportingWork'
             }
           ]
         },
@@ -332,6 +497,26 @@
               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'
             }
@@ -341,18 +526,33 @@
           //杩斿伐绠$悊
           path: 'rework',
           name: 'rework',
-          component: () => import('../views/pp/Rework/Rework.vue'),
+          component: () => import('../views/pp/rework/Rework.vue'),
           children:[
 
             {
               path: 'addRework',
               name: 'addRework',
-              component: () => import('../views/pp/Rework/AddRework.vue'),
+              component: () => import('../views/pp/rework/AddRework.vue'),
             },
             {
               path: 'selectRework',
               name: 'selectRework',
-              component: () => import('../views/pp/Rework/SelectRework.vue'),
+              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: '',
@@ -471,6 +671,12 @@
               component: () => import('../views/pp/report/ProductionSchedule.vue'),
             },
             {
+              //娴佺▼鍗¤繘搴�
+              path: 'processCardProgress',
+              name: 'processCardProgress',
+              component: () => import('../views/pp/report/ProcessCardProgress.vue'),
+            },
+            {
               //鍝佽川鎶ヨ〃
               path: 'qualityReport',
               name: 'qualityReport',
@@ -518,13 +724,56 @@
               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'
+            }
+          ]
+        },
 
 
 
@@ -594,6 +843,12 @@
               name: 'reworkRecord',
               component:()=>import('../views/mm/mainProductStock/ReworkRecord.vue'),
             },
+            {
+              // 鍑哄叆搴撹褰�
+              path: 'storageRecord',
+              name: 'storageRecord',
+              component:()=>import('../views/mm/mainProductStock/StorageRecord.vue'),
+            },
 
             {
               path: '',
@@ -643,7 +898,11 @@
               name: 'selectIngredientsStock',
               component:()=>import('../views/mm/mainIngredientStock/SelectIngredientsStock.vue')
             },
-
+            {
+              path: 'selectSurplusMaterials',
+              name: 'selectSurplusMaterials',
+              component:()=>import('../views/mm/mainIngredientStock/SelectSurplusMaterials.vue')
+            },
             {
               path: 'accessoriesMonthlySettlement',
               name: 'accessoriesMonthlySettlement',
@@ -660,10 +919,24 @@
               name: 'materialOutbound',
               component:()=>import('../views/mm/mainIngredientStock/MaterialOutbound.vue')
             },
+              //鍑哄簱鏂板
             {
               path:'createOutBound',
               name:'createOutBound',
               component:()=>import('../views/mm/mainIngredientStock/CreateOutBound.vue')
+            },
+            //杩斿簱
+            {
+              path:'returnToStorage',
+              name:'returnToStorage',
+              component:()=>import('../views/mm/mainIngredientStock/ReturnToStorage.vue')
+            },
+
+            //杩斿簱鏂板
+            {
+              path:'returnToStorageCreate',
+              name:'returnToStorageCreate',
+              component:()=>import('../views/mm/mainIngredientStock/ReturnToStorageCreate.vue')
             },
             {
               path: '',
@@ -703,7 +976,7 @@
           /*----------- 浠撳偍鎶ヨ〃 ----------------*/
           path: 'stockReport',
           name: 'stockReport',
-          component: () => import('../views/mm/stockReport/stockReport.vue'),
+          component: () => import('../views/mm/stockReport/StockReport.vue'),
           children:[
             {
               path: 'WarehouseReport',
@@ -803,6 +1076,28 @@
           ]
         },
         {
+          /*----------- 鍩虹鏁版嵁 ----------------*/
+          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'
         }

--
Gitblit v1.8.0