Browse Source

边距调整

fix_bug_pro20231227
13208366016 2 years ago
parent
commit
885d2fbf61
  1. 335
      src/css/common.css
  2. 6
      src/page/index/index.vue
  3. 8
      src/page/login/userlogin.vue
  4. 9
      src/styles/common.scss
  5. 3
      src/styles/flowStyle.scss
  6. 1
      src/styles/login.scss
  7. 17
      src/views/basic/deline/basicDeline.vue
  8. 6
      src/views/basic/material/basicMaterial.vue
  9. 6
      src/views/basic/printTemplate/basicPrintTemplate.vue
  10. 5
      src/views/basic/property/basicProperty.vue
  11. 6
      src/views/basic/property/basicPropertyDetails.vue
  12. 5
      src/views/basicdata/brand/basicdataBrandCategory.vue
  13. 8
      src/views/basicdata/brand/basicdataCategory.vue
  14. 12
      src/views/basicdata/brand/basicdataFreight.vue
  15. 6
      src/views/basicdata/brand/basicdataSupportValue.vue
  16. 410
      src/views/basicdata/carrier/basicdataCarrier.vue
  17. 31
      src/views/basicdata/team/basicdataTeamGroup.vue
  18. 6
      src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue
  19. 23
      src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue
  20. 26
      src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue
  21. 2
      src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue

335
src/css/common.css

