fix 隐藏所有目录

This commit is contained in:
刘天扬 2021-11-21 16:48:23 +08:00
parent 9476b458c8
commit a0a03a150e
2 changed files with 56 additions and 56 deletions

View file

@ -1,13 +1,13 @@
export default [
{
key: '1', name: '报表统计', icon: 'line-chart', submenus: [
{ key: '/sales_report', name: '销售报表' },
{ key: '/purchase_report', name: '采购报表' },
{ key: '/inventory', name: '库存报表' },
{ key: '/financial_statistics', name: '收支统计' },
{ key: '/financial_report', name: '利润统计' },
]
},
// {
// key: '1', name: '报表统计', icon: 'line-chart', submenus: [
// { key: '/sales_report', name: '销售报表' },
// { key: '/purchase_report', name: '采购报表' },
// { key: '/inventory', name: '库存报表' },
// { key: '/financial_statistics', name: '收支统计' },
// { key: '/financial_report', name: '利润统计' },
// ]
// },
{
key: '7', name: '基础数据', icon: 'table', submenus: [
{ key: '/client', name: '客户' },
@ -18,50 +18,50 @@ export default [
{ key: '/incomeExpenditureItems', name: '收支项目' },
]
},
{
key: '2', name: '商品管理', icon: 'shopping', submenus: [
{ key: '/category', name: '商品分类' },
{ key: '/goods', name: '商品信息' },
]
},
{
key: '3', name: '采购管理', icon: 'shopping-cart', submenus: [
{ key: '/purchase_order', name: '采购开单' },
{ key: '/purchase_return', name: '采购退货' },
{ key: '/purchase_record', name: '采购记录' },
{ key: '/change_record', name: '采购价变更记录' },
]
},
{
key: '4', name: '销售管理', icon: 'shop', submenus: [
{ key: '/sales_order', name: '销售开单' },
{ key: '/sales_return', name: '销售退货' },
{ key: '/sales_record', name: '销售记录' },
{ key: '/sales_task', name: '销售任务' },
]
},
{
key: '5', name: '库存管理', icon: 'database', submenus: [
{ key: '/into_warehouse', name: '入库' },
{ key: '/out_warehouse', name: '出库' },
{ key: '/requisition', name: '调拨' },
{ key: '/flow', name: '库存流水' },
{ key: '/counting_list', name: '盘点' },
]
},
{
key: '6', name: '财务管理', icon: 'dollar', submenus: [
{ key: '/sales_statistics', name: '销售收款' },
{ key: '/purchase_statistics', name: '采购付款' },
{ key: '/incomeExpenditure', name: '日常收支' },
{ key: '/sales_order_profit', name: '成本管理' },
]
},
{
key: '8', name: '系统管理', icon: 'team', submenus: [
{ key: '/role', name: '角色权限' },
{ key: '/subuser', name: '员工账号' },
{ key: '/config', name: '配置管理' },
]
},
// {
// key: '2', name: '商品管理', icon: 'shopping', submenus: [
// { key: '/category', name: '商品分类' },
// { key: '/goods', name: '商品信息' },
// ]
// },
// {
// key: '3', name: '采购管理', icon: 'shopping-cart', submenus: [
// { key: '/purchase_order', name: '采购开单' },
// { key: '/purchase_return', name: '采购退货' },
// { key: '/purchase_record', name: '采购记录' },
// { key: '/change_record', name: '采购价变更记录' },
// ]
// },
// {
// key: '4', name: '销售管理', icon: 'shop', submenus: [
// { key: '/sales_order', name: '销售开单' },
// { key: '/sales_return', name: '销售退货' },
// { key: '/sales_record', name: '销售记录' },
// { key: '/sales_task', name: '销售任务' },
// ]
// },
// {
// key: '5', name: '库存管理', icon: 'database', submenus: [
// { key: '/into_warehouse', name: '入库' },
// { key: '/out_warehouse', name: '出库' },
// { key: '/requisition', name: '调拨' },
// { key: '/flow', name: '库存流水' },
// { key: '/counting_list', name: '盘点' },
// ]
// },
// {
// key: '6', name: '财务管理', icon: 'dollar', submenus: [
// { key: '/sales_statistics', name: '销售收款' },
// { key: '/purchase_statistics', name: '采购付款' },
// { key: '/incomeExpenditure', name: '日常收支' },
// { key: '/sales_order_profit', name: '成本管理' },
// ]
// },
// {
// key: '8', name: '系统管理', icon: 'team', submenus: [
// { key: '/role', name: '角色权限' },
// { key: '/subuser', name: '员工账号' },
// { key: '/config', name: '配置管理' },
// ]
// },
]

View file

@ -193,7 +193,7 @@
list() {
this.loading = true;
supplierList(this.searchForm).then(resp => {
this.items = resp.data;
this.items = resp.data.result;
}).finally(() => {
this.loading = false;
});