From 09a010c5dc11c68a866a6075a74bd1bbefb4a9a8 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期一, 24 六月 2024 16:38:23 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes --- UI-Project/src/router/index.js | 1024 ++++++++++++-------------------------------------------- 1 files changed, 229 insertions(+), 795 deletions(-) diff --git a/UI-Project/src/router/index.js b/UI-Project/src/router/index.js index 30471a9..764db3a 100644 --- a/UI-Project/src/router/index.js +++ b/UI-Project/src/router/index.js @@ -1,8 +1,11 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' +import {createRouter, createWebHashHistory} from 'vue-router' + +// import User from '../views/sys/User.vue' +// import Role from '../views/sys/Role.vue' +// import Menu from '../views/sys/Menu.vue' const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(), routes: [ { path: '/', @@ -20,824 +23,255 @@ name: 'main', component: () => import('../layout/MainErpView.vue'), children:[ + + { - path: 'product',//浜у搧 - name: 'product', - + path: 'Temperedlayout', + name: 'Temperedlayout', + component: () => import('../views/TL/Temperedlayout/Temperedlayout.vue'), children:[ { - path: 'Temperedlayout', - name: 'Temperedlayout', - component: () => import('../views/TemperedLayout/Temperedlayout.vue') + path: 'selectLayout', + name: 'selectLayout', + component: () => import('../views/TL/Temperedlayout/Temperedlayout.vue'), + } + ] + }, + +/*----------- 鐢ㄦ埛鍒楄〃 ----------------*/ +// { +// path: 'User', +// name: 'User', +// component: () => import('../views/User/userlist.vue'), +// children:[ +// { +// path: '/User/userlist', +// name: 'userlist', +// component: () => import('../views/User/userlist.vue') +// }, +// ] +// }, + +/*----------- 鏉冮檺鍒楄〃 ----------------*/ +// { +// path: 'Permissions', +// name: 'Permissions', +// component: () => import('../views/Permissions/permissionslist.vue'), +// children:[ +// { +// path: '/Permissions/permissionslist', +// name: 'permissionslist', +// component: () => import('../views/Permissions/permissionslist.vue') +// }, +// ] +// }, + /*----------- 涓婄墖鏈� ----------------*/ + { + path: 'Returns', + name: 'Returns', + component: () => import('../views/Returns/returns.vue'), + children:[ + { + path: '/Returns/returns', + name: 'returns', + component: () => import('../views/Returns/returns.vue') + }, + ] + }, + /*----------- 鎺扮墖/璇嗗埆 ----------------*/ + { + path: 'Identify', + name: 'Identify', + component: () => import('../views/Identify/identify.vue'), + children:[ + { + path: '/Identify/identify', + name: 'identify', + component: () => import('../views/Identify/identify.vue') + }, + ] + }, + /*----------- 鍗у紡缂撳瓨 ----------------*/ + { + path: 'Caching', + name: 'Caching', + component: () => import('../views/Caching/caching.vue'), + children:[ + { + path: '/Caching/cachingbefore', + name: 'cachingbefore', + component: () => import('../views/Caching/cachingbefore.vue') + }, + { + path: '/Caching/cachingun', + name: 'cachingun', + component: () => import('../views/Caching/cachingun.vue') + }, + ] + }, + /*----------- 纾ㄨ竟锛堝喎鍔犲伐锛� ----------------*/ +{ + path: 'StockBasicData', + name: 'Select', + component: () => import('../views/StockBasicData/Select.vue'), + children:[ + { + path: '/StockBasicData/stockBasicData', + name: 'stockBasicData', + component: () => import('../views/StockBasicData/stockBasicData.vue') + }, + { + path: '/StockBasicData/stockBasicDatatwo', + name: 'stockBasicDatatwo', + component: () => import('../views/StockBasicData/stockBasicDatatwo.vue') + }, + ] +}, +/*----------- 澶х悊鐗囩 ----------------*/ +{ +path: 'Slicecage', +name: 'Slicecage', +component: () => import('../views/Slicecage/slicecage.vue'), +children:[ + { + path: '/Slicecage/slicecage', + name: 'slicecage', + component: () => import('../views/Slicecage/slicecage.vue') + }, +] +}, +/*----------- 閽㈠寲 ----------------*/ +{ +path: 'PurchaseReturn', +name: 'purchase', +component: () => import('../views/PurchaseReturn/purchase.vue'), +children:[ + { + path: '/PurchaseReturn/purchaseReturn', + name: 'purchaseReturn', + component: () => import('../views/PurchaseReturn/purchaseReturn.vue') + }, + { + path: '/PurchaseReturn/purchaseStorage', + name: 'purchaseStorage', + component: () => import('../views/PurchaseReturn/purchaseStorage.vue') + }, +] +}, + /*----------- 涓嬬墖鍙� ----------------*/ + { + path: 'UnLoadGlass', + name: 'UnLoadGlass', + component: () => import('../views/UnLoadGlass/UnLoadGlass.vue'), + children:[ + { + path: '/UnLoadGlass/loadmachinerack', + name: 'loadmachinerack', + component: () => import('../views/UnLoadGlass/loadmachinerack.vue') + }, + { + path: '/UnLoadGlass/loadmachineracktwo', + name: 'loadmachineracktwo', + component: () => import('../views/UnLoadGlass/loadmachineracktwo.vue') + }, + { + path: '/UnLoadGlass/Landingindication', + name: 'Landingindication', + component: () => import('../views/UnLoadGlass/Landingindication.vue') + }, + { + path: '/UnLoadGlass/Landingindicationtwo', + name: 'Landingindicationtwo', + component: () => import('../views/UnLoadGlass/Landingindicationtwo.vue') } ] }, - //sd妯″潡 + { - path: 'product',//浜у搧 - name: 'product', - component: () => import('../views/sd/product/Product.vue'), + path: 'GlassStorage', + name: 'GlassStorage', + component: () => import('../views/GlassStorage/MaterialRackManagement.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: '/GlassStorage/MaterialRackManagement', + name: 'MaterialRackManagement', + component: () => import('../views/GlassStorage/MaterialRackManagement.vue') } ] - }, - { - path: 'order',//璁㈠崟 - name: 'order', - component: () => import('../views/sd/order/Order.vue'), + }, + + /*----------- 鍙鍖栫郴缁� ----------------*/ + { + path: 'Visualization', + name: 'screen', + component: () => import('../views/Visualization/screen.vue'), children:[ { - path: 'selectOrder', - name: 'selectOrder', - component: () => import('../views/sd/order/SelectOrder.vue'), + path: '/Visualization/screenone', + name: 'screenone', + component: () => import('../views/Visualization/screenone.vue') }, { - path: 'createOrder', - name: 'createOrder', - component: () => import('../views/sd/order/CreateOrder.vue'), + path: '/Visualization/screentwo', + name: 'screentwo', + component: () => import('../views/Visualization/screentwo.vue') }, { - path: 'updateOrderCraft', - name: 'updateOrderCraft', - component: () => import('../views/sd/order/UpdateOrderCraft.vue'), - }, - { - path: 'orderReport', - name: 'orderReport', - component: () => import('../views/sd/order/OrderReport.vue'), - }, - { - path: '', - redirect:'/main/order/SelectOrder' + path: '/Visualization/screenthree', + name: 'screenthree', + component: () => import('../views/Visualization/screenthree.vue') } ] - }, + }, +/*----------- 绯荤粺绠$悊 ----------------*/ +{ + path: 'User', + name: 'user', + component: () => import('../views/User/user.vue'), + children:[ + { + path: '/User/userlist', + name: 'userlist', + component: () => import('../views/User/userlist.vue') + }, + { + path: '/User/rolelist', + name: 'rolelist', + component: () => import('../views/User/rolelist.vue') + }, + { + path: '/User/permissions', + name: 'permissions', + component: () => import('../views/User/permissions.vue') + } + ] + }, + /*----------- 绠$悊绯荤粺 ----------------*/ { - path: 'delivery',//鍙戣揣 - name: 'delivery', - component: () => import('../views/sd/delivery/Delivery.vue'), + path: 'sys', + name: 'screen', + component: () => import('../views/Visualization/screen.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: 'createDelivery', - name: 'createDelivery', - component: () => import('../views/sd/delivery/CreateDelivery.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'), - } - ] - }, - - //pp妯″潡 - { - //宸ュ崟绠$悊 - 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('../views/pp/processCard/PrintProcess.vue'), - }, - { - path: 'productionScheduling', - name: 'productionScheduling', - component: () => import('../views/pp/processCard/ProductionScheduling.vue'), - }, - { - path: '', - redirect:'/main/processCard/SelectProcessCard' - } - ] - - }, - { - //鎶ュ伐绠$悊 - path: 'reportingWorks', - name: 'reportingWorks', - 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: '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/SelectReportingWorks' - } - ] - }, - { - //琛ョ墖绠$悊 - 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: '', - 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: '', - 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: '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: '', - // redirect:'/main/report/ProductionSchedule' - // } - ] - }, - - - - - //mm妯″潡 - { - path: 'productStock', - name: 'productStock', - component: () => import('../views/mm/mainProductStock/ProductStock.vue'), - children:[ - { - // 鎴愬搧搴撳瓨 - path: 'productStockList', - name: 'productStockList', - component: () => import('../views/mm/mainProductStock/ProductStockList.vue'), - }, - { - // 鎴愬搧鍏ュ簱 - path: 'createProductStock', - name: 'createProductStock', - component:()=> import('../views/mm/mainProductStock/CreateProductStock.vue'), - }, - { - // 鎴愬搧鍑哄簱 - path: 'finishedProductOut', - name: 'finishedProductOut', - component:()=>import('../views/mm/mainProductStock/FinishedProductOut.vue') - }, - { - // 鎴愬搧鍑哄簱 - path: 'finishedProductReturn', - name: 'finishedProductReturn', - component:()=>import('../views/mm/mainProductStock/FinishedProductReturn.vue') - }, - { - // 璁㈠崟璋冩嫧 - path: 'orderAllocation', - name: 'orderAllocation', - component:()=>import('../views/mm/mainProductStock/OrderAllocation.vue'), - }, - { - // 鎴愬搧棰嗗嚭 - path: 'finishedGoodsIssue', - name: 'finishedGoodsIssue', - component:()=>import('../views/mm/mainProductStock/FinishedGoodsIssue.vue'), - }, - { - // 鎴愬搧杩斿伐 - path: 'finishedProductRework', - name: 'finishedProductRework', - component:()=>import('../views/mm/mainProductStock/FinishedProductRework.vue'), - }, - { - // 璋冩嫧璁板綍 - path: 'transferRecord', - name: 'transferRecord', - component:()=>import('../views/mm/mainProductStock/TransferRecord.vue'), - }, - { - // 棰嗗嚭璁板綍 - path: 'takeOutRecord', - name: 'takeOutRecord', - component:()=>import('../views/mm/mainProductStock/TakeOutRecord.vue'), - }, - { - // 杩斿伐璁板綍 - path: 'reworkRecord', - name: 'reworkRecord', - component:()=>import('../views/mm/mainProductStock/ReworkRecord.vue'), - }, - - { - path: '', - redirect:'/main/productStock/ProductStockList' - } - ] - }, - - - - - - { - // 鐗╂枡璧勬枡 - path:'ingredients', - name:'ingredients', - component: () => import('../views/mm/mainIngredient/Ingredients.vue'), - children:[ - { - path: 'selectIngredients', - name: 'selectIngredients', - component:()=>import('../views/mm/mainIngredient/SelectIngredients.vue') - }, - { - path: 'createIngredients', - name: 'createIngredients', - component:()=>import('../views/mm/mainIngredient/CreateIngredients.vue') - }, - { - path: '', - redirect:'/main/ingredients/SelectIngredients' - } - ] - }, - - - - - { - // 鐗╂枡搴撳瓨 - path:'ingredientsStock', - name:'ingredientsStock', - component: () => import('../views/mm/mainIngredientStock/IngredientsStock.vue'), - children:[ - { - path: 'selectIngredientsStock', - name: 'selectIngredientsStock', - component:()=>import('../views/mm/mainIngredientStock/SelectIngredientsStock.vue') - }, - - { - path: 'accessoriesMonthlySettlement', - name: 'accessoriesMonthlySettlement', - component:()=>import('../views/mm/mainIngredientStock/AccessoriesMonthlySettlement.vue') - }, - { - path: 'originalMonthlySettlement', - name: 'originalMonthlySettlement', - component:()=>import('../views/mm/mainIngredientStock/OriginalMonthlySettlement.vue') - }, - // 鐗╂枡鍑哄簱 - { - path: 'materialOutbound', - 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: '', - redirect:'/main/ingredientsStock/SelectIngredientsStock' - } - ] - }, - - - - - - { - // 渚涘簲鍟嗙鐞嗭紒锛侊紒 - path:'trader', - name:'trader', - component: () => import('../views/mm/mainTrader/Trader.vue'), - children:[ - { - path: 'selectTrader', - name: 'selectTrader', - component:()=>import('../views/mm/mainTrader/SelectTrader.vue') - }, - { - path: 'createTrader', - name: 'createTrader', - component:()=>import('../views/mm/mainTrader/CreateTrader.vue') - }, - { - path: '', - redirect:'/main/trader/SelectTrader' - } - ] - }, - /*------------- sunshiqiang Add --*/ - { - /*----------- 浠撳偍鎶ヨ〃 ----------------*/ - path: 'stockReport', - name: 'stockReport', - component: () => import('../views/mm/stockReport/stockReport.vue'), - children:[ - { - path: 'WarehouseReport', - name: 'WarehouseReport', - component: () => import('../views/mm/stockReport/WarehouseReport.vue'), - }, { - path: 'StockMonthReport', - name: 'StockMonthReport', - component: () => import('../views/mm/stockReport/StockMonthReport.vue'), - }, { - path: 'SubsidiaryMonthReport', - name: 'SubsidiaryMonthReport', - component: () => import('../views/mm/stockReport/SubsidiaryMonthReport.vue'), - }, - /*----------- 鏂板 ----------------*/ - { - path: 'StockWarehouseReport', - name: 'StockWarehouseReport', - component: () => import('../views/mm/stockReport/StockWarehouseReport.vue'), - }, { - path: '', - redirect: '/main/stockReport/WarehouseReport' - } - ] - }, - { - /*----------- 閲囪喘璁㈠崟 ----------------*/ - 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: '/sys/users', + // name: 'SysUser', + // component: User + // }, + // { + // path: '/sys/roles', + // name: 'SysRole', + // component: Role + // }, + // { + // path: '/sys/menus', + // name: 'SysMenu', + // component: Menu + // }, ] }, { path: '', - redirect:'/main/order' + redirect: '/returns/returns' } ] }, -- Gitblit v1.8.0