@ -29,7 +29,9 @@ a {
height: 50px;
display: flex;
}
.avue-layout--horizontal .avue-sidebar .avue-menu, .avue-layout--horizontal .avue-sidebar .el-menu-item, .avue-layout--horizontal .avue-sidebar .el-sub-menu__title {
.avue-layout--horizontal .avue-sidebar .avue-menu,
.avue-layout--horizontal .avue-sidebar .el-menu-item,
.avue-layout--horizontal .avue-sidebar .el-sub-menu__title {
height: 50px;
line-height: 50px;
}
@ -88,7 +90,7 @@ a {
}
.mac_bg {
background-image: url("/img/bg.jpg");
background-image: url('/img/bg.jpg');
background-color: #000;
position: fixed;
left: 0;
@ -129,11 +131,19 @@ a {
padding: 0 !important;
}
.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-sub-menu .el-sub-menu__title:hover {
.el-dropdown-menu__item--divided:before,
.el-menu,
.el-menu--horizontal > .el-menu-item:not(.is-disabled):focus,
.el-menu--horizontal > .el-menu-item:not(.is-disabled):hover,
.el-menu--horizontal > .el-sub-menu .el-sub-menu__title:hover {
background-color: transparent;
}
.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-sub-menu .el-sub-menu__title:hover {
.el-dropdown-menu__item--divided:before,
.el-menu,
.el-menu--horizontal > .el-menu-item:not(.is-disabled):focus,
.el-menu--horizontal > .el-menu-item:not(.is-disabled):hover,
.el-menu--horizontal > .el-sub-menu .el-sub-menu__title:hover {
background-color: transparent !important;
}
@ -146,11 +156,13 @@ a {
background-color: transparent;
}
.el-button.is-text:not(.is-disabled):focus, .el-button.is-text:not(.is-disabled):hover {
.el-button.is-text:not(.is-disabled):focus,
.el-button.is-text:not(.is-disabled):hover {
background-color: transparent;
}
.avue-icon i, .avue-icon svg {
.avue-icon i,
.avue-icon svg {
line-height: 20px;
}
@ -169,7 +181,8 @@ a {
box-sizing: border-box;
white-space: nowrap;
}
.avue-top .el-menu-item i, .avue-top .el-menu-item span {
.avue-top .el-menu-item i,
.avue-top .el-menu-item span {
font-size: 13px;
}
@ -290,8 +303,8 @@ a {
.avue-tags {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-moz-user-select: none;
user-select: none;
position: relative;
padding: 0 10px;
margin-bottom: 10px;
@ -377,8 +390,8 @@ a {
width: 230px;
height: 100%;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-moz-user-select: none;
user-select: none;
position: relative;
height: 100%;
position: relative;
@ -409,23 +422,33 @@ a {
font-size: 14px;
background-color: rgba(0, 0, 0, 0.4);
}
.avue-sidebar .el-menu-item i, .avue-sidebar .el-sub-menu__title i {
.avue-sidebar .el-menu-item i,
.avue-sidebar .el-sub-menu__title i {
margin-right: 5px;
}
.avue-sidebar .el-menu-item i, .avue-sidebar .el-menu-item span, .avue-sidebar .el-sub-menu__title i, .avue-sidebar .el-sub-menu__title span {
.avue-sidebar .el-menu-item i,
.avue-sidebar .el-menu-item span,
.avue-sidebar .el-sub-menu__title i,
.avue-sidebar .el-sub-menu__title span {
color: hsla(0, 0%, 100%, 0.7);
}
.avue-sidebar .el-menu-item:hover, .avue-sidebar .el-sub-menu__title:hover {
.avue-sidebar .el-menu-item:hover,
.avue-sidebar .el-sub-menu__title:hover {
background: transparent;
}
.avue-sidebar .el-menu-item:hover i, .avue-sidebar .el-menu-item:hover span, .avue-sidebar .el-sub-menu__title:hover i, .avue-sidebar .el-sub-menu__title:hover span {
.avue-sidebar .el-menu-item:hover i,
.avue-sidebar .el-menu-item:hover span,
.avue-sidebar .el-sub-menu__title:hover i,
.avue-sidebar .el-sub-menu__title:hover span {
color: #fff;
}
.avue-sidebar .el-menu-item.is-active, .avue-sidebar .el-sub-menu__title.is-active {
.avue-sidebar .el-menu-item.is-active,
.avue-sidebar .el-sub-menu__title.is-active {
background-color: rgba(0, 0, 0, 0.8);
}
.avue-sidebar .el-menu-item.is-active:before, .avue-sidebar .el-sub-menu__title.is-active:before {
content: "";
.avue-sidebar .el-menu-item.is-active:before,
.avue-sidebar .el-sub-menu__title.is-active:before {
content: '';
top: 0;
left: 0;
bottom: 0;
@ -433,24 +456,29 @@ a {
background: #172e60;
position: absolute;
}
.avue-sidebar .el-menu-item.is-active i, .avue-sidebar .el-menu-item.is-active span, .avue-sidebar .el-sub-menu__title.is-active i, .avue-sidebar .el-sub-menu__title.is-active span {
.avue-sidebar .el-menu-item.is-active i,
.avue-sidebar .el-menu-item.is-active span,
.avue-sidebar .el-sub-menu__title.is-active i,
.avue-sidebar .el-sub-menu__title.is-active span {
color: #fff;
}
.theme-white .el-menu--popup .el-menu-item {
background-color: #e6810d;
}
.theme-white .el-menu--popup .el-menu-item i, .theme-white .el-menu--popup .el-menu-item span {
.theme-white .el-menu--popup .el-menu-item i,
.theme-white .el-menu--popup .el-menu-item span {
color: #666;
}
.theme-white .el-menu--popup .el-menu-item:hover i, .theme-white .el-menu--popup .el-menu-item:hover span {
.theme-white .el-menu--popup .el-menu-item:hover i,
.theme-white .el-menu--popup .el-menu-item:hover span {
color: #333;
}
.theme-white .el-menu--popup .el-menu-item.is-active {
background-color: #172e60;
}
.theme-white .el-menu--popup .el-menu-item.is-active:before {
content: "";
content: '';
top: 0;
left: 0;
bottom: 0;
@ -458,7 +486,8 @@ a {
background: #172e60;
position: absolute;
}
.theme-white .el-menu--popup .el-menu-item.is-active i, .theme-white .el-menu--popup .el-menu-item.is-active span {
.theme-white .el-menu--popup .el-menu-item.is-active i,
.theme-white .el-menu--popup .el-menu-item.is-active span {
color: #fff;
}
.theme-white .avue-top,
@ -497,19 +526,30 @@ a {
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.15);
background-color: #fff;
}
.theme-white .avue-sidebar .el-menu-item i, .theme-white .avue-sidebar .el-menu-item span, .theme-white .avue-sidebar .el-sub-menu__title i, .theme-white .avue-sidebar .el-sub-menu__title span {
.theme-white .avue-sidebar .el-menu-item i,
.theme-white .avue-sidebar .el-menu-item span,
.theme-white .avue-sidebar .el-sub-menu__title i,
.theme-white .avue-sidebar .el-sub-menu__title span {
color: #666;
}
.theme-white .avue-sidebar .el-menu-item:hover, .theme-white .avue-sidebar .el-sub-menu__title:hover {
.theme-white .avue-sidebar .el-menu-item:hover,
.theme-white .avue-sidebar .el-sub-menu__title:hover {
background: transparent;
}
.theme-white .avue-sidebar .el-menu-item:hover i, .theme-white .avue-sidebar .el-menu-item:hover span, .theme-white .avue-sidebar .el-sub-menu__title:hover i, .theme-white .avue-sidebar .el-sub-menu__title:hover span {
.theme-white .avue-sidebar .el-menu-item:hover i,
.theme-white .avue-sidebar .el-menu-item:hover span,
.theme-white .avue-sidebar .el-sub-menu__title:hover i,
.theme-white .avue-sidebar .el-sub-menu__title:hover span {
color: #333;
}
.theme-white .avue-sidebar .el-menu-item.is-active, .theme-white .avue-sidebar .el-sub-menu__title.is-active {
.theme-white .avue-sidebar .el-menu-item.is-active,
.theme-white .avue-sidebar .el-sub-menu__title.is-active {
background-color: #172e60;
}
.theme-white .avue-sidebar .el-menu-item.is-active i, .theme-white .avue-sidebar .el-menu-item.is-active span, .theme-white .avue-sidebar .el-sub-menu__title.is-active i, .theme-white .avue-sidebar .el-sub-menu__title.is-active span {
.theme-white .avue-sidebar .el-menu-item.is-active i,
.theme-white .avue-sidebar .el-menu-item.is-active span,
.theme-white .avue-sidebar .el-sub-menu__title.is-active i,
.theme-white .avue-sidebar .el-sub-menu__title.is-active span {
color: #fff;
}
.theme-white .top-search .el-input__inner {
@ -546,7 +586,7 @@ a {
background: transparent;
}
.theme-star .avue-contail {
background-image: url("/img/star-squashed.jpg");
background-image: url('/img/star-squashed.jpg');
background-size: 100% 100%;
}
.theme-star .avue-logo {
@ -557,7 +597,8 @@ a {
.theme-star .tags-container {
background-color: transparent;
}
.theme-star .el-card, .theme-star .error-page {
.theme-star .el-card,
.theme-star .error-page {
opacity: 0.9;
}
.theme-star .avue-tabs {
@ -570,7 +611,8 @@ a {
.theme-star .avue-top .avue-breadcrumb {
color: #fff;
}
.theme-star .avue-top .el-menu-item i, .theme-star .avue-top .el-menu-item span {
.theme-star .avue-top .el-menu-item i,
.theme-star .avue-top .el-menu-item span {
color: #fff;
}
.theme-star .avue-top .el-menu-item.is-active {
@ -583,19 +625,30 @@ a {
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.15);
background-color: transparent;
}
.theme-star .avue-sidebar .el-menu-item i, .theme-star .avue-sidebar .el-menu-item span, .theme-star .avue-sidebar .el-sub-menu__title i, .theme-star .avue-sidebar .el-sub-menu__title span {
.theme-star .avue-sidebar .el-menu-item i,
.theme-star .avue-sidebar .el-menu-item span,
.theme-star .avue-sidebar .el-sub-menu__title i,
.theme-star .avue-sidebar .el-sub-menu__title span {
color: #fff;
}
.theme-star .avue-sidebar .el-menu-item:hover, .theme-star .avue-sidebar .el-sub-menu__title:hover {
.theme-star .avue-sidebar .el-menu-item:hover,
.theme-star .avue-sidebar .el-sub-menu__title:hover {
background: transparent;
}
.theme-star .avue-sidebar .el-menu-item:hover i, .theme-star .avue-sidebar .el-menu-item:hover span, .theme-star .avue-sidebar .el-sub-menu__title:hover i, .theme-star .avue-sidebar .el-sub-menu__title:hover span {
.theme-star .avue-sidebar .el-menu-item:hover i,
.theme-star .avue-sidebar .el-menu-item:hover span,
.theme-star .avue-sidebar .el-sub-menu__title:hover i,
.theme-star .avue-sidebar .el-sub-menu__title:hover span {
color: #172e60;
}
.theme-star .avue-sidebar .el-menu-item.is-active, .theme-star .avue-sidebar .el-sub-menu__title.is-active {
.theme-star .avue-sidebar .el-menu-item.is-active,
.theme-star .avue-sidebar .el-sub-menu__title.is-active {
background-color: rgba(0, 0, 0, 0.4);
}
.theme-star .avue-sidebar .el-menu-item.is-active i, .theme-star .avue-sidebar .el-menu-item.is-active span, .theme-star .avue-sidebar .el-sub-menu__title.is-active i, .theme-star .avue-sidebar .el-sub-menu__title.is-active span {
.theme-star .avue-sidebar .el-menu-item.is-active i,
.theme-star .avue-sidebar .el-menu-item.is-active span,
.theme-star .avue-sidebar .el-sub-menu__title.is-active i,
.theme-star .avue-sidebar .el-sub-menu__title.is-active span {
color: #fff;
}
.theme-star .top-search .el-input__inner {
@ -635,7 +688,13 @@ a {
color: rgba(246, 202, 157, 0.7);
}
.theme-vip .avue-logo .avue-logo_title {
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(246, 202, 157, 0.7)), to(#f6ca9d));
background-image: -webkit-gradient(
linear,
left top,
left bottom,
from(rgba(246, 202, 157, 0.7)),
to(#f6ca9d)
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 400;
@ -646,7 +705,8 @@ a {
.theme-vip .avue-sidebar .el-menu-item.is-active:before {
background: rgba(246, 202, 157, 0.7);
}
.theme-vip .avue-sidebar .el-menu-item.is-active i, .theme-vip .avue-sidebar .el-menu-item.is-active span {
.theme-vip .avue-sidebar .el-menu-item.is-active i,
.theme-vip .avue-sidebar .el-menu-item.is-active span {
color: #f6ca9d;
}
.theme-vip .avue-tags .el-tabs__item {
@ -741,23 +801,38 @@ a {
background-color: #ebf1f6;
box-shadow: none;
}
.theme-d2 .avue-sidebar .el-menu-item i, .theme-d2 .avue-sidebar .el-menu-item span, .theme-d2 .avue-sidebar .el-sub-menu__title i, .theme-d2 .avue-sidebar .el-sub-menu__title span {
.theme-d2 .avue-sidebar .el-menu-item i,
.theme-d2 .avue-sidebar .el-menu-item span,
.theme-d2 .avue-sidebar .el-sub-menu__title i,
.theme-d2 .avue-sidebar .el-sub-menu__title span {
color: #606266;
}
.theme-d2 .avue-sidebar .el-menu-item:hover, .theme-d2 .avue-sidebar .el-menu-item.is-active, .theme-d2 .avue-sidebar .el-sub-menu__title:hover, .theme-d2 .avue-sidebar .el-sub-menu__title.is-active {
.theme-d2 .avue-sidebar .el-menu-item:hover,
.theme-d2 .avue-sidebar .el-menu-item.is-active,
.theme-d2 .avue-sidebar .el-sub-menu__title:hover,
.theme-d2 .avue-sidebar .el-sub-menu__title.is-active {
background: hsla(0, 0%, 100%, 0.5);
}
.theme-d2 .avue-sidebar .el-menu-item:hover i, .theme-d2 .avue-sidebar .el-menu-item:hover span, .theme-d2 .avue-sidebar .el-menu-item.is-active i, .theme-d2 .avue-sidebar .el-menu-item.is-active span, .theme-d2 .avue-sidebar .el-sub-menu__title:hover i, .theme-d2 .avue-sidebar .el-sub-menu__title:hover span, .theme-d2 .avue-sidebar .el-sub-menu__title.is-active i, .theme-d2 .avue-sidebar .el-sub-menu__title.is-active span {
.theme-d2 .avue-sidebar .el-menu-item:hover i,
.theme-d2 .avue-sidebar .el-menu-item:hover span,
.theme-d2 .avue-sidebar .el-menu-item.is-active i,
.theme-d2 .avue-sidebar .el-menu-item.is-active span,
.theme-d2 .avue-sidebar .el-sub-menu__title:hover i,
.theme-d2 .avue-sidebar .el-sub-menu__title:hover span,
.theme-d2 .avue-sidebar .el-sub-menu__title.is-active i,
.theme-d2 .avue-sidebar .el-sub-menu__title.is-active span {
color: #172e60;
}
.theme-bule .avue-top, .theme-bule .avue-logo {
.theme-bule .avue-top,
.theme-bule .avue-logo {
background: #004ca7;
}
.theme-bule .avue-sidebar {
background: #004ca7;
}
.theme-bule .avue-sidebar .el-menu-item.is-active, .theme-bule .avue-sidebar .el-sub-menu__title.is-active {
.theme-bule .avue-sidebar .el-menu-item.is-active,
.theme-bule .avue-sidebar .el-sub-menu__title.is-active {
background-color: rgba(0, 0, 0, 0.2);
}
.theme-bule .el-dropdown {
@ -820,7 +895,7 @@ a {
border-radius: 3px;
}
.theme-iview .avue-tags .el-tabs__item:before {
content: "";
content: '';
display: inline-block;
width: 12px;
height: 12px;
@ -837,7 +912,8 @@ a {
.theme-iview .avue-sidebar .el-menu-item.is-active:before {
display: none;
}
.theme-iview .avue-sidebar .el-menu-item.is-active i, .theme-iview .avue-sidebar .el-menu-item.is-active span {
.theme-iview .avue-sidebar .el-menu-item.is-active i,
.theme-iview .avue-sidebar .el-menu-item.is-active span {
color: #172e60;
}
.theme-iview .avue-sidebar .el-sub-menu .el-menu-item.is-active {
@ -846,7 +922,8 @@ a {
.theme-iview .avue-sidebar .el-sub-menu .el-menu-item.is-active:before {
display: none;
}
.theme-iview .avue-sidebar .el-sub-menu .el-menu-item.is-active i, .theme-iview .avue-sidebar .el-sub-menu .el-menu-item.is-active span {
.theme-iview .avue-sidebar .el-sub-menu .el-menu-item.is-active i,
.theme-iview .avue-sidebar .el-sub-menu .el-menu-item.is-active span {
color: #fff;
}
@ -854,23 +931,35 @@ a {
background-color: #fff;
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}
.theme-hey .avue-sidebar .el-menu-item i, .theme-hey .avue-sidebar .el-menu-item span, .theme-hey .avue-sidebar .el-sub-menu__title i, .theme-hey .avue-sidebar .el-sub-menu__title span {
.theme-hey .avue-sidebar .el-menu-item i,
.theme-hey .avue-sidebar .el-menu-item span,
.theme-hey .avue-sidebar .el-sub-menu__title i,
.theme-hey .avue-sidebar .el-sub-menu__title span {
color: rgba(49, 58, 70, 0.8);
}
.theme-hey .avue-sidebar .el-menu-item:hover, .theme-hey .avue-sidebar .el-sub-menu__title:hover {
.theme-hey .avue-sidebar .el-menu-item:hover,
.theme-hey .avue-sidebar .el-sub-menu__title:hover {
background: transparent;
}
.theme-hey .avue-sidebar .el-menu-item:hover i, .theme-hey .avue-sidebar .el-menu-item:hover span, .theme-hey .avue-sidebar .el-sub-menu__title:hover i, .theme-hey .avue-sidebar .el-sub-menu__title:hover span {
.theme-hey .avue-sidebar .el-menu-item:hover i,
.theme-hey .avue-sidebar .el-menu-item:hover span,
.theme-hey .avue-sidebar .el-sub-menu__title:hover i,
.theme-hey .avue-sidebar .el-sub-menu__title:hover span {
color: #172e60;
}
.theme-hey .avue-sidebar .el-menu-item.is-active, .theme-hey .avue-sidebar .el-sub-menu__title.is-active {
.theme-hey .avue-sidebar .el-menu-item.is-active,
.theme-hey .avue-sidebar .el-sub-menu__title.is-active {
background-color: #f0f6ff;
}
.theme-hey .avue-sidebar .el-menu-item.is-active:before, .theme-hey .avue-sidebar .el-sub-menu__title.is-active:before {
.theme-hey .avue-sidebar .el-menu-item.is-active:before,
.theme-hey .avue-sidebar .el-sub-menu__title.is-active:before {
left: auto;
right: 0;
}
.theme-hey .avue-sidebar .el-menu-item.is-active i, .theme-hey .avue-sidebar .el-menu-item.is-active span, .theme-hey .avue-sidebar .el-sub-menu__title.is-active i, .theme-hey .avue-sidebar .el-sub-menu__title.is-active span {
.theme-hey .avue-sidebar .el-menu-item.is-active i,
.theme-hey .avue-sidebar .el-menu-item.is-active span,
.theme-hey .avue-sidebar .el-sub-menu__title.is-active i,
.theme-hey .avue-sidebar .el-sub-menu__title.is-active span {
color: #172e60;
}
.theme-hey .avue-logo {
@ -906,7 +995,8 @@ a {
box-shadow: none;
color: #ccc;
}
.theme-dark .avue-top i, .theme-dark .avue-top span {
.theme-dark .avue-top i,
.theme-dark .avue-top span {
color: #ccc;
}
.theme-dark .avue-main {
@ -933,16 +1023,32 @@ a {
background-color: #2c3643;
box-shadow: none;
}
.theme-dark .avue-sidebar .el-menu-item i, .theme-dark .avue-sidebar .el-menu-item span, .theme-dark .avue-sidebar .el-sub-menu__title i, .theme-dark .avue-sidebar .el-sub-menu__title span {
.theme-dark .avue-sidebar .el-menu-item i,
.theme-dark .avue-sidebar .el-menu-item span,
.theme-dark .avue-sidebar .el-sub-menu__title i,
.theme-dark .avue-sidebar .el-sub-menu__title span {
color: #ccc;
}
.theme-dark .avue-sidebar .el-menu-item:hover, .theme-dark .avue-sidebar .el-menu-item.is-active, .theme-dark .avue-sidebar .el-sub-menu__title:hover, .theme-dark .avue-sidebar .el-sub-menu__title.is-active {
.theme-dark .avue-sidebar .el-menu-item:hover,
.theme-dark .avue-sidebar .el-menu-item.is-active,
.theme-dark .avue-sidebar .el-sub-menu__title:hover,
.theme-dark .avue-sidebar .el-sub-menu__title.is-active {
background: #262d37;
}
.theme-dark .avue-sidebar .el-menu-item:hover i, .theme-dark .avue-sidebar .el-menu-item:hover span, .theme-dark .avue-sidebar .el-menu-item.is-active i, .theme-dark .avue-sidebar .el-menu-item.is-active span, .theme-dark .avue-sidebar .el-sub-menu__title:hover i, .theme-dark .avue-sidebar .el-sub-menu__title:hover span, .theme-dark .avue-sidebar .el-sub-menu__title.is-active i, .theme-dark .avue-sidebar .el-sub-menu__title.is-active span {
.theme-dark .avue-sidebar .el-menu-item:hover i,
.theme-dark .avue-sidebar .el-menu-item:hover span,
.theme-dark .avue-sidebar .el-menu-item.is-active i,
.theme-dark .avue-sidebar .el-menu-item.is-active span,
.theme-dark .avue-sidebar .el-sub-menu__title:hover i,
.theme-dark .avue-sidebar .el-sub-menu__title:hover span,
.theme-dark .avue-sidebar .el-sub-menu__title.is-active i,
.theme-dark .avue-sidebar .el-sub-menu__title.is-active span {
color: #fff;
}
.theme-dark .avue-sidebar .el-menu-item:hover:before, .theme-dark .avue-sidebar .el-menu-item.is-active:before, .theme-dark .avue-sidebar .el-sub-menu__title:hover:before, .theme-dark .avue-sidebar .el-sub-menu__title.is-active:before {
.theme-dark .avue-sidebar .el-menu-item:hover:before,
.theme-dark .avue-sidebar .el-menu-item.is-active:before,
.theme-dark .avue-sidebar .el-sub-menu__title:hover:before,
.theme-dark .avue-sidebar .el-sub-menu__title.is-active:before {
background-color: #000;
}
@ -961,36 +1067,47 @@ a {
.theme-lte .avue-sidebar {
background-color: #263238;
}
.theme-lte .avue-sidebar .el-menu-item i, .theme-lte .avue-sidebar .el-menu-item span, .theme-lte .avue-sidebar .el-sub-menu__title i, .theme-lte .avue-sidebar .el-sub-menu__title span {
.theme-lte .avue-sidebar .el-menu-item i,
.theme-lte .avue-sidebar .el-menu-item span,
.theme-lte .avue-sidebar .el-sub-menu__title i,
.theme-lte .avue-sidebar .el-sub-menu__title span {
color: #8a979e;
}
.theme-lte .avue-sidebar .el-menu-item:hover, .theme-lte .avue-sidebar .el-sub-menu__title:hover {
.theme-lte .avue-sidebar .el-menu-item:hover,
.theme-lte .avue-sidebar .el-sub-menu__title:hover {
background-color: #2b373d;
}
.theme-lte .avue-sidebar .el-menu-item.is-active, .theme-lte .avue-sidebar .el-sub-menu__title.is-active {
.theme-lte .avue-sidebar .el-menu-item.is-active,
.theme-lte .avue-sidebar .el-sub-menu__title.is-active {
background-color: #2b373d;
}
.theme-lte .avue-sidebar .el-menu-item.is-active:before, .theme-lte .avue-sidebar .el-sub-menu__title.is-active:before {
.theme-lte .avue-sidebar .el-menu-item.is-active:before,
.theme-lte .avue-sidebar .el-sub-menu__title.is-active:before {
display: none;
}
.theme-lte .avue-sidebar .el-menu-item.is-active i, .theme-lte .avue-sidebar .el-menu-item.is-active span, .theme-lte .avue-sidebar .el-sub-menu__title.is-active i, .theme-lte .avue-sidebar .el-sub-menu__title.is-active span {
.theme-lte .avue-sidebar .el-menu-item.is-active i,
.theme-lte .avue-sidebar .el-menu-item.is-active span,
.theme-lte .avue-sidebar .el-sub-menu__title.is-active i,
.theme-lte .avue-sidebar .el-sub-menu__title.is-active span {
color: #fff;
}
.theme-cool .el-menu--popup .el-menu-item {
background-color: #fff;
}
.theme-cool .el-menu--popup .el-menu-item i, .theme-cool .el-menu--popup .el-menu-item span {
.theme-cool .el-menu--popup .el-menu-item i,
.theme-cool .el-menu--popup .el-menu-item span {
color: #666;
}
.theme-cool .el-menu--popup .el-menu-item:hover i, .theme-cool .el-menu--popup .el-menu-item:hover span {
.theme-cool .el-menu--popup .el-menu-item:hover i,
.theme-cool .el-menu--popup .el-menu-item:hover span {
color: #333;
}
.theme-cool .el-menu--popup .el-menu-item.is-active {
background-color: #172e60;
}
.theme-cool .el-menu--popup .el-menu-item.is-active:before {
content: "";
content: '';
top: 0;
left: 0;
bottom: 0;
@ -998,7 +1115,8 @@ a {
background: #172e60;
position: absolute;
}
.theme-cool .el-menu--popup .el-menu-item.is-active i, .theme-cool .el-menu--popup .el-menu-item.is-active span {
.theme-cool .el-menu--popup .el-menu-item.is-active i,
.theme-cool .el-menu--popup .el-menu-item.is-active span {
color: #fff;
}
.theme-cool .avue-top {
@ -1059,25 +1177,38 @@ a {
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.15);
background-color: #fff;
}
.theme-cool .avue-sidebar .el-menu-item, .theme-cool .avue-sidebar .el-sub-menu__title {
.theme-cool .avue-sidebar .el-menu-item,
.theme-cool .avue-sidebar .el-sub-menu__title {
font-size: 13px;
}
.theme-cool .avue-sidebar .el-menu-item i, .theme-cool .avue-sidebar .el-menu-item span, .theme-cool .avue-sidebar .el-sub-menu__title i, .theme-cool .avue-sidebar .el-sub-menu__title span {
.theme-cool .avue-sidebar .el-menu-item i,
.theme-cool .avue-sidebar .el-menu-item span,
.theme-cool .avue-sidebar .el-sub-menu__title i,
.theme-cool .avue-sidebar .el-sub-menu__title span {
color: #000;
}
.theme-cool .avue-sidebar .el-menu-item:hover, .theme-cool .avue-sidebar .el-sub-menu__title:hover {
.theme-cool .avue-sidebar .el-menu-item:hover,
.theme-cool .avue-sidebar .el-sub-menu__title:hover {
background: transparent;
}
.theme-cool .avue-sidebar .el-menu-item:hover i, .theme-cool .avue-sidebar .el-menu-item:hover span, .theme-cool .avue-sidebar .el-sub-menu__title:hover i, .theme-cool .avue-sidebar .el-sub-menu__title:hover span {
.theme-cool .avue-sidebar .el-menu-item:hover i,
.theme-cool .avue-sidebar .el-menu-item:hover span,
.theme-cool .avue-sidebar .el-sub-menu__title:hover i,
.theme-cool .avue-sidebar .el-sub-menu__title:hover span {
color: #000;
}
.theme-cool .avue-sidebar .el-menu-item.is-active, .theme-cool .avue-sidebar .el-sub-menu__title.is-active {
.theme-cool .avue-sidebar .el-menu-item.is-active,
.theme-cool .avue-sidebar .el-sub-menu__title.is-active {
background-color: #e5f1fb;
}
.theme-cool .avue-sidebar .el-menu-item.is-active::before, .theme-cool .avue-sidebar .el-sub-menu__title.is-active::before {
.theme-cool .avue-sidebar .el-menu-item.is-active::before,
.theme-cool .avue-sidebar .el-sub-menu__title.is-active::before {
width: 0;
}
.theme-cool .avue-sidebar .el-menu-item.is-active i, .theme-cool .avue-sidebar .el-menu-item.is-active span, .theme-cool .avue-sidebar .el-sub-menu__title.is-active i, .theme-cool .avue-sidebar .el-sub-menu__title.is-active span {
.theme-cool .avue-sidebar .el-menu-item.is-active i,
.theme-cool .avue-sidebar .el-menu-item.is-active span,
.theme-cool .avue-sidebar .el-sub-menu__title.is-active i,
.theme-cool .avue-sidebar .el-sub-menu__title.is-active span {
color: #25aff3;
}
.theme-cool .top-search .el-input__inner {
@ -1113,19 +1244,34 @@ a {
.theme-beautiful .avue-sidebar {
background: linear-gradient(90deg, #006cff, #399efd) !important;
}
.theme-beautiful .avue-sidebar .el-menu-item, .theme-beautiful .avue-sidebar .el-sub-menu__title {
.theme-beautiful .avue-sidebar .el-menu-item,
.theme-beautiful .avue-sidebar .el-sub-menu__title {
background: linear-gradient(90deg, #006cff, #399efd) !important;
}
.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;
}
.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 .is-active,
.theme-beautiful .avue-sidebar .el-sub-menu__title .is-active {
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 {
background: #399efd !important;
}
.theme-beautiful .avue-sidebar .el-menu-item:hover i, .theme-beautiful .avue-sidebar .el-menu-item:hover span, .theme-beautiful .avue-sidebar .el-menu-item.is-active i, .theme-beautiful .avue-sidebar .el-menu-item.is-active span, .theme-beautiful .avue-sidebar .el-sub-menu__title:hover i, .theme-beautiful .avue-sidebar .el-sub-menu__title:hover span, .theme-beautiful .avue-sidebar .el-sub-menu__title.is-active i, .theme-beautiful .avue-sidebar .el-sub-menu__title.is-active span {
.theme-beautiful .avue-sidebar .el-menu-item:hover i,
.theme-beautiful .avue-sidebar .el-menu-item:hover span,
.theme-beautiful .avue-sidebar .el-menu-item.is-active i,
.theme-beautiful .avue-sidebar .el-menu-item.is-active span,
.theme-beautiful .avue-sidebar .el-sub-menu__title:hover i,
.theme-beautiful .avue-sidebar .el-sub-menu__title:hover span,
.theme-beautiful .avue-sidebar .el-sub-menu__title.is-active i,
.theme-beautiful .avue-sidebar .el-sub-menu__title.is-active span {
background: #399efd !important;
}
.theme-beautiful .avue-logo {
@ -1356,7 +1502,7 @@ pre {
* 设置一致的引用格式
*/
q {
quotes: "“" "”" "‘" "’";
quotes: '“' '”' '‘' '’';
}
/**
@ -1512,9 +1658,9 @@ select {
* 3. 改善图片类型的 'input' 等光标样式的可用性与一致性
*/
button,
html input[type=button],
input[type=reset],
input[type=submit] {
html input[type='button'],
input[type='reset'],
input[type='submit'] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
@ -1536,8 +1682,8 @@ html input[disabled] {
* 1. 处理 IE 8/9 中设置为 'content-box' 的盒子模型
* 2. 删除 IE 8/9 中多余的内边距
*/
input[type=checkbox],
input[type=radio] {
input[type='checkbox'],
input[type='radio'] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
@ -1551,7 +1697,7 @@ input[type=radio] {
* 2. 处理 Safari 5 Chrome 中默认设置为 'box-sizing' 'border-box'
* (包括不会过时的 '-moz').
*/
input[type=search] {
input[type='search'] {
-webkit-appearance: textfield; /* 1 */ /* 2 */
box-sizing: content-box;
}
@ -1562,8 +1708,8 @@ input[type=search] {
*
* 删除 Safari 5 OS X 上的 Chrome 中的输入框上的内边距和搜索取消按钮
*/
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
}
@ -1605,15 +1751,15 @@ table {
border-spacing: 0;
}
[class^=icon-] {
font-family: "iconfont" !important;
[class^='icon-'] {
font-family: 'iconfont' !important;
font-size: 18px !important;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.el-menu-item [class^=icon-] {
.el-menu-item [class^='icon-'] {
margin-right: 5px;
width: 24px;
text-align: center;
@ -1621,7 +1767,7 @@ table {
vertical-align: middle;
}
.el-sub-menu [class^=icon-] {
.el-sub-menu [class^='icon-'] {
vertical-align: middle;
margin-right: 5px;
width: 24px;
@ -1636,7 +1782,7 @@ table {
width: 100%;
height: 100%;
margin: 0 auto;
background-image: url("/img/bg/bg.jpg");
background-image: url('/img/bg/bg.jpg');
background-size: 100% 100%;
}
@ -1725,6 +1871,7 @@ table {
font-size: 22px;
text-align: center;
letter-spacing: 4px;
padding-right: 50px;
}
.login-menu {
@ -1749,7 +1896,7 @@ table {
color: #172e60;
cursor: pointer;
margin-top: 30px;
font-family: "neo";
font-family: 'neo';
transition: 0.25s;
}
@ -1871,4 +2018,4 @@ table {
::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: hsla(220, 4%, 58%, 0.3);
}/*# sourceMappingURL=common.css.map */
} /*# sourceMappingURL=common.css.map */

6
src/page/index/index.vue

@ -116,3 +116,9 @@ export default {
},
};
</script>
<style lang='scss'>
.el-card__body{
padding:10px !important;
}
</style>

8
src/page/login/userlogin.vue

@ -336,19 +336,19 @@ export default {
border-radius: 4px;
}
.login-main {
position: reactive;
position: relative;
}
.login-logo {
position: absolute;
right: 60px;
top: 82px;
right: 70px;
top: 66px;
img {
width: 60px;
height: 60px;
}
}
.login-title {
padding-right: 16px;
padding-right: 50px;
}
.inputLog span {
justify-content: flex-end;

9
src/styles/common.scss

@ -9,6 +9,15 @@
height: 30px !important;
}
}
.basic-container__card{
.el-card__body:first-of-type {
padding: 5px !important ;
}
}
.avue-crud__pagination {
padding: 0 0;
padding-top: 5px;
}
a {
text-decoration: none;
color: #333;

3
src/styles/flowStyle.scss

@ -1,7 +1,6 @@
.bx {
position: relative;
margin-left: 7.5%;
margin-top: 2%;
margin-top: 10px;
.ztjk {
display: flex;
flex-direction: column;

1
src/styles/login.scss

@ -95,6 +95,7 @@
font-size: 30px;
text-align: center;
letter-spacing: 4px;
padding-right: 50px;
}
.login-menu {

17
src/views/basic/deline/basicDeline.vue

@ -283,4 +283,19 @@ export default {
};
</script>
<style></style>
<style scoped lang="scss">
:deep(.avue-form__group) {
width: 100%;
align-items: flex-start;
flex-wrap: wrap;
height: auto;
display: flex;
justify-content: space-between;
}
.avue-crud__left {
.el-button {
margin-left: 0;
margin-right: 8px;
}
}
</style>

6
src/views/basic/material/basicMaterial.vue

@ -317,5 +317,9 @@
};
</script>
<style>
<style scoped lang='scss'>
:deep(.no-print ){
margin-left: auto !important;
}
</style>

6
src/views/basic/printTemplate/basicPrintTemplate.vue

@ -343,4 +343,10 @@ export default {
.el-form-item {
margin-right: 30px;
}
.avue-crud__left {
.el-button {
margin-left: 0;
margin-right: 8px;
}
}
</style>

5
src/views/basic/property/basicProperty.vue

@ -251,5 +251,8 @@ export default {
};
</script>
<style>
<style scoped lang='scss'>
:deep(.no-print ){
margin-left: auto !important;
}
</style>

6
src/views/basic/property/basicPropertyDetails.vue

@ -637,4 +637,8 @@ export default {
};
</script>
<style></style>
<style scoped lang='scss'>
:deep(.no-print ){
margin-left: auto !important;
}
</style>

5
src/views/basicdata/brand/basicdataBrandCategory.vue

@ -230,5 +230,8 @@
};
</script>
<style>
<style scoped lang='scss'>
:deep(.no-print){
margin-left:auto;
}
</style>

8
src/views/basicdata/brand/basicdataCategory.vue

@ -305,5 +305,11 @@
};
</script>
<style>
<style scoped lang='scss'>
:deep(.no-print){
margin-left: auto;
}
:deep(.el-form-item__label){
width: auto !important;
}
</style>

12
src/views/basicdata/brand/basicdataFreight.vue

@ -684,4 +684,14 @@ export default {
};
</script>
<style></style>
<style scoped lang='scss'>
:deep(.el-form-item__content){
}
:deep(.avue-form__row){
margin-left:10px;
max-width:300px!important;
}
:deep(.no-print){
margin-left:auto;
}
</style>

6
src/views/basicdata/brand/basicdataSupportValue.vue

@ -473,4 +473,8 @@ export default {
};
</script>
<style></style>
<style scoped lang='scss'>
:deep(.avue-form__group){
justify-content: space-between;
}
</style>

410
src/views/basicdata/carrier/basicdataCarrier.vue

@ -1,244 +1,246 @@
<template>
<basic-container>
<avue-crud :option="option"
v-model:search="search"
v-model:page="page"
v-model="form"
:table-loading="loading"
:data="data"
:permission="permissionList"
:before-open="beforeOpen"
ref="crud"
@row-update="rowUpdate"
@row-save="rowSave"
@row-del="rowDel"
@search-change="searchChange"
@search-reset="searchReset"
@selection-change="selectionChange"
@current-change="currentChange"
@size-change="sizeChange"
@refresh-change="refreshChange"
@on-load="onLoad">
<avue-crud
:option="option"
v-model:search="search"
v-model:page="page"
v-model="form"
:table-loading="loading"
:data="data"
:permission="permissionList"
:before-open="beforeOpen"
ref="crud"
@row-update="rowUpdate"
@row-save="rowSave"
@row-del="rowDel"
@search-change="searchChange"
@search-reset="searchReset"
@selection-change="selectionChange"
@current-change="currentChange"
@size-change="sizeChange"
@refresh-change="refreshChange"
@on-load="onLoad"
>
<template #menu-left>
<el-button type="danger"
icon="el-icon-delete"
plain
v-if="permission.basicdataCarrier_delete"
@click="handleDelete">
<el-button
type="danger"
icon="el-icon-delete"
plain
v-if="permission.basicdataCarrier_delete"
@click="handleDelete"
>
</el-button>
<!-- <el-button type="warning"-->
<!-- plain-->
<!-- icon="el-icon-download"-->
<!-- @click="handleExport"> -->
<!-- </el-button>-->
<!-- <el-button type="warning"-->
<!-- plain-->
<!-- icon="el-icon-download"-->
<!-- @click="handleExport"> -->
<!-- </el-button>-->
</template>
</avue-crud>
</basic-container>
</template>
<script>
import {getList, getDetail, add, update, remove} from "@/api/basicdata/basicdataCarrier";
import option from "@/option/basicdata/basicdataCarrier";
import {mapGetters} from "vuex";
import {exportBlob} from "@/api/common";
import {getToken} from '@/utils/auth';
import {downloadXls} from "@/utils/util";
import {dateNow} from "@/utils/date";
import NProgress from 'nprogress';
import 'nprogress/nprogress.css';
import { getList, getDetail, add, update, remove } from '@/api/basicdata/basicdataCarrier';
import option from '@/option/basicdata/basicdataCarrier';
import { mapGetters } from 'vuex';
import { exportBlob } from '@/api/common';
import { getToken } from '@/utils/auth';
import { downloadXls } from '@/utils/util';
import { dateNow } from '@/utils/date';
import NProgress from 'nprogress';
import 'nprogress/nprogress.css';
export default {
data() {
export default {
data() {
return {
form: {},
query: {},
search: {},
loading: true,
page: {
pageSize: 30,
currentPage: 1,
total: 0,
},
selectionList: [],
option: option,
data: [],
};
},
computed: {
...mapGetters(['permission']),
permissionList() {
return {
form: {},
query: {},
search: {},
loading: true,
page: {
pageSize: 30,
currentPage: 1,
total: 0
},
selectionList: [],
option: option,
data: []
addBtn: this.validData(this.permission.basicdataCarrier_add, false),
viewBtn: this.validData(this.permission.basicdataCarrier_view, false),
delBtn: this.validData(this.permission.basicdataCarrier_delete, false),
editBtn: this.validData(this.permission.basicdataCarrier_edit, false),
};
},
computed: {
...mapGetters(["permission"]),
permissionList() {
return {
addBtn: this.validData(this.permission.basicdataCarrier_add, false),
viewBtn: this.validData(this.permission.basicdataCarrier_view, false),
delBtn: this.validData(this.permission.basicdataCarrier_delete, false),
editBtn: this.validData(this.permission.basicdataCarrier_edit, false)
};
},
ids() {
let ids = [];
this.selectionList.forEach(ele => {
ids.push(ele.id);
});
return ids.join(",");
}
ids() {
let ids = [];
this.selectionList.forEach(ele => {
ids.push(ele.id);
});
return ids.join(',');
},
methods: {
rowSave(row, done, loading) {
add(row).then(() => {
},
methods: {
rowSave(row, done, loading) {
add(row).then(
() => {
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
type: 'success',
message: '操作成功!',
});
done();
}, error => {
},
error => {
loading();
window.console.log(error);
});
},
rowUpdate(row, index, done, loading) {
update(row).then(() => {
}
);
},
rowUpdate(row, index, done, loading) {
update(row).then(
() => {
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
type: 'success',
message: '操作成功!',
});
done();
}, error => {
},
error => {
loading();
console.log(error);
});
},
rowDel(row) {
this.$confirm("确定将选择数据删除?", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
return remove(row.id);
})
.then(() => {
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
});
});
},
handleDelete() {
if (this.selectionList.length === 0) {
this.$message.warning("请选择至少一条数据");
return;
}
this.$confirm("确定将选择数据删除?", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
);
},
rowDel(row) {
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
})
.then(() => {
return remove(row.id);
})
.then(() => {
return remove(this.ids);
})
.then(() => {
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
});
this.$refs.crud.toggleSelection();
.then(() => {
this.onLoad(this.page);
this.$message({
type: 'success',
message: '操作成功!',
});
},
handleExport() {
let downloadUrl = `/blade-basicdataCarrier/basicdataCarrier/export-basicdataCarrier?${this.website.tokenHeader}=${getToken()}`;
const {
type,
number,
groupId,
head,
} = this.query;
let values = {
type_equal: type,
number_equal: number,
groupId_equal: groupId,
head_like: head,
};
this.$confirm("是否导出数据?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(() => {
NProgress.start();
exportBlob(downloadUrl, values).then(res => {
downloadXls(res.data, `承运商信息${dateNow()}.xlsx`);
NProgress.done();
})
});
},
beforeOpen(done, type) {
if (["edit", "view"].includes(type)) {
getDetail(this.form.id).then(res => {
this.form = res.data.data;
},
handleDelete() {
if (this.selectionList.length === 0) {
this.$message.warning('请选择至少一条数据');
return;
}
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
})
.then(() => {
return remove(this.ids);
})
.then(() => {
this.onLoad(this.page);
this.$message({
type: 'success',
message: '操作成功!',
});
}
done();
},
searchReset() {
this.query = {};
this.onLoad(this.page);
},
searchChange(params, done) {
this.query = params;
this.page.currentPage = 1;
this.onLoad(this.page, params);
done();
},
selectionChange(list) {
this.selectionList = list;
},
selectionClear() {
this.selectionList = [];
this.$refs.crud.toggleSelection();
},
currentChange(currentPage){
this.page.currentPage = currentPage;
},
sizeChange(pageSize){
this.page.pageSize = pageSize;
},
refreshChange() {
this.onLoad(this.page, this.query);
},
onLoad(page, params = {}) {
this.loading = true;
this.$refs.crud.toggleSelection();
});
},
handleExport() {
let downloadUrl = `/blade-basicdataCarrier/basicdataCarrier/export-basicdataCarrier?${
this.website.tokenHeader
}=${getToken()}`;
const { type, number, groupId, head } = this.query;
let values = {
type_equal: type,
number_equal: number,
groupId_equal: groupId,
head_like: head,
};
this.$confirm('是否导出数据?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
NProgress.start();
exportBlob(downloadUrl, values).then(res => {
downloadXls(res.data, `承运商信息${dateNow()}.xlsx`);
NProgress.done();
});
});
},
beforeOpen(done, type) {
if (['edit', 'view'].includes(type)) {
getDetail(this.form.id).then(res => {
this.form = res.data.data;
});
}
done();
},
searchReset() {
this.query = {};
this.onLoad(this.page);
},
searchChange(params, done) {
this.query = params;
this.page.currentPage = 1;
this.onLoad(this.page, params);
done();
},
selectionChange(list) {
this.selectionList = list;
},
selectionClear() {
this.selectionList = [];
this.$refs.crud.toggleSelection();
},
currentChange(currentPage) {
this.page.currentPage = currentPage;
},
sizeChange(pageSize) {
this.page.pageSize = pageSize;
},
refreshChange() {
this.onLoad(this.page, this.query);
},
onLoad(page, params = {}) {
this.loading = true;
const {
type,
number,
groupId,
head,
} = this.query;
const { type, number, groupId, head } = this.query;
let values = {
type_equal: type,
number_equal: number,
groupId_equal: groupId,
head_like: head,
};
let values = {
type_equal: type,
number_equal: number,
groupId_equal: groupId,
head_like: head,
};
getList(page.currentPage, page.pageSize, values).then(res => {
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
this.loading = false;
this.selectionClear();
});
}
}
};
getList(page.currentPage, page.pageSize, values).then(res => {
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
this.loading = false;
this.selectionClear();
});
},
},
};
</script>
<style scoped lang="scss">
:deep(.el-form-item__label){
width: 100px !important;
:deep(.el-form-item__label) {
width: auto !important;
}
</style>

31
src/views/basicdata/team/basicdataTeamGroup.vue

@ -1,17 +1,19 @@
<template>
<basic-container>
<div class="avue-crud">
<el-row v-if="!search" style="padding: 6px 18px">
<el-row v-if="!search">
<!-- 查询模块 -->
<el-form :inline="true" :model="query">
<!-- <el-form-item label="仓库名称:">-->
<!-- <el-input v-model="query.warehouseName" placeholder="请输入仓库名称"></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="班组名称:">
<el-input v-model="query.groupName" placeholder="请输入班组名称"></el-input>
</el-form-item>
<el-form :inline="true" :model="query" class="fr-fo">
<div class="el-fr">
<!-- <el-form-item label="仓库名称:">-->
<!-- <el-input v-model="query.warehouseName" placeholder="请输入仓库名称"></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="班组名称:">
<el-input v-model="query.groupName" placeholder="请输入班组名称"></el-input>
</el-form-item>
</div>
<!-- 查询按钮 -->
<el-form-item>
<el-form-item class="el-so">
<el-button type="primary" icon="el-icon-search" @click="searchChange"> </el-button>
<el-button icon="el-icon-delete" @click="searchReset()"> </el-button>
</el-form-item>
@ -589,3 +591,14 @@ export default {
},
};
</script>
<style scoped lang="scss">
.fr-fo {
width: 100%;
display: flex;
justify-content: space-between;
}
.el-so {
margin-right: 0;
}
</style>

6
src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue

@ -551,4 +551,8 @@ export default {
};
</script>
<style></style>
<style scoped lang='scss'>
:deep(.no-print){
margin-right:auto;
}
</style>

23
src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue

@ -1,12 +1,14 @@
<template>
<basic-container>
<div class="avue-crud">
<el-row v-if="!search" style="padding: 6px 18px">
<el-row v-if="!search">
<!-- 查询模块 -->
<el-form :inline="true" :model="query">
<el-form :inline="true" :model="query" style='width:100%'>
<!-- 查询按钮 -->
<el-form-item>
<el-col>
<el-form-item class='fr-fo'>
<el-col class='el-sl'>
<div>
<el-form-item label="启用状态:" prop="areaStatus">
<!-- <el-input v-model="form.areaStatus" placeholder="请输入货区状态;1-启用,2-禁用"/>-->
<el-select
@ -40,10 +42,13 @@
</el-option>
</el-select>
</el-form-item>
</div>
<div>
<el-button type="primary" icon="el-icon-search" @click="searchChange"
> </el-button
>
<el-button icon="el-icon-delete" @click="searchReset()"> </el-button>
</div>
</el-col>
</el-form-item>
</el-form>
@ -847,3 +852,13 @@ export default {
},
};
</script>
<style scoped lang='scss'>
.fr-fo{
width:100%;
}
.el-sl{
display:flex;
justify-content: space-between;
}
</style>

26
src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue

@ -1,13 +1,14 @@
<template>
<basic-container>
<div class="avue-crud">
<el-row v-if="!search" style="padding: 6px 18px">
<el-row v-if="!search">
<!-- 查询模块 -->
<el-form :inline="true" :model="query">
<el-form :inline="true" :model="query" style='width:100%'>
<!-- 查询按钮 -->
<el-form-item>
<el-row>
<el-col>
<el-form-item class='el-lo'>
<el-row style='width:100%'>
<el-col class='el-ls'>
<div>
<el-form-item label="货区:" prop="info">
<!-- <el-cascader :options="optioner" :show-all-levels="false" clearable >-->
<el-cascader
@ -23,11 +24,13 @@
<el-form-item label="货架名称" prop="info">
<el-input v-model="query.goodsShelfName" placeholder="请输入货架名称" />
</el-form-item>
</div>
<div>
<el-button type="primary" icon="el-icon-search" @click="searchChange"
> </el-button
>
<el-button icon="el-icon-delete" @click="searchReset()"> </el-button>
</div>
</el-col>
</el-row>
</el-form-item>
@ -1476,8 +1479,17 @@ export default {
},
};
</script>
<style>
<style scoped lang='scss'>
/*.el-cascader__dropdown .el-cascader-menu:first-child .el-cascader-node label{*/
/* display:none;*/
/*}*/
.el-lo{
width:100%;
}
.el-ls{
display: flex;
justify-content: space-between;
}
</style>

2
src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue

@ -2293,7 +2293,7 @@ const {
margin-left: 10px;
}
.asbor {
width: 100px;
width: auto;
}
}
}

Loading…
Cancel
Save