Browse Source

Squashed commit of the following:

commit 53fe58dc4f
Merge: c4b83f0 f6ccd21
Author: 0.0 <1092404103.qq.com>
Date:   Mon Jul 10 15:52:24 2023 +0800

    Merge remote-tracking branch 'origin/dev' into dev

commit c4b83f0b53
Author: 0.0 <1092404103.qq.com>
Date:   Mon Jul 10 15:52:21 2023 +0800

    1.页面新增
dev-warehouse
zhangsiyu 2 years ago
parent
commit
a48404ea9a
  1. 19
      src/router/views/index.js
  2. 2
      src/store/modules/common.js
  3. 2
      src/styles/css/beautiful.css
  4. 15
      src/styles/sidebar.scss
  5. 3
      src/styles/theme/beautiful.scss
  6. 7
      src/styles/top.scss
  7. 20
      src/views/distribution/deliverylist/distributionDeliveryListdis.vue
  8. 7
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue
  9. 2
      vite.config.js

19
src/router/views/index.js

@ -629,6 +629,25 @@ export default [
}, },
], ],
}, },
{
path: '/distribution/signfor/distributionSignforedt',
component: Layout,
redirect: '/distribution/distributionSignforedt',
children: [
{
path: '/distribution/signfor/distributionSignforedt',
name: '签收查看',
meta: {
i18n: 'dict',
},
props: route => ({
name: route.query.name,
id: route.query.id
}),
component: () => import('@/views/distribution/signfor/distributionSignforedt.vue'),
},
],
},
// { // {
// path: '/distribution/inventory/distributionPrints', // path: '/distribution/inventory/distributionPrints',
// component: Layout, // component: Layout,

2
src/store/modules/common.js

@ -10,7 +10,7 @@ const common = {
isSearch: false, isSearch: false,
isRefresh: true, isRefresh: true,
isLock: getStore({ name: 'isLock' }), isLock: getStore({ name: 'isLock' }),
themeName: getStore({ name: 'themeName' }) || 'theme-hey', themeName: getStore({ name: 'themeName' }) || 'default',
lockPasswd: getStore({ name: 'lockPasswd' }) || '', lockPasswd: getStore({ name: 'lockPasswd' }) || '',
website: website, website: website,
setting: website.setting, setting: website.setting,

2
src/styles/css/beautiful.css

@ -7,7 +7,7 @@
.theme-beautiful .avue-sidebar .el-menu-item i, .theme-beautiful .avue-sidebar .el-menu-item span, .theme-beautiful .avue-sidebar .el-sub-menu__title i, .theme-beautiful .avue-sidebar .el-sub-menu__title span { .theme-beautiful .avue-sidebar .el-menu-item i, .theme-beautiful .avue-sidebar .el-menu-item span, .theme-beautiful .avue-sidebar .el-sub-menu__title i, .theme-beautiful .avue-sidebar .el-sub-menu__title span {
color: #fff; color: #fff;
} }
.theme-beautiful .avue-sidebar .el-menu-item .is-active, .theme-beautiful .avue-sidebar .el-sub-menu__title .is-active { .theme-beautiful .avue-sidebar .el-menu-item , .theme-beautiful .avue-sidebar .el-sub-menu__title .is-active {
background: #399efd !important; background: #399efd !important;
} }
.theme-beautiful .avue-sidebar .el-menu-item:hover, .theme-beautiful .avue-sidebar .el-menu-item.is-active, .theme-beautiful .avue-sidebar .el-sub-menu__title:hover, .theme-beautiful .avue-sidebar .el-sub-menu__title.is-active { .theme-beautiful .avue-sidebar .el-menu-item:hover, .theme-beautiful .avue-sidebar .el-menu-item.is-active, .theme-beautiful .avue-sidebar .el-sub-menu__title:hover, .theme-beautiful .avue-sidebar .el-sub-menu__title.is-active {

15
src/styles/sidebar.scss

@ -6,7 +6,7 @@
position: relative; position: relative;
height: 100%; height: 100%;
position: relative; position: relative;
background-color: #031527; background-color: #172e60;
transition: width .2s; transition: width .2s;
box-sizing: border-box; box-sizing: border-box;
box-shadow: 2px 0 6px rgba(0, 21, 41, .35); box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
@ -46,10 +46,11 @@
} }
&:hover { &:hover {
background: transparent; // background: transparent;
background-color: #2f4370;
i, span { i, span {
color: #fff; color: #d3832a;
} }
} }
@ -60,14 +61,14 @@
left: 0; left: 0;
bottom: 0; bottom: 0;
width: 4px; width: 4px;
background: #172e60; background-color: #4378eb;
position: absolute; position: absolute;
} }
background-color: rgba(0, 0, 0, .8); background-color: #2f4370;
i, span { i, span {
color: #fff; color: #d3832a;
} }
} }
} }

