Browse Source

11111111

master
guoxing 1 year ago
parent
commit
37c7af13d5
  1. 5
      .env.production
  2. BIN
      public/favicon.ico
  3. BIN
      src/assets/loginImg/logo.png
  4. 4
      src/layout/components/Navbar.vue
  5. 768
      src/layout/components/Sidebar/index.vue
  6. 2
      src/settings.js
  7. 2
      vue.config.js

5
.env.production

@ -2,8 +2,7 @@
ENV = 'production'
# base api
VUE_APP_BASE_API = '/wmsapi'
VUE_APP_BASE_API = '/api'
## 配置 正式接口地址
VUE_APP_URL = "https://supervise.yxtsoft.com"
VUE_APP_REPORT_URL = ""
VUE_APP_URL = "https://wms.yxtsoft.com"

BIN
public/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 25 KiB

BIN
src/assets/loginImg/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 25 KiB

4
src/layout/components/Navbar.vue

@ -1,7 +1,7 @@
<template>
<div>
<div class="navbar">
<p class="breadcrumb-container"><img src="@/assets/loginImg/logo.png" style="width: 45px;height: 45px;margin-right: 10px;"/>仓储管理</p>
<p class="breadcrumb-container"><img src="@/assets/loginImg/logo.png" style="width: 105px;height: 35px;margin-right: 20px;"/>商享通WMS</p>
<!-- <h3 class="breadcrumb-container">汇融银行供应链贷后监管平台</h3> -->
<div class="right-menu">
<!-- <p>{{Orgname}} {{departmentName}} 欢迎, {{name}}</p>-->
@ -9,7 +9,7 @@
<p class="dy" @click="logout()"><img src="@/assets/images/dy.png"></p> -->
</div>
</div>
<el-footer class="footer" height="40px">Copyright © {{ year }} 仓储管理 All Rights Reserved</el-footer>
<el-footer class="footer" height="40px">Copyright © {{ year }} 商享通WMS All Rights Reserved</el-footer>
</div>
</template>

768
src/layout/components/Sidebar/index.vue

