This commit is contained in:
2024-05-07 11:25:15 +08:00
parent 21a673036e
commit 37c7af13d5
7 changed files with 588 additions and 285 deletions

View File

@@ -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 = ""

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -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>

View File

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

View File

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

View File

@@ -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
// 使用管理员权限执行命令行。 // 使用管理员权限执行命令行。