From a0a03a150eb09dbb03aac25a65cbb5948d93583f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=A4=A9=E6=89=AC?= <18784771@qq.com> Date: Sun, 21 Nov 2021 16:48:23 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E9=9A=90=E8=97=8F=E6=89=80=E6=9C=89?= =?UTF-8?q?=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Sidebar/menus.js | 110 +++++++++++------------ frontend/src/views/supplier/Supplier.vue | 2 +- 2 files changed, 56 insertions(+), 56 deletions(-) diff --git a/frontend/src/components/Sidebar/menus.js b/frontend/src/components/Sidebar/menus.js index 65ba60d..1acf33c 100644 --- a/frontend/src/components/Sidebar/menus.js +++ b/frontend/src/components/Sidebar/menus.js @@ -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: '配置管理' }, + // ] + // }, ] \ No newline at end of file diff --git a/frontend/src/views/supplier/Supplier.vue b/frontend/src/views/supplier/Supplier.vue index ba54bae..9c97383 100644 --- a/frontend/src/views/supplier/Supplier.vue +++ b/frontend/src/views/supplier/Supplier.vue @@ -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; });