| | |
| | | name: 'login', |
| | | component: () => import('../views/LoginView.vue') |
| | | }, |
| | | |
| | | { |
| | | path: '/main', |
| | | name: 'main', |
| | |
| | | |
| | | //mm模块 |
| | | { |
| | | path: 'productStock', |
| | | name: 'productStock', |
| | | component: () => import('../views/mm/mainProductStock/ProductStock.vue'), |
| | | path: 'UnLoadGlass', |
| | | name: 'UnLoadGlass', |
| | | component: () => import('../views/UnLoadGlass/UnLoadGlass.vue'), |
| | | children:[ |
| | | { |
| | | // 成品库存 |
| | | path: 'productStockList', |
| | | name: 'productStockList', |
| | | component: () => import('../views/mm/mainProductStock/ProductStockList.vue'), |
| | | path: '/UnLoadGlass/loadmachinerack', |
| | | name: 'loadmachinerack', |
| | | component: () => import('../views/UnLoadGlass/loadmachinerack.vue') |
| | | }, |
| | | { |
| | | // 成品入库 |
| | | path: 'createProductStock', |
| | | name: 'createProductStock', |
| | | component:()=> import('../views/mm/mainProductStock/CreateProductStock.vue'), |
| | | path: '/UnLoadGlass/Landingindication', |
| | | name: 'Landingindication', |
| | | component: () => import('../views/UnLoadGlass/Landingindication.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: '/UnLoadGlass/Landingindicationtwo', |
| | | name: 'Landingindicationtwo', |
| | | component: () => import('../views/UnLoadGlass/Landingindicationtwo.vue') |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | // 物料资料 |
| | | 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: '', |
| | | redirect:'/main/order' |