From 7a935886d979447227b076aa05a5d18dd0bc6021 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Thu, 20 Oct 2022 08:54:53 +0800 Subject: [PATCH] =?UTF-8?q?wms=E5=9F=BA=E7=A1=80=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 66 ++++++++++++++++++++++++------------- src/views/wmsHome/index.vue | 8 ++--- 2 files changed, 47 insertions(+), 27 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 0e6b69e..e811e3b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -16,14 +16,16 @@ export const routes = [ component: Layout, name: 'inStore', meta: { - title: '入库' + title: '入库', + icon: 'form' }, children: [ { path: 'acceptGoods', name: 'acceptGoods', meta: { - title: '收货' + title: '收货', + icon: 'form' }, component: () => import('@/views/wmsInStore/acceptGoods.vue') }, @@ -31,7 +33,8 @@ export const routes = [ path: 'inStoreDocuments', name: 'inStoreDocuments', meta: { - title: '入库单' + title: '入库单', + icon: 'form' }, component: () => import('@/views/wmsInStore/inStoreDocuments.vue') }, @@ -39,7 +42,8 @@ export const routes = [ path: 'warehouseOperation', name: 'warehouseOperation', meta: { - title: '入库作业' + title: '入库作业', + icon: 'form' }, component: () => import('@/views/wmsInStore/warehouseOperation.vue') } @@ -50,14 +54,16 @@ export const routes = [ component: Layout, name: 'outStore', meta: { - title: '出库' + title: '出库', + icon: 'form' }, children: [ { path: 'outStoreDocuments', name: 'outStoreDocuments', meta: { - title: '出库单' + title: '出库单', + icon: 'form' }, component: () => import('@/views/wmsOutStore/outStoreDocuments.vue') }, @@ -65,7 +71,8 @@ export const routes = [ path: 'outStoreOperation', name: 'outStoreOperation', meta: { - title: '出库作业' + title: '出库作业', + icon: 'form' }, component: () => import('@/views/wmsOutStore/outStoreOperation.vue') } @@ -76,14 +83,16 @@ export const routes = [ component: Layout, name: 'inventoryManagement', meta: { - title: '库存管理' + title: '库存管理', + icon: 'form' }, children: [ { path: 'inventoryQuery', name: 'inventoryQuery', meta: { - title: '库存查询' + title: '库存查询', + icon: 'form' }, component: () => import('@/views/wmsInventoryManagement/inventoryQuery.vue') }, @@ -91,7 +100,8 @@ export const routes = [ path: 'inventory', name: 'inventory', meta: { - title: '库存统计' + title: '库存统计', + icon: 'form' }, component: () => import('@/views/wmsInventoryManagement/inventory.vue') }, @@ -99,7 +109,8 @@ export const routes = [ path: 'stockTaking', name: 'stockTaking', meta: { - title: '库存盘点' + title: '库存盘点', + icon: 'form' }, component: () => import('@/views/wmsInventoryManagement/stockTaking.vue') }, @@ -107,7 +118,8 @@ export const routes = [ path: 'locationQuery', name: 'locationQuery', meta: { - title: '库位查询' + title: '库位查询', + icon: 'form' }, component: () => import('@/views/wmsInventoryManagement/locationQuery.vue') } @@ -118,14 +130,16 @@ export const routes = [ component: Layout, name: 'statisticalReports', meta: { - title: '统计报表' + title: '统计报表', + icon: 'form' }, children: [ { path: 'inventoryReport', name: 'inventoryReport', meta: { - title: '入库报表' + title: '入库报表', + icon: 'form' }, component: () => import('@/views/wmsStatisticalReports/inventoryReport.vue') }, @@ -133,7 +147,8 @@ export const routes = [ path: 'outStoreReport', name: 'outStoreReport', meta: { - title: '出库报表' + title: '出库报表', + icon: 'form' }, component: () => import('@/views/wmsStatisticalReports/outStoreReport.vue') } @@ -144,14 +159,16 @@ export const routes = [ component: Layout, name: 'basicData', meta: { - title: '基础数据' + title: '基础数据', + icon: 'form' }, children: [ { path: 'warehouseData', name: 'warehouseData', meta: { - title: '库区数据' + title: '库区数据', + icon: 'form' }, component: () => import('@/views/wmsBasicData/warehouseData.vue') }, @@ -159,7 +176,8 @@ export const routes = [ path: 'goodsAreaData', name: 'goodsAreaData', meta: { - title: '货位数据' + title: '货位数据', + icon: 'form' }, component: () => import('@/views/wmsBasicData/goodsAreaData.vue') }, @@ -167,7 +185,8 @@ export const routes = [ path: 'customerData', name: 'customerData', meta: { - title: '客户数据' + title: '客户数据', + icon: 'form' }, component: () => import('@/views/wmsBasicData/customerData.vue') }, @@ -175,7 +194,8 @@ export const routes = [ path: 'goodsData', name: 'goodsData', meta: { - title: '物品数据' + title: '物品数据', + icon: 'form' }, component: () => import('@/views/wmsBasicData/goodsData.vue') } @@ -186,14 +206,16 @@ export const routes = [ component: Layout, name: 'systemSettings', meta: { - title: '系统设置' + title: '系统设置', + icon: 'form' }, children: [ { path: 'roleManagement', name: 'roleManagement', meta: { - title: '角色管理' + title: '角色管理', + icon: 'form' }, component: () => import('@/views/wmsSystemSettings/roleManagement.vue') } diff --git a/src/views/wmsHome/index.vue b/src/views/wmsHome/index.vue index 38109e5..1a5a1c9 100644 --- a/src/views/wmsHome/index.vue +++ b/src/views/wmsHome/index.vue @@ -73,13 +73,11 @@ export default { // background: linear-gradient(-45deg, rgb(25, 25, 200), rgb(0, 100, 200)); background: url('../../assets/img/choicepart/choicepart-back.png') repeat; background-size: cover; - overflow-x: scroll; + overflow-x: auto; .choicepart-box { - width: 1440px; + width: 1585px; margin: 0 auto; - margin: 0 auto; - padding-top: 16vh; - min-height: 100vh; + padding-top: 25vh; .choicepart-item { display: inline-block; width: 184px;