@ -44,7 +44,7 @@
alwaysShow: true,
component: 'baseInfo',
meta: {
icon: 'el-icon-menu',
icon: 'el-icon-notebook-1',
title: '基础信息'
},
name: '/baseInfo',
@ -53,337 +53,641 @@
alwaysShow: true,
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '品牌管理'
title: '仓库设置'
},
name: '/baseInfo/brands',
path: '/baseInfo/brands'
}, {
alwaysShow: true,
component: 'category',
meta: {
icon: 'el-icon-help',
title: '类别管理'
path: '/baseInfo/brands',
children: [
{
alwaysShow: true,
component: 'brands',
meta: {
title: '仓库管理'
},
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
name: '/baseInfo/category',
path: '/baseInfo/category'
},
{
alwaysShow: true,
component: 'unit',
meta: {
icon: 'el-icon-help',
title: '单位管理'
{
alwaysShow: true,
component: 'brands',
meta: {
title: '库区管理'
},
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
name: '/baseInfo/unit',
path: '/baseInfo/unit'
},
{
alwaysShow: true,
component: 'factory',
meta: {
icon: 'el-icon-help',
title: '厂家管理'
{
alwaysShow: true,
component: 'brands',
meta: {
title: '货架管理'
},
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
name: '/baseInfo/factory',
path: '/baseInfo/factory'
]
},
{
alwaysShow: true,
component: 'goods',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '商品管理'
title: '供应商管理'
},
name: '/baseInfo/goods',
path: '/baseInfo/goods'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
// {
// alwaysShow: true,
// component: 'brands',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/baseInfo/brands',
// path: '/baseInfo/brands'
// }, {
// alwaysShow: true,
// component: 'category',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/baseInfo/category',
// path: '/baseInfo/category'
// },
// {
// alwaysShow: true,
// component: 'unit',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/baseInfo/unit',
// path: '/baseInfo/unit'
// },
// {
// alwaysShow: true,
// component: 'factory',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/baseInfo/factory',
// path: '/baseInfo/factory'
// },
// {
// alwaysShow: true,
// component: 'goods',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/baseInfo/goods',
// path: '/baseInfo/goods'
// },
// {
// alwaysShow: true,
// component: 'warehouse',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/baseInfo/warehouse',
// path: '/baseInfo/warehouse'
// },
// {
// alwaysShow: true,
// component: 'warehouseArea',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/baseInfo/warehouseArea',
// path: '/baseInfo/warehouseArea'
// },
// {
// alwaysShow: true,
// component: 'warehouseAreaType',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/baseInfo/warehouseAreaType',
// path: '/baseInfo/warehouseAreaType'
// },
// {
// alwaysShow: true,
// component: 'goodsShelves',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/baseInfo/goodsShelves',
// path: '/baseInfo/goodsShelves'
// }
]
},
{
alwaysShow: true,
component: 'goods',
meta: {
icon: 'el-icon-coin',
title: '商品管理'
},
name: '/goods',
path: '/goods',
children: [
{
alwaysShow: true,
component: 'warehouse',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '仓库管理'
title: '商品管理'
},
name: '/baseInfo/warehouse',
path: '/baseInfo/warehouse'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'warehouseArea',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '库区管理'
title: '商品类别'
},
name: '/baseInfo/warehouseArea',
path: '/baseInfo/warehouseArea'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'warehouseAreaType',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '库区类型管理'
title: '商品品牌'
},
name: '/baseInfo/warehouseAreaType',
path: '/baseInfo/warehouseAreaType'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'goodsShelves',
meta: {
icon: 'el-icon-help',
title: '库位管理'
},
name: '/baseInfo/goodsShelves',
path: '/baseInfo/goodsShelves'
}
]
},
{
alwaysShow: true,
component: 'warehouse',
component: 'goods',
meta: {
icon: 'el-icon-menu',
title: '仓库信息'
icon: 'el-icon-truck',
title: '入库管理'
},
name: '/warehouse',
path: '/warehouse',
name: '/goods',
path: '/goods',
children: [
{
alwaysShow: true,
component: 'inStorage',
meta: {
icon: 'el-icon-help',
title: '入库管理'
},
name: '/warehouse/inStorage',
path: '/warehouse/inStorage'
},
{
alwaysShow: true,
component: 'reservationInStorage',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '预约入库'
title: '入库预约'
},
name: '/warehouse/reservationInStorage',
path: '/warehouse/reservationInStorage'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'outStorage',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '出库管理'
title: '采购入库'
},
name: '/warehouse/outStorage',
path: '/warehouse/outStorage'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
// {
// alwaysShow: true,
// component: 'distribution',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/distribution',
// path: '/warehouse/distribution'
// },
{
alwaysShow: true,
component: 'inventory',
meta: {
icon: 'el-icon-help',
title: '库存查询'
},
name: '/warehouse/inventory',
path: '/warehouse/inventory'
}, {
alwaysShow: true,
component: 'inOutStorage',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '出入库查询'
title: '收货入库'
},
name: '/warehouse/inOutStorage',
path: '/warehouse/inOutStorage'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'stocktaking',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '盘点管理'
title: '销退预约'
},
name: '/warehouse/stocktaking',
path: '/warehouse/stocktaking'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'allocation',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '调拨管理'
title: '销退入库'
},
name: '/warehouse/allocation',
path: '/warehouse/allocation'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
]
},
{
alwaysShow: true,
component: 'goods',
meta: {
icon: 'el-icon-shopping-cart-full',
title: '出库管理'
},
name: '/goods',
path: '/goods',
children: [
{
alwaysShow: true,
component: 'deliveryNotice',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '到货单管理'
title: '出库管理'
},
name: '/warehouse/deliveryNotice',
path: '/warehouse/deliveryNotice'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
]
},
{
alwaysShow: true,
component: 'goods',
meta: {
icon: 'el-icon-takeaway-box',
title: '库存管理'
},
name: '/goods',
path: '/goods',
children: [
{
alwaysShow: true,
component: 'receivingGoods',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '收货单管理'
title: '盘点管理'
},
name: '/warehouse/receivingGoods',
path: '/warehouse/receivingGoods'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'upShelf',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '上架单管理'
title: '库存查询'
},
name: '/warehouse/upShelf',
path: '/warehouse/upShelf'
name: '/baseInfo/brands',
path: '/baseInfo/brands',
children: [
{
alwaysShow: true,
component: 'brands',
meta: {
title: '库存总量'
},
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'brands',
meta: {
title: '库存警戒线'
},
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
]
},
]
},
{
alwaysShow: true,
component: 'goods',
meta: {
icon: 'el-icon-bank-card',
title: '财务记账'
},
name: '/goods',
path: '/goods',
children: []
},
{
alwaysShow: true,
component: 'goods',
meta: {
icon: 'el-icon-data-line',
title: '报表查询'
},
name: '/goods',
path: '/goods',
children: [
{
alwaysShow: true,
component: 'oldPartsFactory',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '旧件返厂'
title: '出入库查询'
},
name: '/warehouse/oldPartsFactory',
path: '/warehouse/oldPartsFactory'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
]
},
{
alwaysShow: true,
component: 'goods',
meta: {
icon: 'el-icon-setting',
title: '系统管理'
},
name: '/goods',
path: '/goods',
children: [
{
alwaysShow: true,
component: 'oldPartsCope',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '旧件处理'
title: '用户管理'
},
name: '/warehouse/oldPartsCope',
path: '/warehouse/oldPartsCope'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'oldPartsRecovery',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '旧件回收'
title: '角色管理'
},
name: '/warehouse/oldPartsRecovery',
path: '/warehouse/oldPartsRecovery'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'oldPartsInStorage',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '旧件入库'
title: '安全设置'
},
name: '/warehouse/oldPartsInStorage',
path: '/warehouse/oldPartsInStorage'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'oldPartsInvertory',
component: 'brands',
meta: {
icon: 'el-icon-help',
title: '旧件库存'
title: '日志管理'
},
name: '/warehouse/oldPartsInvertory',
path: '/warehouse/oldPartsInvertory'
name: '/baseInfo/brands',
path: '/baseInfo/brands'
},
{
alwaysShow: true,
component: 'oldPartsInAndOutStorage',
meta: {
icon: 'el-icon-help',
title: '旧件出入库查询'
},
name: '/warehouse/oldPartsInAndOutStorage',
path: '/warehouse/oldPartsInAndOutStorage'
}
]
},
{
path: '/inventory',
component: Layout,
redirect: '/inventory',
meta: {
title: '库存查询'
},
children: [{
path: '/inventory/inventory',
component: () => import('@/views/inventory/inventory.vue'),
name: 'Inventory',
meta: {
title: '库存查询',
noCache: true
}
}]
},
{
path: '/storageage',
component: Layout,
redirect: '/storageage',
meta: {
title: '库龄查询'
},
children: [{
path: '/storageage/storageage',
component: () => import('@/views/storageage/storageage.vue'),
name: 'StorageAge',
meta: {
title: '库龄查询',
noCache: true
}
}]
},
{
path: '/carryover',
component: Layout,
redirect: '/carryover',
meta: {
title: '结转查询'
},
children: [{
path: '/carryover/carryforwardrecord',
component: () => import('@/views/carryover/carryforwardrecord.vue'),
name: 'CarryForwardRecord',
meta: {
title: '结转记录查询',
noCache: true
}
},
{
path: '/carryover/carryoverstock',
component: () => import('@/views/carryover/carryoverstock.vue'),
name: 'CarryoverStock',
meta: {
title: '结转库存查询',
noCache: true
}
}
]
}
// {
// alwaysShow: true,
// component: 'warehouse',
// meta: {
// icon: 'el-icon-menu',
// title: ''
// },
// name: '/warehouse',
// path: '/warehouse',
// children: [
// {
// alwaysShow: true,
// component: 'inStorage',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/inStorage',
// path: '/warehouse/inStorage'
// },
// {
// alwaysShow: true,
// component: 'reservationInStorage',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/reservationInStorage',
// path: '/warehouse/reservationInStorage'
// },
// {
// alwaysShow: true,
// component: 'outStorage',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/outStorage',
// path: '/warehouse/outStorage'
// },
// // {
// // alwaysShow: true,
// // component: 'distribution',
// // meta: {
// // icon: 'el-icon-help',
// // title: ''
// // },
// // name: '/warehouse/distribution',
// // path: '/warehouse/distribution'
// // },
// {
// alwaysShow: true,
// component: 'inventory',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/inventory',
// path: '/warehouse/inventory'
// }, {
// alwaysShow: true,
// component: 'inOutStorage',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/inOutStorage',
// path: '/warehouse/inOutStorage'
// },
// {
// alwaysShow: true,
// component: 'stocktaking',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/stocktaking',
// path: '/warehouse/stocktaking'
// },
// {
// alwaysShow: true,
// component: 'allocation',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/allocation',
// path: '/warehouse/allocation'
// },
// {
// alwaysShow: true,
// component: 'deliveryNotice',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/deliveryNotice',
// path: '/warehouse/deliveryNotice'
// },
// {
// alwaysShow: true,
// component: 'receivingGoods',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/receivingGoods',
// path: '/warehouse/receivingGoods'
// },
// {
// alwaysShow: true,
// component: 'upShelf',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/upShelf',
// path: '/warehouse/upShelf'
// },
// {
// alwaysShow: true,
// component: 'oldPartsFactory',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/oldPartsFactory',
// path: '/warehouse/oldPartsFactory'
// },
// {
// alwaysShow: true,
// component: 'oldPartsCope',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/oldPartsCope',
// path: '/warehouse/oldPartsCope'
// },
// {
// alwaysShow: true,
// component: 'oldPartsRecovery',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/oldPartsRecovery',
// path: '/warehouse/oldPartsRecovery'
// },
// {
// alwaysShow: true,
// component: 'oldPartsInStorage',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/oldPartsInStorage',
// path: '/warehouse/oldPartsInStorage'
// },
// {
// alwaysShow: true,
// component: 'oldPartsInvertory',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/oldPartsInvertory',
// path: '/warehouse/oldPartsInvertory'
// },
// {
// alwaysShow: true,
// component: 'oldPartsInAndOutStorage',
// meta: {
// icon: 'el-icon-help',
// title: ''
// },
// name: '/warehouse/oldPartsInAndOutStorage',
// path: '/warehouse/oldPartsInAndOutStorage'
// }
// ]
// },
// {
// path: '/inventory',
// component: Layout,
// redirect: '/inventory',
// meta: {
// title: ''
// },
// children: [{
// path: '/inventory/inventory',
// component: () => import('@/views/inventory/inventory.vue'),
// name: 'Inventory',
// meta: {
// title: '',
// noCache: true
// }
// }]
// },
// {
// path: '/storageage',
// component: Layout,
// redirect: '/storageage',
// meta: {
// title: ''
// },
// children: [{
// path: '/storageage/storageage',
// component: () => import('@/views/storageage/storageage.vue'),
// name: 'StorageAge',
// meta: {
// title: '',
// noCache: true
// }
// }]
// },
// {
// path: '/carryover',
// component: Layout,
// redirect: '/carryover',
// meta: {
// title: ''
// },
// children: [{
// path: '/carryover/carryforwardrecord',
// component: () => import('@/views/carryover/carryforwardrecord.vue'),
// name: 'CarryForwardRecord',
// meta: {
// title: '',
// noCache: true
// }
// },
// {
// path: '/carryover/carryoverstock',
// component: () => import('@/views/carryover/carryoverstock.vue'),
// name: 'CarryoverStock',
// meta: {
// title: '',
// noCache: true
// }
// }
// ]
// }
]
}
},

2
src/settings.js

@ -1,6 +1,6 @@
module.exports = {
title: '仓储管理',
title: '商享通WMS',
/**
* @type {boolean} true | false

2
vue.config.js

@ -6,7 +6,7 @@ function resolve(dir) {
return path.join(__dirname, dir)
}
const name = defaultSettings.title || '仓储管理' // page title
const name = defaultSettings.title || '商享通WMS' // page title
// 如果端口设置为80,
// 使用管理员权限执行命令行。

Loading…
Cancel
Save