3
src/styles/theme/beautiful.scss

@ -8,7 +8,8 @@
.el-menu-item, .el-sub-menu__title { .el-menu-item, .el-sub-menu__title {
i, span { i, span {
color: #fff color: #fff;
} }
.is-active { .is-active {

7
src/styles/top.scss

@ -12,10 +12,13 @@
.el-menu-item { .el-menu-item {
i, span { i, span {
font-size: 13px; font-size: 13px;
// background-color: #d3832a;
} }
} }
} }
.el-menu-item>.is-active{
background-color: #d3832a !important;
}
.avue-breadcrumb { .avue-breadcrumb {
height: 100%; height: 100%;
@ -116,7 +119,7 @@
.avue-logo { .avue-logo {
height: $top_height; height: $top_height;
line-height: $top_height; line-height: $top_height;
background-color: #031527; background-color: #172e60;
font-size: 20px; font-size: 20px;
overflow: hidden; overflow: hidden;
box-sizing: border-box; box-sizing: border-box;

20
src/views/distribution/deliverylist/distributionDeliveryListdis.vue

@ -16,7 +16,7 @@
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleAdd"> </el-button>--> <!-- <el-button type="primary" icon="el-icon-plus" @click="handleAdd"> </el-button>-->
<!-- <el-button type="danger" icon="el-icon-delete" @click="handleDelete" plain> </el-button>--> <!-- <el-button type="danger" icon="el-icon-delete" @click="handleDelete" plain> </el-button>-->
<!-- <el-button type="primary" icon="el-icon-delete" @click="handleDelete" plain> </el-button>--> <!-- <el-button type="primary" icon="el-icon-delete" @click="handleDelete" plain> </el-button>-->
<el-button type="primary" @click="toDeliveryPlan"> </el-button> <el-button type="primary" @click="toDeliveryPlan"> </el-button>
</div> </div>
<!-- 头部右侧按钮模块 --> <!-- 头部右侧按钮模块 -->
<div class="avue-crud__right"> <div class="avue-crud__right">
@ -141,15 +141,15 @@ export default {
// //
selectionList: [], selectionList: [],
columnList: [ columnList: [
// { {
// prop: '', prop: '',
// label: '', label: '序号',
// type: 0, type: 0,
// values: '', values: '',
// width: 55, width: 55,
// checkarr: [], checkarr: [],
// fixed: true, fixed: true,
// }, },
{ {
prop: 'trainNumber', prop: 'trainNumber',
label: '车次', label: '车次',

7
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

@ -28,7 +28,8 @@
<span>装卸班组{{deliverydata.loadingTeamName}} </span> <span>装卸班组{{deliverydata.loadingTeamName}} </span>
</el-col> </el-col>
<el-col :xl="7" :lg="7" :md="8" :sm="24"> <el-col :xl="7" :lg="7" :md="8" :sm="24">
<span>{{deliverydata.loadingTeamType}} </span> <!-- <span>{{deliverydata.loadingTeamType}} </span> -->
<span> </span>
</el-col> </el-col>
</el-row> </el-row>
<el-divider>作业时间</el-divider> <el-divider>作业时间</el-divider>
@ -37,10 +38,10 @@
<span>创建时间{{deliverydata.createTime}} </span> <span>创建时间{{deliverydata.createTime}} </span>
</el-col> </el-col>
<el-col :xl="7" :lg="7" :md="8" :sm="24"> <el-col :xl="7" :lg="7" :md="8" :sm="24">
<span>备货时间{{deliverydata.lead_time}} </span> <span>备货时间{{deliverydata.loadTime}} </span>
</el-col> </el-col>
<el-col :xl="7" :lg="7" :md="8" :sm="24"> <el-col :xl="7" :lg="7" :md="8" :sm="24">
<span>装车时间{{deliverydata.loading_time}} </span> <span>装车时间{{deliverydata.loadingTime}} </span>
</el-col> </el-col>
</el-row> </el-row>
<el-divider>订单列表</el-divider> <el-divider>订单列表</el-divider>

2
vite.config.js

@ -12,7 +12,7 @@ export default ({ mode, command }) => {
port: 2888, port: 2888,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.2.29:13000', target: 'http://192.168.2.11:8889',
//target: 'http://test3.javablade.com', //target: 'http://test3.javablade.com',
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''), rewrite: path => path.replace(/^\/api/, ''),

Loading…
Cancel
Save