gaoluyang
2025-03-18 b2639577f119115edb1bb5a67f3d137ddb3be6c6
1.成品下单-退回可以重新提交
2.侧边栏样式修改
已修改3个文件
36 ■■■■ 文件已修改
src/assets/styles/sidebar.scss 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Sidebar/SidebarItem.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/productOrder/components/add.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/styles/sidebar.scss
@@ -109,11 +109,11 @@
  .hideSidebar {
    .sidebar-container {
      width: 54px !important;
      width: 70px !important;
    }
    .main-container {
      margin-left: 54px;
      margin-left: 70px;
    }
    .submenu-title-noDropdown {
@@ -124,7 +124,9 @@
        padding: 0 !important;
        .svg-icon {
          margin-left: 20px;
          width: 1.5em;
          height: 1.5em;
          margin-left: 25px;
        }
      }
    }
@@ -136,7 +138,9 @@
        padding: 0 !important;
        .svg-icon {
          margin-left: 20px;
          width: 1.5em;
          height: 1.5em;
          margin-left: 25px;
        }
      }
@@ -145,12 +149,16 @@
    .el-menu--collapse {
      .el-submenu {
        &>.el-submenu__title {
          height: auto; /* 根据内容自动调整高度 */
          flex-direction: column; /* 改变布局方向为垂直 */
          align-items: center; /* 居中对齐 */
          margin-bottom: 10px;
          &>span {
            height: 0;
            width: 0;
            overflow: hidden;
            visibility: hidden;
            display: inline-block;
            display: block !important;
            visibility: visible !important;
            white-space: normal; /* 允许换行 */
            text-align: center; /* 文本居中对齐 */
            line-height: normal;
          }
        }
      }
src/layout/components/Sidebar/SidebarItem.vue
@@ -97,3 +97,8 @@
  }
}
</script>
<style scoped>
::v-deep .el-submenu__title i {
  color: #ffffff !important;
}
</style>
src/views/business/productOrder/components/add.vue
@@ -1130,7 +1130,9 @@
            sampleList.forEach(a => {
              if (a.insProduct.length > 0) {
                a.insProduct.forEach(c => {
                  if (this.tabIndex != 4) {
                  delete c.id
                  }
                })
              }
              if (a.endModels) {
@@ -1168,7 +1170,9 @@
          sampleList.forEach(a => {
            if (a.insProduct.length > 0) {
              a.insProduct.forEach(c => {
                if (this.tabIndex != 4) {
                delete c.id
                }
              })
            }
            if (a.endModels) {
@@ -1657,7 +1661,6 @@
      },
      tableRowClassName({row, rowIndex}) {
        if (row.state == 1) {
          console.log('row.state---', row.state)
          return 'warning-row';
        } else {
          return '';