|
@@ -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',
|
|
|
component: PageView,
|
|
|
meta: {
|
|
|
- title: '数字货架',
|
|
|
+ title: '修配易码通-数字货架',
|
|
|
icon: 'hdd',
|
|
|
permission: 'M_numsGoodsShelves'
|
|
|
},
|
|
@@ -707,93 +707,6 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- 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'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
// {
|
|
|
// path: '/numsGoodsShelves/recallStockManagement',
|
|
|
// redirect: '/numsGoodsShelves/recallStockManagement/list',
|
|
@@ -878,6 +791,93 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
+ }
|
|
|
+ // {
|
|
|
+ // path: '/numsGoodsShelves/accountManagement',
|
|
|
+ // redirect: '/numsGoodsShelves/accountManagement/list',
|
|
|
+ // name: 'accountManagement',
|
|
|
+ // component: BlankLayout,
|
|
|
+ // meta: {
|
|
|
+ // title: '账户明细',
|
|
|
+ // icon: 'monitor'
|
|
|
+ // // permission: 'M_salesQueryList'
|
|
|
+ // },
|
|
|
+ // hideChildrenInMenu: true,
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'list',
|
|
|
+ // name: 'accountManagementList', // component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/accountManagement/list.vue'),
|
|
|
+ // meta: {
|
|
|
+ // title: '账户明细列表',
|
|
|
+ // icon: 'monitor',
|
|
|
+ // hidden: true
|
|
|
+ // // permission: 'M_salesQueryList'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ // 修配易码通-商城
|
|
|
+ {
|
|
|
+ path: '/yimatongMall',
|
|
|
+ redirect: '/numsGoodsShelves/shelfSet',
|
|
|
+ component: PageView,
|
|
|
+ meta: {
|
|
|
+ title: '修配易码通-商城',
|
|
|
+ icon: 'hdd',
|
|
|
+ permission: 'M_numsGoodsShelves'
|
|
|
+ },
|
|
|
+ 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',
|
|
@@ -904,6 +904,93 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ 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',
|
|
@@ -928,31 +1015,68 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 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: '/numsGoodsShelves/accountManagement',
|
|
|
- // redirect: '/numsGoodsShelves/accountManagement/list',
|
|
|
- // name: 'accountManagement',
|
|
|
- // component: BlankLayout,
|
|
|
- // meta: {
|
|
|
- // title: '账户明细',
|
|
|
- // icon: 'monitor'
|
|
|
- // // permission: 'M_salesQueryList'
|
|
|
- // },
|
|
|
- // hideChildrenInMenu: true,
|
|
|
- // children: [
|
|
|
- // {
|
|
|
- // path: 'list',
|
|
|
- // name: 'accountManagementList', // component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/accountManagement/list.vue'),
|
|
|
- // meta: {
|
|
|
- // title: '账户明细列表',
|
|
|
- // icon: 'monitor',
|
|
|
- // hidden: true
|
|
|
- // // permission: 'M_salesQueryList'
|
|
|
- // }
|
|
|
- // }
|
|
|
- // ]
|
|
|
- // }
|
|
|
]
|
|
|
},
|
|
|
// 采购管理
|
|
@@ -1265,44 +1389,6 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- // 出库管理
|
|
|
- {
|
|
|
- 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',
|
|
@@ -1314,67 +1400,6 @@ export const asyncRouterMap = [
|
|
|
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'),
|
|
|
- meta: {
|
|
|
- title: '盘点审核列表',
|
|
|
- icon: 'laptop',
|
|
|
- hidden: true,
|
|
|
- permission: 'M_inventoryCheckAuditList'
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
{
|
|
|
path: '/financialManagement/financialPayment',
|
|
|
redirect: '/financialManagement/financialPayment/list',
|
|
@@ -1911,31 +1936,92 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: 'detail/:sn',
|
|
|
- name: 'storeTransferOutDetail',
|
|
|
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/detail.vue'),
|
|
|
+ path: 'detail/:sn',
|
|
|
+ name: 'storeTransferOutDetail',
|
|
|
+ component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/detail.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '店内调出详情',
|
|
|
+ icon: 'interaction',
|
|
|
+ hidden: true,
|
|
|
+ permission: 'B_storeCallOutDetail'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ // 库存管理
|
|
|
+ {
|
|
|
+ path: '/inventoryManagement',
|
|
|
+ redirect: '/inventoryManagement/inventoryQuery',
|
|
|
+ component: PageView,
|
|
|
+ meta: {
|
|
|
+ title: '库存管理',
|
|
|
+ icon: 'shop',
|
|
|
+ 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: 'interaction',
|
|
|
+ title: '出库列表',
|
|
|
+ icon: 'export',
|
|
|
hidden: true,
|
|
|
- permission: 'B_storeCallOutDetail'
|
|
|
+ permission: 'M_outboundList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- // 库存管理
|
|
|
- {
|
|
|
- path: '/inventoryManagement',
|
|
|
- redirect: '/inventoryManagement/inventoryQuery',
|
|
|
- component: PageView,
|
|
|
- meta: {
|
|
|
- title: '库存管理',
|
|
|
- icon: 'shop',
|
|
|
- permission: 'M_inventory'
|
|
|
- },
|
|
|
- children: [
|
|
|
+ },
|
|
|
{
|
|
|
path: '/inventoryManagement/inventoryQuery',
|
|
|
redirect: '/inventoryManagement/inventoryQuery/list',
|
|
@@ -2081,6 +2167,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 +3216,13 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- // 客户管理
|
|
|
+ // 客户与供应商
|
|
|
{
|
|
|
path: '/customerManagement',
|
|
|
redirect: '/customerManagement/customerInfo',
|
|
|
component: PageView,
|
|
|
meta: {
|
|
|
- title: '客户管理',
|
|
|
+ title: '客户与供应商',
|
|
|
icon: 'idcard',
|
|
|
permission: 'M_customerInfoList'
|
|
|
},
|
|
@@ -3122,7 +3233,7 @@ export const asyncRouterMap = [
|
|
|
name: 'customerInfo',
|
|
|
component: BlankLayout,
|
|
|
meta: {
|
|
|
- title: '客户管理',
|
|
|
+ title: '客户与供应商',
|
|
|
icon: 'idcard',
|
|
|
permission: 'M_customerInfoList'
|
|
|
},
|
|
@@ -3133,7 +3244,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 +3298,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,193 +3573,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/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: '/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',
|