|
@@ -6,7 +6,7 @@ import {
|
|
|
BlankLayout,
|
|
|
PageView
|
|
|
} from '@/layouts'
|
|
|
-
|
|
|
+// 菜单模块
|
|
|
export const asyncRouterMap = [
|
|
|
{
|
|
|
path: '/',
|
|
@@ -419,13 +419,13 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- // 数字货架
|
|
|
+ // 修配易码通-数字货架
|
|
|
{
|
|
|
path: '/numsGoodsShelves',
|
|
|
- redirect: '/numsGoodsShelves/shelfSet',
|
|
|
+ redirect: '/numsGoodsShelves/approveStore',
|
|
|
component: PageView,
|
|
|
meta: {
|
|
|
- title: '数字货架',
|
|
|
+ title: '修配易码通-数字货架',
|
|
|
icon: 'hdd',
|
|
|
permission: 'M_numsGoodsShelves'
|
|
|
},
|
|
@@ -474,7 +474,7 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '货架设置',
|
|
|
icon: 'monitor',
|
|
|
- permission: 'M_shelfSet'
|
|
|
+ permission: 'M_shelfSetList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -485,8 +485,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '货架设置列表',
|
|
|
icon: 'monitor',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_salesQueryList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_shelfSetList'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -591,8 +591,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '货架订单列表',
|
|
|
icon: 'monitor',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_shelfOrderList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_shelfOrderList'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -602,8 +602,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '货架订单详情',
|
|
|
icon: 'monitor',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_shelfOrderDetail'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_shelfOrderDetail'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -627,8 +627,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '补货管理列表',
|
|
|
icon: 'monitor',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_salesQueryList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_salesQueryList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -652,8 +652,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '调回管理列表',
|
|
|
icon: 'monitor',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_salesQueryList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_salesQueryList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -677,8 +677,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '结算管理列表',
|
|
|
icon: 'monitor',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_salesQueryList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_salesQueryList'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -689,8 +689,8 @@ export const asyncRouterMap = [
|
|
|
title: '待结算明细',
|
|
|
icon: 'monitor',
|
|
|
hidden: true,
|
|
|
- replaceTab: true
|
|
|
- // permission: 'M_salesQueryList'
|
|
|
+ replaceTab: true,
|
|
|
+ permission: 'M_salesQueryList'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -701,95 +701,8 @@ export const asyncRouterMap = [
|
|
|
title: '结算历史',
|
|
|
icon: 'monitor',
|
|
|
hidden: true,
|
|
|
- replaceTab: true
|
|
|
- // permission: 'M_salesQueryList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/numsGoodsShelves/onlinePayInvoice',
|
|
|
- redirect: '/numsGoodsShelves/onlinePayInvoice/list',
|
|
|
- name: 'onlinePayInvoice',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '线上支付账单',
|
|
|
- icon: 'monitor',
|
|
|
- permission: 'M_onlinePayInvoiceList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'onlinePayInvoiceList',
|
|
|
- component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/onlinePayInvoice/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '线上支付账单',
|
|
|
- icon: 'monitor',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_onlinePayInvoiceList'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'detail/:sn/:shelfSn/:shelfName',
|
|
|
- name: 'onlinePayInvoiceDetail',
|
|
|
- component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/onlinePayInvoice/detail.vue'),
|
|
|
- meta: {
|
|
|
- title: '线上支付明细',
|
|
|
- icon: 'monitor',
|
|
|
- hidden: true,
|
|
|
replaceTab: true,
|
|
|
- permission: 'M_onlinePayInvoiceDetail'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/numsGoodsShelves/withdrawalManagement',
|
|
|
- redirect: '/numsGoodsShelves/withdrawalManagement/list',
|
|
|
- name: 'ngsWithdrawalManagement',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '提现管理',
|
|
|
- icon: 'monitor',
|
|
|
- permission: 'M_NGS_withdrawalManagement'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'ngsWithdrawalManagementList',
|
|
|
- component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/withdrawalManagement/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '提现管理列表',
|
|
|
- icon: 'monitor',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_ngsWithdrawalManagementList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/numsGoodsShelves/withdrawalManagementNew',
|
|
|
- redirect: '/numsGoodsShelves/withdrawalManagementNew/list',
|
|
|
- name: 'withdrawalManagementNew',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '提现管理',
|
|
|
- icon: 'monitor',
|
|
|
- permission: 'M_withdrawalManagementNewList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'withdrawalManagementNewList',
|
|
|
- component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/withdrawalManagementNew/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '提现管理列表',
|
|
|
- icon: 'monitor',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_withdrawalManagementNewList'
|
|
|
+ permission: 'M_salesQueryList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -878,31 +791,6 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/numsGoodsShelves/easyPassShopping',
|
|
|
- redirect: '/numsGoodsShelves/easyPassShopping/index',
|
|
|
- name: 'easyPassShopping',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '商城产品',
|
|
|
- icon: 'monitor',
|
|
|
- permission: 'M_easyPassShopping'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- name: 'easyPassShoppingIndex',
|
|
|
- component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/easyPassShopping/index.vue'),
|
|
|
- meta: {
|
|
|
- title: '商城产品列表',
|
|
|
- icon: 'monitor',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_easyPassShoppingList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
}
|
|
|
// {
|
|
|
// path: '/numsGoodsShelves/accountManagement',
|
|
@@ -930,6 +818,267 @@ export const asyncRouterMap = [
|
|
|
// }
|
|
|
]
|
|
|
},
|
|
|
+ // 修配易码通-商城
|
|
|
+ {
|
|
|
+ path: '/yimatongMall',
|
|
|
+ redirect: '/numsGoodsShelves/withdrawalManagementNew',
|
|
|
+ component: PageView,
|
|
|
+ meta: {
|
|
|
+ title: '修配易码通-商城',
|
|
|
+ icon: 'hdd',
|
|
|
+ permission: 'M_yimatongMall'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/withdrawalManagementNew',
|
|
|
+ redirect: '/numsGoodsShelves/withdrawalManagementNew/list',
|
|
|
+ name: 'withdrawalManagementNew',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '提现管理',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_withdrawalManagementNewList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'withdrawalManagementNewList',
|
|
|
+ component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/withdrawalManagementNew/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '提现管理列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_withdrawalManagementNewList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/promotionManagement/couponDetails',
|
|
|
+ redirect: '/promotionManagement/couponDetails/list',
|
|
|
+ name: 'couponDetails',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '优惠券核销',
|
|
|
+ icon: 'contacts',
|
|
|
+ permission: 'M_couponDetailsList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'couponDetailsList',
|
|
|
+ component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/couponDetails/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '优惠券核销',
|
|
|
+ icon: 'contacts',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_couponDetailsList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/customerAccount',
|
|
|
+ redirect: '/numsGoodsShelves/customerAccount/list',
|
|
|
+ name: 'customerAccount',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '客户账户',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_customerAccountList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'customerAccountList',
|
|
|
+ component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/customerAccount/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '客户账户列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_customerAccountList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/onlinePayInvoice',
|
|
|
+ redirect: '/numsGoodsShelves/onlinePayInvoice/list',
|
|
|
+ name: 'onlinePayInvoice',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '线上支付账单',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_onlinePayInvoiceList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'onlinePayInvoiceList',
|
|
|
+ component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/onlinePayInvoice/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '线上支付账单',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_onlinePayInvoiceList'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'detail/:sn/:shelfSn/:shelfName',
|
|
|
+ name: 'onlinePayInvoiceDetail',
|
|
|
+ component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/onlinePayInvoice/detail.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '线上支付明细',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ replaceTab: true,
|
|
|
+ permission: 'M_onlinePayInvoiceDetail'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/promotionManagement/subsidizedProducts',
|
|
|
+ redirect: '/promotionManagement/subsidizedProducts/list',
|
|
|
+ name: 'subsidizedProducts',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '抵扣产品',
|
|
|
+ icon: 'contacts',
|
|
|
+ permission: 'M_subsidizedProductsList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'subsidizedProductsList',
|
|
|
+ component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/subsidizedProducts/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '抵扣产品列表',
|
|
|
+ icon: 'contacts',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_subsidizedProductsList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/promotionManagement/rechargeSettings',
|
|
|
+ redirect: '/promotionManagement/rechargeSettings/list',
|
|
|
+ name: 'rechargeSettings',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '充值设置',
|
|
|
+ icon: 'contacts',
|
|
|
+ permission: 'M_rechargeSettingsList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'rechargeSettingsList',
|
|
|
+ component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/rechargeSettings/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '充值设置',
|
|
|
+ icon: 'contacts',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_rechargeSettingsList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/easyPassShopping',
|
|
|
+ redirect: '/numsGoodsShelves/easyPassShopping/index',
|
|
|
+ name: 'easyPassShopping',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '商城产品',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_easyPassShoppingList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'index',
|
|
|
+ name: 'easyPassShoppingIndex',
|
|
|
+ component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/easyPassShopping/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '商城产品列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_easyPassShoppingList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/promotionManagement/promotionInfo',
|
|
|
+ redirect: '/promotionManagement/promotionInfo/list',
|
|
|
+ name: 'promotionInfo',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '促销活动',
|
|
|
+ icon: 'contacts',
|
|
|
+ permission: 'M_promotionInfoList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'promotionInfoList',
|
|
|
+ component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/promotionInfo/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '促销活动列表',
|
|
|
+ icon: 'contacts',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_promotionInfoList'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'edit/:sn/:pageType',
|
|
|
+ name: 'promotionInfoEdit',
|
|
|
+ component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/promotionInfo/edit.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '编辑促销',
|
|
|
+ icon: 'contacts',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_promotionInfoEdit'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/promotionManagement/promotionalProducts',
|
|
|
+ redirect: '/promotionManagement/promotionalProducts/list',
|
|
|
+ name: 'promotionalProducts',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '促销产品',
|
|
|
+ icon: 'contacts',
|
|
|
+ permission: 'M_promotionalProductList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'promotionalProductsList',
|
|
|
+ component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/promotionalProducts/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '促销产品列表',
|
|
|
+ icon: 'contacts',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_promotionalProductList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
// 采购管理
|
|
|
{
|
|
|
path: '/purchasingManagement',
|
|
@@ -1227,129 +1376,30 @@ export const asyncRouterMap = [
|
|
|
{
|
|
|
path: 'detail/:sn/:grabFlag',
|
|
|
name: 'purchaseReturnOutSyncDetail',
|
|
|
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/detail.vue'),
|
|
|
- meta: {
|
|
|
- title: '采购退货详情',
|
|
|
- icon: 'money-collect',
|
|
|
- hidden: true,
|
|
|
- replaceTab: true,
|
|
|
- permission: 'B_purchaseReturn_outSnycDetail'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- // 出库管理
|
|
|
- {
|
|
|
- path: '/outboundOrderManagement',
|
|
|
- redirect: '/outboundOrderManagement/outboundOrder',
|
|
|
- component: PageView,
|
|
|
- meta: {
|
|
|
- title: '出库管理',
|
|
|
- icon: 'export',
|
|
|
- permission: 'M_outboundList'
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/outboundOrderManagement/outboundOrder',
|
|
|
- redirect: '/outboundOrderManagement/outboundOrder/list',
|
|
|
- name: 'outboundOrder',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '出库',
|
|
|
- icon: 'export',
|
|
|
- permission: 'M_outboundList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'outboundOrderList',
|
|
|
- component: () => import(/* webpackChunkName: "outboundOrderManagement" */ '@/views/outboundOrderManagement/outboundOrder/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '出库列表',
|
|
|
- icon: 'export',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_outboundList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- // 财务管理
|
|
|
- {
|
|
|
- path: '/financialManagement',
|
|
|
- redirect: '/financialManagement/warehousingAudit',
|
|
|
- component: PageView,
|
|
|
- meta: {
|
|
|
- title: '财务管理',
|
|
|
- icon: 'property-safety',
|
|
|
- permission: 'M_financial'
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/financialManagement/warehousingAudit',
|
|
|
- redirect: '/financialManagement/warehousingAudit/list',
|
|
|
- name: 'warehousingAudit',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '入库审核',
|
|
|
- icon: 'pull-request',
|
|
|
- permission: 'M_warehousingAuditList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'warehousingAuditList',
|
|
|
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '入库审核列表',
|
|
|
- icon: 'pull-request',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_warehousingAuditList'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'detail/:sn',
|
|
|
- name: 'warehousingAuditDetail',
|
|
|
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/detail.vue'),
|
|
|
- meta: {
|
|
|
- title: '入库审核详情',
|
|
|
- icon: 'pull-request',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_warehousingAudit_detail'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/financialManagement/inventoryCheckAudit',
|
|
|
- redirect: '/financialManagement/inventoryCheckAudit/list',
|
|
|
- name: 'inventoryCheckAudit',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '盘点审核',
|
|
|
- icon: 'laptop',
|
|
|
- permission: 'M_inventoryCheckAuditList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'inventoryCheckAuditList',
|
|
|
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryCheckAudit/list.vue'),
|
|
|
+ component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/detail.vue'),
|
|
|
meta: {
|
|
|
- title: '盘点审核列表',
|
|
|
- icon: 'laptop',
|
|
|
+ title: '采购退货详情',
|
|
|
+ icon: 'money-collect',
|
|
|
hidden: true,
|
|
|
- permission: 'M_inventoryCheckAuditList'
|
|
|
+ replaceTab: true,
|
|
|
+ permission: 'B_purchaseReturn_outSnycDetail'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
- },
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ // 财务管理
|
|
|
+ {
|
|
|
+ path: '/financialManagement',
|
|
|
+ redirect: '/financialManagement/warehousingAudit',
|
|
|
+ component: PageView,
|
|
|
+ meta: {
|
|
|
+ title: '财务管理',
|
|
|
+ icon: 'property-safety',
|
|
|
+ permission: 'M_financial'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
{
|
|
|
path: '/financialManagement/financialPayment',
|
|
|
redirect: '/financialManagement/financialPayment/list',
|
|
@@ -1911,6 +1961,67 @@ export const asyncRouterMap = [
|
|
|
permission: 'M_inventory'
|
|
|
},
|
|
|
children: [
|
|
|
+ {
|
|
|
+ path: '/financialManagement/warehousingAudit',
|
|
|
+ redirect: '/financialManagement/warehousingAudit/list',
|
|
|
+ name: 'warehousingAudit',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '入库审核',
|
|
|
+ icon: 'pull-request',
|
|
|
+ permission: 'M_warehousingAuditList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'warehousingAuditList',
|
|
|
+ component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '入库审核列表',
|
|
|
+ icon: 'pull-request',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_warehousingAuditList'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'detail/:sn',
|
|
|
+ name: 'warehousingAuditDetail',
|
|
|
+ component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/detail.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '入库审核详情',
|
|
|
+ icon: 'pull-request',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_warehousingAudit_detail'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/outboundOrderManagement/outboundOrder',
|
|
|
+ redirect: '/outboundOrderManagement/outboundOrder/list',
|
|
|
+ name: 'outboundOrder',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '出库',
|
|
|
+ icon: 'export',
|
|
|
+ permission: 'M_outboundList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'outboundOrderList',
|
|
|
+ component: () => import(/* webpackChunkName: "outboundOrderManagement" */ '@/views/outboundOrderManagement/outboundOrder/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '出库列表',
|
|
|
+ icon: 'export',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_outboundList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
path: '/inventoryManagement/inventoryQuery',
|
|
|
redirect: '/inventoryManagement/inventoryQuery/list',
|
|
@@ -2081,6 +2192,31 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ path: '/financialManagement/inventoryCheckAudit',
|
|
|
+ redirect: '/financialManagement/inventoryCheckAudit/list',
|
|
|
+ name: 'inventoryCheckAudit',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '盘点审核',
|
|
|
+ icon: 'laptop',
|
|
|
+ permission: 'M_inventoryCheckAuditList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'inventoryCheckAuditList',
|
|
|
+ component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryCheckAudit/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '盘点审核列表',
|
|
|
+ icon: 'laptop',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_inventoryCheckAuditList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
path: '/inventoryManagement/inventoryImport',
|
|
|
redirect: '/inventoryManagement/inventoryImport/list',
|
|
@@ -3105,13 +3241,13 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- // 客户管理
|
|
|
+ // 客户与供应商
|
|
|
{
|
|
|
path: '/customerManagement',
|
|
|
redirect: '/customerManagement/customerInfo',
|
|
|
component: PageView,
|
|
|
meta: {
|
|
|
- title: '客户管理',
|
|
|
+ title: '客户与供应商',
|
|
|
icon: 'idcard',
|
|
|
permission: 'M_customerInfoList'
|
|
|
},
|
|
@@ -3133,7 +3269,7 @@ export const asyncRouterMap = [
|
|
|
name: 'customerInfoList',
|
|
|
component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/list.vue'),
|
|
|
meta: {
|
|
|
- title: '客户列表',
|
|
|
+ title: '客户管理列表',
|
|
|
icon: 'idcard',
|
|
|
hidden: true,
|
|
|
permission: 'M_customerInfoList'
|
|
@@ -3187,6 +3323,31 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/supplierManagement/supplierInfo',
|
|
|
+ redirect: '/supplierManagement/supplierInfo/list',
|
|
|
+ name: 'supplierInfo',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '供应商管理',
|
|
|
+ icon: 'contacts',
|
|
|
+ permission: 'M_supplierInfoList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'supplierInfoList',
|
|
|
+ component: () => import(/* webpackChunkName: "productManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '供应商列表',
|
|
|
+ icon: 'contacts',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_supplierInfoList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
]
|
|
|
},
|
|
@@ -3437,143 +3598,6 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- // 供应商管理
|
|
|
- {
|
|
|
- path: '/supplierManagement',
|
|
|
- redirect: '/supplierManagement/supplierInfo',
|
|
|
- component: PageView,
|
|
|
- meta: {
|
|
|
- title: '供应商管理',
|
|
|
- icon: 'contacts',
|
|
|
- permission: 'M_supplierInfoList'
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/supplierManagement/supplierInfo',
|
|
|
- redirect: '/supplierManagement/supplierInfo/list',
|
|
|
- name: 'supplierInfo',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '供应商管理',
|
|
|
- icon: 'contacts',
|
|
|
- permission: 'M_supplierInfoList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'supplierInfoList',
|
|
|
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '供应商列表',
|
|
|
- icon: 'contacts',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_supplierInfoList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- // 促销管理
|
|
|
- {
|
|
|
- path: '/promotionManagement',
|
|
|
- redirect: '/promotionManagement/promotionInfo',
|
|
|
- component: PageView,
|
|
|
- meta: {
|
|
|
- title: '促销管理',
|
|
|
- icon: 'contacts',
|
|
|
- permission: 'M_promotionInfo'
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/promotionManagement/promotionInfo',
|
|
|
- redirect: '/promotionManagement/promotionInfo/list',
|
|
|
- name: 'promotionInfo',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '促销活动',
|
|
|
- icon: 'contacts',
|
|
|
- permission: 'M_promotionInfoList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'promotionInfoList',
|
|
|
- component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/promotionInfo/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '促销活动列表',
|
|
|
- icon: 'contacts',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_promotionInfoList'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'edit/:sn/:pageType',
|
|
|
- name: 'promotionInfoEdit',
|
|
|
- component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/promotionInfo/edit.vue'),
|
|
|
- meta: {
|
|
|
- title: '编辑促销',
|
|
|
- icon: 'contacts',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_promotionInfoEdit'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/promotionManagement/promotionalProducts',
|
|
|
- redirect: '/promotionManagement/promotionalProducts/list',
|
|
|
- name: 'promotionalProducts',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '促销产品',
|
|
|
- icon: 'contacts',
|
|
|
- permission: 'M_promotionalProduct'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'promotionalProductsList',
|
|
|
- component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/promotionalProducts/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '促销产品列表',
|
|
|
- icon: 'contacts',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_promotionalProductList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/promotionManagement/couponDetails',
|
|
|
- redirect: '/promotionManagement/couponDetails/list',
|
|
|
- name: 'couponDetails',
|
|
|
- component: BlankLayout,
|
|
|
- meta: {
|
|
|
- title: '优惠券详情',
|
|
|
- icon: 'contacts',
|
|
|
- permission: 'M_couponDetailsList'
|
|
|
- },
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- name: 'couponDetailsList',
|
|
|
- component: () => import(/* webpackChunkName: "promotionManagement" */ '@/views/promotionManagement/couponDetails/list.vue'),
|
|
|
- meta: {
|
|
|
- title: '优惠券详情',
|
|
|
- icon: 'contacts',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_couponDetailsList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
// 中心店/配送店管理
|
|
|
{
|
|
|
path: '/storeManagement',
|