|
@@ -48,17 +48,6 @@ export const asyncRouterMap = [
|
|
|
},
|
|
|
hidden: true
|
|
|
},
|
|
|
- // 新品列表
|
|
|
- {
|
|
|
- path: '/newProduct',
|
|
|
- name: 'newProduct',
|
|
|
- component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
|
|
|
- meta: {
|
|
|
- title: '新品信息',
|
|
|
- icon: 'home'
|
|
|
- },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
// 销售管理
|
|
|
{
|
|
|
path: '/salesManagement',
|
|
@@ -74,7 +63,7 @@ export const asyncRouterMap = [
|
|
|
path: '/salesManagement/salesQuery',
|
|
|
redirect: '/salesManagement/salesQuery/list',
|
|
|
name: 'salesQuery',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '销售单查询',
|
|
|
icon: 'monitor',
|
|
@@ -132,7 +121,7 @@ export const asyncRouterMap = [
|
|
|
path: '/salesManagement/outboundOrder',
|
|
|
redirect: '/salesManagement/outboundOrder/list',
|
|
|
name: 'outboundOrder',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '出库',
|
|
|
icon: 'export',
|
|
@@ -157,7 +146,7 @@ export const asyncRouterMap = [
|
|
|
path: '/salesManagement/urgentItemsOffset',
|
|
|
redirect: '/salesManagement/urgentItemsOffset/list',
|
|
|
name: 'urgentItemsOffset',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '急件冲减',
|
|
|
icon: 'rocket',
|
|
@@ -193,7 +182,7 @@ export const asyncRouterMap = [
|
|
|
path: '/salesManagement/salesReturn',
|
|
|
redirect: '/salesManagement/salesReturn/list',
|
|
|
name: 'salesReturn',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '销售退货',
|
|
|
icon: 'fund',
|
|
@@ -251,7 +240,7 @@ export const asyncRouterMap = [
|
|
|
// path: '/salesManagement/quotation',
|
|
|
// redirect: '/salesManagement/quotation/list',
|
|
|
// name: 'quotation',
|
|
|
- // component: RouteView,
|
|
|
+ // component: BlankLayout,
|
|
|
// meta: {
|
|
|
// title: '报价单',
|
|
|
// icon: 'idcard'
|
|
@@ -309,7 +298,7 @@ export const asyncRouterMap = [
|
|
|
path: '/salesManagement/giftRecord',
|
|
|
redirect: '/salesManagement/giftRecord/list',
|
|
|
name: 'giftRecord',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '赠品记录',
|
|
|
icon: 'file-search',
|
|
@@ -334,7 +323,7 @@ export const asyncRouterMap = [
|
|
|
path: '/salesManagement/salesman',
|
|
|
redirect: '/salesManagement/salesman/list',
|
|
|
name: 'salesman',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '业务员管理',
|
|
|
icon: 'file-search',
|
|
@@ -372,7 +361,7 @@ export const asyncRouterMap = [
|
|
|
path: '/purchasingManagement/purchaseOrder',
|
|
|
redirect: '/purchasingManagement/purchaseOrder/list',
|
|
|
name: 'purchaseOrder',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '采购单管理',
|
|
|
icon: 'money-collect',
|
|
@@ -441,7 +430,7 @@ export const asyncRouterMap = [
|
|
|
path: '/purchasingManagement/purchaseReturn',
|
|
|
redirect: '/purchasingManagement/purchaseReturn/list',
|
|
|
name: 'purchaseReturn',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '采购退货',
|
|
|
icon: 'money-collect',
|
|
@@ -512,7 +501,7 @@ export const asyncRouterMap = [
|
|
|
path: '/financialManagement/warehousingAudit',
|
|
|
redirect: '/financialManagement/warehousingAudit/list',
|
|
|
name: 'warehousingAudit',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '入库审核',
|
|
|
icon: 'pull-request',
|
|
@@ -548,7 +537,7 @@ export const asyncRouterMap = [
|
|
|
path: '/financialManagement/inventoryCheckAudit',
|
|
|
redirect: '/financialManagement/inventoryCheckAudit/list',
|
|
|
name: 'inventoryCheckAudit',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '盘点审核',
|
|
|
icon: 'laptop',
|
|
@@ -573,7 +562,7 @@ export const asyncRouterMap = [
|
|
|
path: '/financialManagement/financialPayment',
|
|
|
redirect: '/financialManagement/financialPayment/list',
|
|
|
name: 'financialPayment',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '财务付款',
|
|
|
icon: 'pay-circle',
|
|
@@ -598,7 +587,7 @@ export const asyncRouterMap = [
|
|
|
path: '/financialManagement/financialCollection',
|
|
|
redirect: '/financialManagement/financialCollection/list',
|
|
|
name: 'financialCollection',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '财务收款',
|
|
|
icon: 'money-collect',
|
|
@@ -623,7 +612,7 @@ export const asyncRouterMap = [
|
|
|
path: '/financialManagement/expenseManagement',
|
|
|
redirect: '/financialManagement/expenseManagement/list',
|
|
|
name: 'expenseManagement',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '费用管理',
|
|
|
icon: 'pound',
|
|
@@ -670,7 +659,7 @@ export const asyncRouterMap = [
|
|
|
path: '/financialManagement/companyReceivablePayable',
|
|
|
redirect: '/financialManagement/companyReceivablePayable/list',
|
|
|
name: 'companyReceivablePayable',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '单位应收应付管理',
|
|
|
icon: 'transaction',
|
|
@@ -717,7 +706,7 @@ export const asyncRouterMap = [
|
|
|
path: '/financialManagement/companyCollectionPayment',
|
|
|
redirect: '/financialManagement/companyCollectionPayment/list',
|
|
|
name: 'companyCollectionPayment',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '单位收付款记录',
|
|
|
icon: 'file-protect',
|
|
@@ -753,7 +742,7 @@ export const asyncRouterMap = [
|
|
|
path: '/financialManagement/withdrawalManagement',
|
|
|
redirect: '/financialManagement/withdrawalManagement/list',
|
|
|
name: 'withdrawalManagement',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '提现管理',
|
|
|
icon: 'dollar',
|
|
@@ -778,7 +767,7 @@ export const asyncRouterMap = [
|
|
|
path: '/financialManagement/ledgerRecord',
|
|
|
redirect: '/financialManagement/ledgerRecord/list',
|
|
|
name: 'ledgerRecord',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '分账记录',
|
|
|
icon: 'profile',
|
|
@@ -816,7 +805,7 @@ export const asyncRouterMap = [
|
|
|
path: '/allocationManagement/warehouseAllocation',
|
|
|
redirect: '/allocationManagement/warehouseAllocation/list',
|
|
|
name: 'warehouseAllocation',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '仓库调拨',
|
|
|
icon: 'gateway',
|
|
@@ -874,7 +863,7 @@ export const asyncRouterMap = [
|
|
|
path: '/allocationManagement/chainTransferIn',
|
|
|
redirect: '/allocationManagement/chainTransferIn/list',
|
|
|
name: 'chainTransferIn',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '连锁调入',
|
|
|
icon: 'cluster',
|
|
@@ -921,7 +910,7 @@ export const asyncRouterMap = [
|
|
|
path: '/allocationManagement/chainTransferOut',
|
|
|
redirect: '/allocationManagement/chainTransferOut/list',
|
|
|
name: 'chainTransferOut',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '连锁调出',
|
|
|
icon: 'pull-request',
|
|
@@ -979,7 +968,7 @@ export const asyncRouterMap = [
|
|
|
path: '/allocationManagement/storeTransferOut',
|
|
|
redirect: '/allocationManagement/storeTransferOut/list',
|
|
|
name: 'storeTransferOut',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '店内调出',
|
|
|
icon: 'interaction',
|
|
@@ -1050,7 +1039,7 @@ export const asyncRouterMap = [
|
|
|
path: '/inventoryManagement/inventoryQuery',
|
|
|
redirect: '/inventoryManagement/inventoryQuery/list',
|
|
|
name: 'inventoryQuery',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '库存查询',
|
|
|
icon: 'monitor',
|
|
@@ -1106,7 +1095,7 @@ export const asyncRouterMap = [
|
|
|
path: '/inventoryManagement/inventoryChecking',
|
|
|
redirect: '/inventoryManagement/inventoryChecking/list',
|
|
|
name: 'inventoryChecking',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '库存盘点',
|
|
|
icon: 'reconciliation',
|
|
@@ -1164,7 +1153,7 @@ export const asyncRouterMap = [
|
|
|
path: '/inventoryManagement/inventoryImport',
|
|
|
redirect: '/inventoryManagement/inventoryImport/list',
|
|
|
name: 'inventoryImport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '库存导入',
|
|
|
icon: 'frown'
|
|
@@ -1189,7 +1178,7 @@ export const asyncRouterMap = [
|
|
|
path: '/inventoryManagement/warehouse',
|
|
|
redirect: '/inventoryManagement/warehouse/list',
|
|
|
name: 'warehouse',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '仓库管理',
|
|
|
icon: 'deployment-unit',
|
|
@@ -1238,7 +1227,7 @@ export const asyncRouterMap = [
|
|
|
path: '/bulkManagement/bulkWarehousingOrder',
|
|
|
redirect: '/bulkManagement/bulkWarehousingOrder/list',
|
|
|
name: 'bulkWarehousingOrder',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '散件入库',
|
|
|
icon: 'gold',
|
|
@@ -1296,7 +1285,7 @@ export const asyncRouterMap = [
|
|
|
path: '/bulkManagement/bulkReturnGoods',
|
|
|
redirect: '/bulkManagement/bulkReturnGoods/list',
|
|
|
name: 'bulkReturnGoods',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '散件退货',
|
|
|
icon: 'frown',
|
|
@@ -1343,7 +1332,7 @@ export const asyncRouterMap = [
|
|
|
path: '/bulkManagement/bulkImport',
|
|
|
redirect: '/bulkManagement/bulkImport/list',
|
|
|
name: 'bulkImport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '散件导入',
|
|
|
icon: 'frown'
|
|
@@ -1381,7 +1370,7 @@ export const asyncRouterMap = [
|
|
|
path: '/reportData/chainStockReport',
|
|
|
redirect: '/reportData/chainStockReport/list',
|
|
|
name: 'chainStockReport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '连锁库存总表(天)',
|
|
|
icon: 'profile',
|
|
@@ -1406,7 +1395,7 @@ export const asyncRouterMap = [
|
|
|
path: '/reportData/chainSalesReport',
|
|
|
redirect: '/reportData/chainSalesReport/list',
|
|
|
name: 'chainSalesReport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '连锁销售报表(天)',
|
|
|
icon: 'profile',
|
|
@@ -1431,7 +1420,7 @@ export const asyncRouterMap = [
|
|
|
path: '/reportData/chainSalesDetailReport',
|
|
|
redirect: '/reportData/chainSalesDetailReport/list',
|
|
|
name: 'chainSalesDetailReport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '连锁销售明细报表(天)',
|
|
|
icon: 'profile',
|
|
@@ -1456,7 +1445,7 @@ export const asyncRouterMap = [
|
|
|
path: '/reportData/chainReceivedSendStorageReport',
|
|
|
redirect: '/reportData/chainReceivedSendStorageReport/list',
|
|
|
name: 'chainReceivedSendStorageReport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '连锁收发存报表',
|
|
|
icon: 'profile',
|
|
@@ -1481,7 +1470,7 @@ export const asyncRouterMap = [
|
|
|
path: '/reportData/customerReport',
|
|
|
redirect: '/reportData/customerReport/list',
|
|
|
name: 'customerReport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '大客户报表(天)',
|
|
|
icon: 'profile',
|
|
@@ -1506,7 +1495,7 @@ export const asyncRouterMap = [
|
|
|
path: '/reportData/stockIncomeReport',
|
|
|
redirect: '/reportData/stockIncomeReport/list',
|
|
|
name: 'stockIncomeReport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '库存总入报表',
|
|
|
icon: 'profile',
|
|
@@ -1531,7 +1520,7 @@ export const asyncRouterMap = [
|
|
|
path: '/reportData/stockExpenditureReport',
|
|
|
redirect: '/reportData/stockExpenditureReport/list',
|
|
|
name: 'stockExpenditureReport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '库存总出报表',
|
|
|
icon: 'profile',
|
|
@@ -1556,7 +1545,7 @@ export const asyncRouterMap = [
|
|
|
path: '/reportData/receivedSendStorageReport',
|
|
|
redirect: '/reportData/receivedSendStorageReport/list',
|
|
|
name: 'receivedSendStorageReport',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '收发存报表',
|
|
|
icon: 'profile',
|
|
@@ -1594,7 +1583,7 @@ export const asyncRouterMap = [
|
|
|
path: '/customerManagement/customerInfo',
|
|
|
redirect: '/customerManagement/customerInfo/list',
|
|
|
name: 'customerInfo',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '客户管理',
|
|
|
icon: 'idcard',
|
|
@@ -1654,7 +1643,7 @@ export const asyncRouterMap = [
|
|
|
path: '/productManagement/productInfo',
|
|
|
redirect: '/productManagement/productInfo/list',
|
|
|
name: 'productInfo',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '产品信息管理(自建)',
|
|
|
icon: 'file-text',
|
|
@@ -1701,7 +1690,7 @@ export const asyncRouterMap = [
|
|
|
path: '/productManagement/productInfoJg',
|
|
|
redirect: '/productManagement/productInfoJg/list',
|
|
|
name: 'productInfoJg',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '产品信息管理(箭冠)',
|
|
|
icon: 'file-text',
|
|
@@ -1726,7 +1715,7 @@ export const asyncRouterMap = [
|
|
|
path: '/productManagement/productBrand',
|
|
|
redirect: '/productManagement/productBrand/list',
|
|
|
name: 'productBrand',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '产品品牌管理',
|
|
|
icon: 'sketch',
|
|
@@ -1751,7 +1740,7 @@ export const asyncRouterMap = [
|
|
|
path: '/productManagement/productCategory',
|
|
|
redirect: '/productManagement/productCategory/list',
|
|
|
name: 'productCategory',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '产品分类管理',
|
|
|
icon: 'sliders',
|
|
@@ -1776,7 +1765,7 @@ export const asyncRouterMap = [
|
|
|
path: '/productManagement/priceChangeRecord',
|
|
|
redirect: '/productManagement/priceChangeRecord/list',
|
|
|
name: 'priceChangeRecord',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '价格变更记录',
|
|
|
icon: 'sketch',
|
|
@@ -1796,7 +1785,29 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
- }
|
|
|
+ },
|
|
|
+ // 新品列表
|
|
|
+ {
|
|
|
+ path: '/newProduct',
|
|
|
+ name: 'newProduct',
|
|
|
+ component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
|
|
|
+ meta: {
|
|
|
+ title: '新品信息',
|
|
|
+ icon: 'home'
|
|
|
+ },
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
+ // 产品详情
|
|
|
+ {
|
|
|
+ path: '/viewProduct/:sn',
|
|
|
+ name: 'viewProduct',
|
|
|
+ component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/detail'),
|
|
|
+ meta: {
|
|
|
+ title: '产品详情',
|
|
|
+ icon: 'home'
|
|
|
+ },
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
]
|
|
|
},
|
|
|
// 供应商管理
|
|
@@ -1814,7 +1825,7 @@ export const asyncRouterMap = [
|
|
|
path: '/supplierManagement/supplierInfo',
|
|
|
redirect: '/supplierManagement/supplierInfo/list',
|
|
|
name: 'supplierInfo',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '供应商管理',
|
|
|
icon: 'team',
|
|
@@ -1852,7 +1863,7 @@ export const asyncRouterMap = [
|
|
|
path: '/storeManagement/bind',
|
|
|
redirect: '/storeManagement/bind/list',
|
|
|
name: 'storeManagementBind',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '中心店/配送店绑定',
|
|
|
icon: 'link',
|
|
@@ -1877,7 +1888,7 @@ export const asyncRouterMap = [
|
|
|
path: '/storeManagement/userAuthorization',
|
|
|
redirect: '/storeManagement/userAuthorization/list',
|
|
|
name: 'storeManagementUserAuth',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '中心店用户授权',
|
|
|
icon: 'link',
|
|
@@ -1915,7 +1926,7 @@ export const asyncRouterMap = [
|
|
|
path: '/basicData/storeTransferOutTypeManagement',
|
|
|
redirect: '/basicData/storeTransferOutTypeManagement/list',
|
|
|
name: 'storeTransferOutTypeManagement',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '店内调出类型管理',
|
|
|
icon: 'interaction',
|
|
@@ -1940,7 +1951,7 @@ export const asyncRouterMap = [
|
|
|
path: '/basicData/bulkPartsTypeManagement',
|
|
|
redirect: '/basicData/bulkPartsTypeManagement/list',
|
|
|
name: 'bulkPartsTypeManagement',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '散件入库类型管理',
|
|
|
icon: 'gold',
|
|
@@ -1965,7 +1976,7 @@ export const asyncRouterMap = [
|
|
|
path: '/basicData/expenseType',
|
|
|
redirect: '/basicData/expenseType/list',
|
|
|
name: 'expenseType',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '费用类型管理',
|
|
|
icon: 'pay-circle',
|
|
@@ -1990,7 +2001,7 @@ export const asyncRouterMap = [
|
|
|
// path: '/basicData/processSettings',
|
|
|
// redirect: '/basicData/processSettings/setup',
|
|
|
// name: 'processSettings',
|
|
|
- // component: RouteView,
|
|
|
+ // component: BlankLayout,
|
|
|
// meta: {
|
|
|
// title: '业务自动化设置',
|
|
|
// icon: 'sliders'
|
|
@@ -2015,7 +2026,7 @@ export const asyncRouterMap = [
|
|
|
path: '/basicData/customerTypeManagement',
|
|
|
redirect: '/basicData/customerTypeManagement/list',
|
|
|
name: 'customerTypeManagement',
|
|
|
- component: RouteView,
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '客户类型管理',
|
|
|
icon: 'idcard',
|