|
@@ -48,6 +48,28 @@ export const asyncRouterMap = [
|
|
},
|
|
},
|
|
hidden: true
|
|
hidden: true
|
|
},
|
|
},
|
|
|
|
+ // 新品列表
|
|
|
|
+ {
|
|
|
|
+ path: '/newProduct/:onlineFalg',
|
|
|
|
+ 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
|
|
|
|
+ },
|
|
// 销售管理
|
|
// 销售管理
|
|
{
|
|
{
|
|
path: '/salesManagement',
|
|
path: '/salesManagement',
|
|
@@ -63,7 +85,7 @@ export const asyncRouterMap = [
|
|
path: '/salesManagement/salesQuery',
|
|
path: '/salesManagement/salesQuery',
|
|
redirect: '/salesManagement/salesQuery/list',
|
|
redirect: '/salesManagement/salesQuery/list',
|
|
name: 'salesQuery',
|
|
name: 'salesQuery',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '销售单查询',
|
|
title: '销售单查询',
|
|
icon: 'monitor',
|
|
icon: 'monitor',
|
|
@@ -117,36 +139,11 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
- {
|
|
|
|
- path: '/salesManagement/outboundOrder',
|
|
|
|
- redirect: '/salesManagement/outboundOrder/list',
|
|
|
|
- name: 'outboundOrder',
|
|
|
|
- component: RouteView,
|
|
|
|
- meta: {
|
|
|
|
- title: '出库',
|
|
|
|
- icon: 'export',
|
|
|
|
- permission: 'M_outboundList'
|
|
|
|
- },
|
|
|
|
- hideChildrenInMenu: true,
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- path: 'list',
|
|
|
|
- name: 'outboundOrderList',
|
|
|
|
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/outboundOrder/list.vue'),
|
|
|
|
- meta: {
|
|
|
|
- title: '出库列表',
|
|
|
|
- icon: 'export',
|
|
|
|
- hidden: true,
|
|
|
|
- permission: 'M_outboundList'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
path: '/salesManagement/urgentItemsOffset',
|
|
path: '/salesManagement/urgentItemsOffset',
|
|
redirect: '/salesManagement/urgentItemsOffset/list',
|
|
redirect: '/salesManagement/urgentItemsOffset/list',
|
|
name: 'urgentItemsOffset',
|
|
name: 'urgentItemsOffset',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '急件冲减',
|
|
title: '急件冲减',
|
|
icon: 'rocket',
|
|
icon: 'rocket',
|
|
@@ -182,7 +179,7 @@ export const asyncRouterMap = [
|
|
path: '/salesManagement/salesReturn',
|
|
path: '/salesManagement/salesReturn',
|
|
redirect: '/salesManagement/salesReturn/list',
|
|
redirect: '/salesManagement/salesReturn/list',
|
|
name: 'salesReturn',
|
|
name: 'salesReturn',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '销售退货',
|
|
title: '销售退货',
|
|
icon: 'fund',
|
|
icon: 'fund',
|
|
@@ -236,69 +233,11 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
- // { 二期
|
|
|
|
- // path: '/salesManagement/quotation',
|
|
|
|
- // redirect: '/salesManagement/quotation/list',
|
|
|
|
- // name: 'quotation',
|
|
|
|
- // component: RouteView,
|
|
|
|
- // meta: {
|
|
|
|
- // title: '报价单',
|
|
|
|
- // icon: 'idcard'
|
|
|
|
- // // permission: 'M_goodsManage_list'
|
|
|
|
- // },
|
|
|
|
- // hideChildrenInMenu: true,
|
|
|
|
- // children: [
|
|
|
|
- // {
|
|
|
|
- // path: 'list',
|
|
|
|
- // name: 'quotationList',
|
|
|
|
- // component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/quotation/list.vue'),
|
|
|
|
- // meta: {
|
|
|
|
- // title: '报价单列表',
|
|
|
|
- // icon: 'idcard',
|
|
|
|
- // hidden: true
|
|
|
|
- // // permission: 'M_goodsManage_list'
|
|
|
|
- // }
|
|
|
|
- // },
|
|
|
|
- // {
|
|
|
|
- // path: 'add',
|
|
|
|
- // name: 'quotationAdd',
|
|
|
|
- // component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/quotation/edit.vue'),
|
|
|
|
- // meta: {
|
|
|
|
- // title: '新增报价单',
|
|
|
|
- // icon: 'idcard',
|
|
|
|
- // hidden: true
|
|
|
|
- // // permission: 'M_goodsManage_list'
|
|
|
|
- // }
|
|
|
|
- // },
|
|
|
|
- // {
|
|
|
|
- // path: 'edit/:id',
|
|
|
|
- // name: 'quotationEdit',
|
|
|
|
- // component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/quotation/edit.vue'),
|
|
|
|
- // meta: {
|
|
|
|
- // title: '编辑报价单',
|
|
|
|
- // icon: 'idcard',
|
|
|
|
- // hidden: true
|
|
|
|
- // // permission: 'M_goodsManage_list'
|
|
|
|
- // }
|
|
|
|
- // },
|
|
|
|
- // {
|
|
|
|
- // path: 'detail/:id',
|
|
|
|
- // name: 'quotationDetail',
|
|
|
|
- // component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/quotation/detail.vue'),
|
|
|
|
- // meta: {
|
|
|
|
- // title: '报价单详情',
|
|
|
|
- // icon: 'idcard',
|
|
|
|
- // hidden: true
|
|
|
|
- // // permission: 'M_goodsManage_list'
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
- // ]
|
|
|
|
- // },
|
|
|
|
{
|
|
{
|
|
path: '/salesManagement/giftRecord',
|
|
path: '/salesManagement/giftRecord',
|
|
redirect: '/salesManagement/giftRecord/list',
|
|
redirect: '/salesManagement/giftRecord/list',
|
|
name: 'giftRecord',
|
|
name: 'giftRecord',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '赠品记录',
|
|
title: '赠品记录',
|
|
icon: 'file-search',
|
|
icon: 'file-search',
|
|
@@ -318,6 +257,31 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/salesManagement/salesman',
|
|
|
|
+ redirect: '/salesManagement/salesman/list',
|
|
|
|
+ name: 'salesman',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '业务员管理',
|
|
|
|
+ icon: 'file-search',
|
|
|
|
+ permission: 'M_salesman_list'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'salesmanList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesman/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '业务员列表',
|
|
|
|
+ icon: 'file-search',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_salesman_list'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -336,7 +300,7 @@ export const asyncRouterMap = [
|
|
path: '/purchasingManagement/purchaseOrder',
|
|
path: '/purchasingManagement/purchaseOrder',
|
|
redirect: '/purchasingManagement/purchaseOrder/list',
|
|
redirect: '/purchasingManagement/purchaseOrder/list',
|
|
name: 'purchaseOrder',
|
|
name: 'purchaseOrder',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '采购单管理',
|
|
title: '采购单管理',
|
|
icon: 'money-collect',
|
|
icon: 'money-collect',
|
|
@@ -405,7 +369,7 @@ export const asyncRouterMap = [
|
|
path: '/purchasingManagement/purchaseReturn',
|
|
path: '/purchasingManagement/purchaseReturn',
|
|
redirect: '/purchasingManagement/purchaseReturn/list',
|
|
redirect: '/purchasingManagement/purchaseReturn/list',
|
|
name: 'purchaseReturn',
|
|
name: 'purchaseReturn',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '采购退货',
|
|
title: '采购退货',
|
|
icon: 'money-collect',
|
|
icon: 'money-collect',
|
|
@@ -461,6 +425,44 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ // 出库管理
|
|
|
|
+ {
|
|
|
|
+ path: '/outboundOrderManagement',
|
|
|
|
+ redirect: '/outboundOrderManagement/outboundOrder',
|
|
|
|
+ component: PageView,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '出库管理',
|
|
|
|
+ icon: 'logout',
|
|
|
|
+ permission: 'M_outboundList'
|
|
|
|
+ },
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: '/outboundOrderManagement/outboundOrder',
|
|
|
|
+ redirect: '/outboundOrderManagement/outboundOrder/list',
|
|
|
|
+ name: 'outboundOrder',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '出库',
|
|
|
|
+ icon: 'logout',
|
|
|
|
+ permission: 'M_outboundList'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'outboundOrderList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "outboundOrderManagement" */ '@/views/outboundOrderManagement/outboundOrder/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '出库列表',
|
|
|
|
+ icon: 'logout',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_outboundList'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
// 财务管理
|
|
// 财务管理
|
|
{
|
|
{
|
|
path: '/financialManagement',
|
|
path: '/financialManagement',
|
|
@@ -476,7 +478,7 @@ export const asyncRouterMap = [
|
|
path: '/financialManagement/warehousingAudit',
|
|
path: '/financialManagement/warehousingAudit',
|
|
redirect: '/financialManagement/warehousingAudit/list',
|
|
redirect: '/financialManagement/warehousingAudit/list',
|
|
name: 'warehousingAudit',
|
|
name: 'warehousingAudit',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '入库审核',
|
|
title: '入库审核',
|
|
icon: 'pull-request',
|
|
icon: 'pull-request',
|
|
@@ -512,7 +514,7 @@ export const asyncRouterMap = [
|
|
path: '/financialManagement/inventoryCheckAudit',
|
|
path: '/financialManagement/inventoryCheckAudit',
|
|
redirect: '/financialManagement/inventoryCheckAudit/list',
|
|
redirect: '/financialManagement/inventoryCheckAudit/list',
|
|
name: 'inventoryCheckAudit',
|
|
name: 'inventoryCheckAudit',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '盘点审核',
|
|
title: '盘点审核',
|
|
icon: 'laptop',
|
|
icon: 'laptop',
|
|
@@ -537,7 +539,7 @@ export const asyncRouterMap = [
|
|
path: '/financialManagement/financialPayment',
|
|
path: '/financialManagement/financialPayment',
|
|
redirect: '/financialManagement/financialPayment/list',
|
|
redirect: '/financialManagement/financialPayment/list',
|
|
name: 'financialPayment',
|
|
name: 'financialPayment',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '财务付款',
|
|
title: '财务付款',
|
|
icon: 'pay-circle',
|
|
icon: 'pay-circle',
|
|
@@ -562,7 +564,7 @@ export const asyncRouterMap = [
|
|
path: '/financialManagement/financialCollection',
|
|
path: '/financialManagement/financialCollection',
|
|
redirect: '/financialManagement/financialCollection/list',
|
|
redirect: '/financialManagement/financialCollection/list',
|
|
name: 'financialCollection',
|
|
name: 'financialCollection',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '财务收款',
|
|
title: '财务收款',
|
|
icon: 'money-collect',
|
|
icon: 'money-collect',
|
|
@@ -587,7 +589,7 @@ export const asyncRouterMap = [
|
|
path: '/financialManagement/expenseManagement',
|
|
path: '/financialManagement/expenseManagement',
|
|
redirect: '/financialManagement/expenseManagement/list',
|
|
redirect: '/financialManagement/expenseManagement/list',
|
|
name: 'expenseManagement',
|
|
name: 'expenseManagement',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '费用管理',
|
|
title: '费用管理',
|
|
icon: 'pound',
|
|
icon: 'pound',
|
|
@@ -634,7 +636,7 @@ export const asyncRouterMap = [
|
|
path: '/financialManagement/companyReceivablePayable',
|
|
path: '/financialManagement/companyReceivablePayable',
|
|
redirect: '/financialManagement/companyReceivablePayable/list',
|
|
redirect: '/financialManagement/companyReceivablePayable/list',
|
|
name: 'companyReceivablePayable',
|
|
name: 'companyReceivablePayable',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '单位应收应付管理',
|
|
title: '单位应收应付管理',
|
|
icon: 'transaction',
|
|
icon: 'transaction',
|
|
@@ -681,7 +683,7 @@ export const asyncRouterMap = [
|
|
path: '/financialManagement/companyCollectionPayment',
|
|
path: '/financialManagement/companyCollectionPayment',
|
|
redirect: '/financialManagement/companyCollectionPayment/list',
|
|
redirect: '/financialManagement/companyCollectionPayment/list',
|
|
name: 'companyCollectionPayment',
|
|
name: 'companyCollectionPayment',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '单位收付款记录',
|
|
title: '单位收付款记录',
|
|
icon: 'file-protect',
|
|
icon: 'file-protect',
|
|
@@ -717,7 +719,7 @@ export const asyncRouterMap = [
|
|
path: '/financialManagement/withdrawalManagement',
|
|
path: '/financialManagement/withdrawalManagement',
|
|
redirect: '/financialManagement/withdrawalManagement/list',
|
|
redirect: '/financialManagement/withdrawalManagement/list',
|
|
name: 'withdrawalManagement',
|
|
name: 'withdrawalManagement',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '提现管理',
|
|
title: '提现管理',
|
|
icon: 'dollar',
|
|
icon: 'dollar',
|
|
@@ -742,7 +744,7 @@ export const asyncRouterMap = [
|
|
path: '/financialManagement/ledgerRecord',
|
|
path: '/financialManagement/ledgerRecord',
|
|
redirect: '/financialManagement/ledgerRecord/list',
|
|
redirect: '/financialManagement/ledgerRecord/list',
|
|
name: 'ledgerRecord',
|
|
name: 'ledgerRecord',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '分账记录',
|
|
title: '分账记录',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
@@ -780,7 +782,7 @@ export const asyncRouterMap = [
|
|
path: '/allocationManagement/warehouseAllocation',
|
|
path: '/allocationManagement/warehouseAllocation',
|
|
redirect: '/allocationManagement/warehouseAllocation/list',
|
|
redirect: '/allocationManagement/warehouseAllocation/list',
|
|
name: 'warehouseAllocation',
|
|
name: 'warehouseAllocation',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '仓库调拨',
|
|
title: '仓库调拨',
|
|
icon: 'gateway',
|
|
icon: 'gateway',
|
|
@@ -838,7 +840,7 @@ export const asyncRouterMap = [
|
|
path: '/allocationManagement/chainTransferIn',
|
|
path: '/allocationManagement/chainTransferIn',
|
|
redirect: '/allocationManagement/chainTransferIn/list',
|
|
redirect: '/allocationManagement/chainTransferIn/list',
|
|
name: 'chainTransferIn',
|
|
name: 'chainTransferIn',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '连锁调入',
|
|
title: '连锁调入',
|
|
icon: 'cluster',
|
|
icon: 'cluster',
|
|
@@ -885,7 +887,7 @@ export const asyncRouterMap = [
|
|
path: '/allocationManagement/chainTransferOut',
|
|
path: '/allocationManagement/chainTransferOut',
|
|
redirect: '/allocationManagement/chainTransferOut/list',
|
|
redirect: '/allocationManagement/chainTransferOut/list',
|
|
name: 'chainTransferOut',
|
|
name: 'chainTransferOut',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '连锁调出',
|
|
title: '连锁调出',
|
|
icon: 'pull-request',
|
|
icon: 'pull-request',
|
|
@@ -943,7 +945,7 @@ export const asyncRouterMap = [
|
|
path: '/allocationManagement/storeTransferOut',
|
|
path: '/allocationManagement/storeTransferOut',
|
|
redirect: '/allocationManagement/storeTransferOut/list',
|
|
redirect: '/allocationManagement/storeTransferOut/list',
|
|
name: 'storeTransferOut',
|
|
name: 'storeTransferOut',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '店内调出',
|
|
title: '店内调出',
|
|
icon: 'interaction',
|
|
icon: 'interaction',
|
|
@@ -1014,7 +1016,7 @@ export const asyncRouterMap = [
|
|
path: '/inventoryManagement/inventoryQuery',
|
|
path: '/inventoryManagement/inventoryQuery',
|
|
redirect: '/inventoryManagement/inventoryQuery/list',
|
|
redirect: '/inventoryManagement/inventoryQuery/list',
|
|
name: 'inventoryQuery',
|
|
name: 'inventoryQuery',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '库存查询',
|
|
title: '库存查询',
|
|
icon: 'monitor',
|
|
icon: 'monitor',
|
|
@@ -1070,7 +1072,7 @@ export const asyncRouterMap = [
|
|
path: '/inventoryManagement/inventoryChecking',
|
|
path: '/inventoryManagement/inventoryChecking',
|
|
redirect: '/inventoryManagement/inventoryChecking/list',
|
|
redirect: '/inventoryManagement/inventoryChecking/list',
|
|
name: 'inventoryChecking',
|
|
name: 'inventoryChecking',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '库存盘点',
|
|
title: '库存盘点',
|
|
icon: 'reconciliation',
|
|
icon: 'reconciliation',
|
|
@@ -1124,11 +1126,36 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ path: '/inventoryManagement/inventoryImport',
|
|
|
|
+ redirect: '/inventoryManagement/inventoryImport/list',
|
|
|
|
+ name: 'inventoryImport',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '库存导入',
|
|
|
|
+ icon: 'frown',
|
|
|
|
+ permission: 'M_inventoryImport'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'inventoryImportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryImport/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '库存导入列表',
|
|
|
|
+ icon: 'frown',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_inventoryImport'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
{
|
|
{
|
|
path: '/inventoryManagement/warehouse',
|
|
path: '/inventoryManagement/warehouse',
|
|
redirect: '/inventoryManagement/warehouse/list',
|
|
redirect: '/inventoryManagement/warehouse/list',
|
|
name: 'warehouse',
|
|
name: 'warehouse',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '仓库管理',
|
|
title: '仓库管理',
|
|
icon: 'deployment-unit',
|
|
icon: 'deployment-unit',
|
|
@@ -1170,14 +1197,14 @@ export const asyncRouterMap = [
|
|
meta: {
|
|
meta: {
|
|
title: '散件管理',
|
|
title: '散件管理',
|
|
icon: 'gold',
|
|
icon: 'gold',
|
|
- permission: 'M_bulkWarehousingOrderList'
|
|
|
|
|
|
+ permission: 'M_bulkManagement'
|
|
},
|
|
},
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/bulkManagement/bulkWarehousingOrder',
|
|
path: '/bulkManagement/bulkWarehousingOrder',
|
|
redirect: '/bulkManagement/bulkWarehousingOrder/list',
|
|
redirect: '/bulkManagement/bulkWarehousingOrder/list',
|
|
name: 'bulkWarehousingOrder',
|
|
name: 'bulkWarehousingOrder',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '散件入库',
|
|
title: '散件入库',
|
|
icon: 'gold',
|
|
icon: 'gold',
|
|
@@ -1235,7 +1262,7 @@ export const asyncRouterMap = [
|
|
path: '/bulkManagement/bulkReturnGoods',
|
|
path: '/bulkManagement/bulkReturnGoods',
|
|
redirect: '/bulkManagement/bulkReturnGoods/list',
|
|
redirect: '/bulkManagement/bulkReturnGoods/list',
|
|
name: 'bulkReturnGoods',
|
|
name: 'bulkReturnGoods',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '散件退货',
|
|
title: '散件退货',
|
|
icon: 'frown',
|
|
icon: 'frown',
|
|
@@ -1277,6 +1304,31 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/bulkManagement/bulkImport',
|
|
|
|
+ redirect: '/bulkManagement/bulkImport/list',
|
|
|
|
+ name: 'bulkImport',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件导入',
|
|
|
|
+ icon: 'frown',
|
|
|
|
+ permission: 'M_bulkImport'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'bulkImportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkImport/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件导入列表',
|
|
|
|
+ icon: 'frown',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_bulkImport'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -1295,9 +1347,9 @@ export const asyncRouterMap = [
|
|
path: '/reportData/chainStockReport',
|
|
path: '/reportData/chainStockReport',
|
|
redirect: '/reportData/chainStockReport/list',
|
|
redirect: '/reportData/chainStockReport/list',
|
|
name: 'chainStockReport',
|
|
name: 'chainStockReport',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
- title: '连锁库存总表(天)',
|
|
|
|
|
|
+ title: '连锁库存总表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
permission: 'M_chainStockReportList'
|
|
permission: 'M_chainStockReportList'
|
|
},
|
|
},
|
|
@@ -1320,9 +1372,9 @@ export const asyncRouterMap = [
|
|
path: '/reportData/chainSalesReport',
|
|
path: '/reportData/chainSalesReport',
|
|
redirect: '/reportData/chainSalesReport/list',
|
|
redirect: '/reportData/chainSalesReport/list',
|
|
name: 'chainSalesReport',
|
|
name: 'chainSalesReport',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
- title: '连锁销售报表(天)',
|
|
|
|
|
|
+ title: '连锁销售报表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
permission: 'M_chainSalesReportList'
|
|
permission: 'M_chainSalesReportList'
|
|
},
|
|
},
|
|
@@ -1345,9 +1397,9 @@ export const asyncRouterMap = [
|
|
path: '/reportData/chainSalesDetailReport',
|
|
path: '/reportData/chainSalesDetailReport',
|
|
redirect: '/reportData/chainSalesDetailReport/list',
|
|
redirect: '/reportData/chainSalesDetailReport/list',
|
|
name: 'chainSalesDetailReport',
|
|
name: 'chainSalesDetailReport',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
- title: '连锁销售明细报表(天)',
|
|
|
|
|
|
+ title: '连锁销售明细报表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
permission: 'M_chainSalesDetailReportList'
|
|
permission: 'M_chainSalesDetailReportList'
|
|
},
|
|
},
|
|
@@ -1370,7 +1422,7 @@ export const asyncRouterMap = [
|
|
path: '/reportData/chainReceivedSendStorageReport',
|
|
path: '/reportData/chainReceivedSendStorageReport',
|
|
redirect: '/reportData/chainReceivedSendStorageReport/list',
|
|
redirect: '/reportData/chainReceivedSendStorageReport/list',
|
|
name: 'chainReceivedSendStorageReport',
|
|
name: 'chainReceivedSendStorageReport',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '连锁收发存报表',
|
|
title: '连锁收发存报表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
@@ -1395,9 +1447,9 @@ export const asyncRouterMap = [
|
|
path: '/reportData/customerReport',
|
|
path: '/reportData/customerReport',
|
|
redirect: '/reportData/customerReport/list',
|
|
redirect: '/reportData/customerReport/list',
|
|
name: 'customerReport',
|
|
name: 'customerReport',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
- title: '大客户报表(天)',
|
|
|
|
|
|
+ title: '大客户报表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
permission: 'M_customerReportList'
|
|
permission: 'M_customerReportList'
|
|
},
|
|
},
|
|
@@ -1416,11 +1468,36 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ path: '/reportData/chainCustomerReport',
|
|
|
|
+ redirect: '/reportData/chainCustomerReport/list',
|
|
|
|
+ name: 'chainCustomerReport',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '连锁大客户报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ permission: 'M_chainCustomerReportList'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'chainCustomerReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/chainCustomerReport/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '连锁大客户报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_chainCustomerReportList'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
{
|
|
{
|
|
path: '/reportData/stockIncomeReport',
|
|
path: '/reportData/stockIncomeReport',
|
|
redirect: '/reportData/stockIncomeReport/list',
|
|
redirect: '/reportData/stockIncomeReport/list',
|
|
name: 'stockIncomeReport',
|
|
name: 'stockIncomeReport',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '库存总入报表',
|
|
title: '库存总入报表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
@@ -1445,7 +1522,7 @@ export const asyncRouterMap = [
|
|
path: '/reportData/stockExpenditureReport',
|
|
path: '/reportData/stockExpenditureReport',
|
|
redirect: '/reportData/stockExpenditureReport/list',
|
|
redirect: '/reportData/stockExpenditureReport/list',
|
|
name: 'stockExpenditureReport',
|
|
name: 'stockExpenditureReport',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '库存总出报表',
|
|
title: '库存总出报表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
@@ -1470,7 +1547,7 @@ export const asyncRouterMap = [
|
|
path: '/reportData/receivedSendStorageReport',
|
|
path: '/reportData/receivedSendStorageReport',
|
|
redirect: '/reportData/receivedSendStorageReport/list',
|
|
redirect: '/reportData/receivedSendStorageReport/list',
|
|
name: 'receivedSendStorageReport',
|
|
name: 'receivedSendStorageReport',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '收发存报表',
|
|
title: '收发存报表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
@@ -1508,7 +1585,7 @@ export const asyncRouterMap = [
|
|
path: '/customerManagement/customerInfo',
|
|
path: '/customerManagement/customerInfo',
|
|
redirect: '/customerManagement/customerInfo/list',
|
|
redirect: '/customerManagement/customerInfo/list',
|
|
name: 'customerInfo',
|
|
name: 'customerInfo',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '客户管理',
|
|
title: '客户管理',
|
|
icon: 'idcard',
|
|
icon: 'idcard',
|
|
@@ -1568,7 +1645,7 @@ export const asyncRouterMap = [
|
|
path: '/productManagement/productInfo',
|
|
path: '/productManagement/productInfo',
|
|
redirect: '/productManagement/productInfo/list',
|
|
redirect: '/productManagement/productInfo/list',
|
|
name: 'productInfo',
|
|
name: 'productInfo',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '产品信息管理(自建)',
|
|
title: '产品信息管理(自建)',
|
|
icon: 'file-text',
|
|
icon: 'file-text',
|
|
@@ -1581,7 +1658,7 @@ export const asyncRouterMap = [
|
|
name: 'productInfoList',
|
|
name: 'productInfoList',
|
|
component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productInfo/list.vue'),
|
|
component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productInfo/list.vue'),
|
|
meta: {
|
|
meta: {
|
|
- title: '产品信息列表',
|
|
|
|
|
|
+ title: '产品信息列表(自建)',
|
|
icon: 'file-text',
|
|
icon: 'file-text',
|
|
hidden: true,
|
|
hidden: true,
|
|
permission: 'M_dealerProductList'
|
|
permission: 'M_dealerProductList'
|
|
@@ -1615,7 +1692,7 @@ export const asyncRouterMap = [
|
|
path: '/productManagement/productInfoJg',
|
|
path: '/productManagement/productInfoJg',
|
|
redirect: '/productManagement/productInfoJg/list',
|
|
redirect: '/productManagement/productInfoJg/list',
|
|
name: 'productInfoJg',
|
|
name: 'productInfoJg',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '产品信息管理(箭冠)',
|
|
title: '产品信息管理(箭冠)',
|
|
icon: 'file-text',
|
|
icon: 'file-text',
|
|
@@ -1628,7 +1705,7 @@ export const asyncRouterMap = [
|
|
name: 'productInfoJgList',
|
|
name: 'productInfoJgList',
|
|
component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productInfoJg/list.vue'),
|
|
component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productInfoJg/list.vue'),
|
|
meta: {
|
|
meta: {
|
|
- title: '产品信息列表',
|
|
|
|
|
|
+ title: '产品信息列表(箭冠)',
|
|
icon: 'file-text',
|
|
icon: 'file-text',
|
|
hidden: true,
|
|
hidden: true,
|
|
permission: 'M_productInfoList'
|
|
permission: 'M_productInfoList'
|
|
@@ -1640,7 +1717,7 @@ export const asyncRouterMap = [
|
|
path: '/productManagement/productBrand',
|
|
path: '/productManagement/productBrand',
|
|
redirect: '/productManagement/productBrand/list',
|
|
redirect: '/productManagement/productBrand/list',
|
|
name: 'productBrand',
|
|
name: 'productBrand',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '产品品牌管理',
|
|
title: '产品品牌管理',
|
|
icon: 'sketch',
|
|
icon: 'sketch',
|
|
@@ -1665,7 +1742,7 @@ export const asyncRouterMap = [
|
|
path: '/productManagement/productCategory',
|
|
path: '/productManagement/productCategory',
|
|
redirect: '/productManagement/productCategory/list',
|
|
redirect: '/productManagement/productCategory/list',
|
|
name: 'productCategory',
|
|
name: 'productCategory',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '产品分类管理',
|
|
title: '产品分类管理',
|
|
icon: 'sliders',
|
|
icon: 'sliders',
|
|
@@ -1690,7 +1767,7 @@ export const asyncRouterMap = [
|
|
path: '/productManagement/priceChangeRecord',
|
|
path: '/productManagement/priceChangeRecord',
|
|
redirect: '/productManagement/priceChangeRecord/list',
|
|
redirect: '/productManagement/priceChangeRecord/list',
|
|
name: 'priceChangeRecord',
|
|
name: 'priceChangeRecord',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '价格变更记录',
|
|
title: '价格变更记录',
|
|
icon: 'sketch',
|
|
icon: 'sketch',
|
|
@@ -1728,7 +1805,7 @@ export const asyncRouterMap = [
|
|
path: '/supplierManagement/supplierInfo',
|
|
path: '/supplierManagement/supplierInfo',
|
|
redirect: '/supplierManagement/supplierInfo/list',
|
|
redirect: '/supplierManagement/supplierInfo/list',
|
|
name: 'supplierInfo',
|
|
name: 'supplierInfo',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '供应商管理',
|
|
title: '供应商管理',
|
|
icon: 'team',
|
|
icon: 'team',
|
|
@@ -1766,7 +1843,7 @@ export const asyncRouterMap = [
|
|
path: '/storeManagement/bind',
|
|
path: '/storeManagement/bind',
|
|
redirect: '/storeManagement/bind/list',
|
|
redirect: '/storeManagement/bind/list',
|
|
name: 'storeManagementBind',
|
|
name: 'storeManagementBind',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '中心店/配送店绑定',
|
|
title: '中心店/配送店绑定',
|
|
icon: 'link',
|
|
icon: 'link',
|
|
@@ -1791,7 +1868,7 @@ export const asyncRouterMap = [
|
|
path: '/storeManagement/userAuthorization',
|
|
path: '/storeManagement/userAuthorization',
|
|
redirect: '/storeManagement/userAuthorization/list',
|
|
redirect: '/storeManagement/userAuthorization/list',
|
|
name: 'storeManagementUserAuth',
|
|
name: 'storeManagementUserAuth',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '中心店用户授权',
|
|
title: '中心店用户授权',
|
|
icon: 'link',
|
|
icon: 'link',
|
|
@@ -1829,7 +1906,7 @@ export const asyncRouterMap = [
|
|
path: '/basicData/storeTransferOutTypeManagement',
|
|
path: '/basicData/storeTransferOutTypeManagement',
|
|
redirect: '/basicData/storeTransferOutTypeManagement/list',
|
|
redirect: '/basicData/storeTransferOutTypeManagement/list',
|
|
name: 'storeTransferOutTypeManagement',
|
|
name: 'storeTransferOutTypeManagement',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '店内调出类型管理',
|
|
title: '店内调出类型管理',
|
|
icon: 'interaction',
|
|
icon: 'interaction',
|
|
@@ -1854,7 +1931,7 @@ export const asyncRouterMap = [
|
|
path: '/basicData/bulkPartsTypeManagement',
|
|
path: '/basicData/bulkPartsTypeManagement',
|
|
redirect: '/basicData/bulkPartsTypeManagement/list',
|
|
redirect: '/basicData/bulkPartsTypeManagement/list',
|
|
name: 'bulkPartsTypeManagement',
|
|
name: 'bulkPartsTypeManagement',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '散件入库类型管理',
|
|
title: '散件入库类型管理',
|
|
icon: 'gold',
|
|
icon: 'gold',
|
|
@@ -1879,7 +1956,7 @@ export const asyncRouterMap = [
|
|
path: '/basicData/expenseType',
|
|
path: '/basicData/expenseType',
|
|
redirect: '/basicData/expenseType/list',
|
|
redirect: '/basicData/expenseType/list',
|
|
name: 'expenseType',
|
|
name: 'expenseType',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '费用类型管理',
|
|
title: '费用类型管理',
|
|
icon: 'pay-circle',
|
|
icon: 'pay-circle',
|
|
@@ -1904,7 +1981,7 @@ export const asyncRouterMap = [
|
|
// path: '/basicData/processSettings',
|
|
// path: '/basicData/processSettings',
|
|
// redirect: '/basicData/processSettings/setup',
|
|
// redirect: '/basicData/processSettings/setup',
|
|
// name: 'processSettings',
|
|
// name: 'processSettings',
|
|
- // component: RouteView,
|
|
|
|
|
|
+ // component: BlankLayout,
|
|
// meta: {
|
|
// meta: {
|
|
// title: '业务自动化设置',
|
|
// title: '业务自动化设置',
|
|
// icon: 'sliders'
|
|
// icon: 'sliders'
|
|
@@ -1929,7 +2006,7 @@ export const asyncRouterMap = [
|
|
path: '/basicData/customerTypeManagement',
|
|
path: '/basicData/customerTypeManagement',
|
|
redirect: '/basicData/customerTypeManagement/list',
|
|
redirect: '/basicData/customerTypeManagement/list',
|
|
name: 'customerTypeManagement',
|
|
name: 'customerTypeManagement',
|
|
- component: RouteView,
|
|
|
|
|
|
+ component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '客户类型管理',
|
|
title: '客户类型管理',
|
|
icon: 'idcard',
|
|
icon: 'idcard',
|