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' ENV = 'production'
# base api # base api
VUE_APP_BASE_API = '/wmsapi' VUE_APP_BASE_API = '/api'
## 配置 正式接口地址 ## 配置 正式接口地址
VUE_APP_URL = "https://supervise.yxtsoft.com" VUE_APP_URL = "https://wms.yxtsoft.com"
VUE_APP_REPORT_URL = ""

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> <template>
<div> <div>
<div class="navbar"> <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> --> <!-- <h3 class="breadcrumb-container">汇融银行供应链贷后监管平台</h3> -->
<div class="right-menu"> <div class="right-menu">
<!-- <p>{{Orgname}} {{departmentName}} 欢迎, {{name}}</p>--> <!-- <p>{{Orgname}} {{departmentName}} 欢迎, {{name}}</p>-->
@ -9,7 +9,7 @@
<p class="dy" @click="logout()"><img src="@/assets/images/dy.png"></p> --> <p class="dy" @click="logout()"><img src="@/assets/images/dy.png"></p> -->
</div> </div>
</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> </div>
</template> </template>

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

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

2
vue.config.js

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

Loading…
Cancel
Save