You need to sign in before continuing.
index.less 5.17 KB
:global {
  .xly-productionPlan-list {
    .ant-layout-sider {
      width: 38px !important;
      flex: 0 0 38px !important;
      width: 38px !important;
      max-width: 38px !important;
      min-width: 38px !important;
      background-color: #f5f5f5 !important;
      writing-mode: tb-rl;
      text-align: left;
      letter-spacing: 0px;
      line-height: 38px;
      font-size: 12px;
      font-weight: bold;
      border: 1px solid #cfcece;
      padding-top: 30px;
    }
    /* 设置选中行背景色 */
    .processList .selected-record-row td div{
      background: #e6f7ff!important;
    }
    .productPlan{ /* 生产主计划汇总表 */
      overflow: hidden!important;
      .ant-table-expanded-row-fixed {
        width: 100%!important;
      }
      //height: ~"calc((100vh - 10px) - 11px)"!important;
      .topTable .ant-table-content .ant-table-scroll {
        padding-bottom: 30px !important;
      }
      //.topTable{
      //  height: ~'calc(100% - 150px)';
      //}
      .ant-table-row{
        .anticon-right{
          margin: 0!important;
        }
      }
    }
    /* 生产主计划展开从表 */
    .productPlan .ant-table-expanded-row{
      .topTable .ant-table-content .ant-table-scroll {
        height: auto!important;
        //max-height: 200px;
        overflow:auto!important;
        overflow-x: auto!important;/* 嵌套子表不要X轴滚动条 */
      }
      .ant-table-placeholder{
        margin-top: 18px!important;
      }
    }

    /* 设置侧边栏与table距离 */
    .subForm___2sIdI{
      margin-left: 0px!important;
    }
    .processList{
      margin: 0 0 0 10px;
      overflow: unset;
    }
   .mainPlan{
     width: 100%;
    }
    .process{
      a{ margin-bottom: 7px;}
      img{margin-left: -5px}
    }
    .productionCard{
      color: rgba(0, 0, 0, 0.65) !important;
      color: #666;
      padding: 0;
      margin: 5px 10px;
    }
    /* 生产主计划 排程详情 */
    .productionCardInfo{
      margin: 0px 10px;
    }
    .card_title{
      font-weight: bold;
    }
   .ant-card-head{
     display: none;
   }
    .ant-tabs-content .ant-card-head{
      display: block!important;
    }
    .ant-card-body{
      width: 100%;
      padding: 0px!important;
      padding-right: 1px!important;
      overflow: hidden!important;
    }
    .ant-card-grid{
      padding: 5px 10px;
    }
    .card_left{
      width: 100%; /* 80% */
      float: left;
      font-size:12px;
      font-weight: bold;
    }
    .card_left1{
      float:left;
      width: 60%;
    }
    .card_left2{
      float:right;
      width: 40%;
      text-align: right;
    }
    .card_top{
      width: 100%;
    }
    .card_mid{
      font-size: 14px;
      float:left;
      width: 100%;
    }
    .card_bottom{
      width: 100%;
      color:#198ef8 ;
    }
    .card_right{
      width: 10%;
      height:100%;
      line-height: 50px;
      color: #ff0000;
      float: left;
      font-weight: bold;
    }
    /* 排程详情 */
    .card_data{
      width: 50%;
      float: left;
    }
    .card_data_title{
      font-weight: bold;
      padding: 5px 0;
    }
    .card_data_detail{
      font-size: 12px;
    }
    .card_data_char{
      font-size: 12px;
      width: 48%;
      max-height: 60px!important;
      float: right;
    }
    .card_char{
      height: 49px;
      position: relative;
    }
    .card_data_hour{
      position: absolute!important;
      top:43%;
      width: 75%;
      z-index: 1;
      text-align: center;
    }
    .card_char #commonChar{
      margin-bottom: 0px!important;
      margin-top: -3px!important;
      max-height: 49px;
    }
    .card_char_bottom{
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      .limitDateWeight{
        color:#e60012!important;
        font-weight: bold!important;
      }
    }
    /* 不同排程状态样式 */
    .allCard{
     background: #FFF1F0;
    }
    .unCard{
      background: #E6F7FF;
    }
    .defaultCard{
      background:#fff
    }
    .cardSelectedColor{
      background:#fff7e6;
    }

    /* 排程样式调整 */
    .productionCard .ant-card-body{
      max-height: 93px!important;
      overflow: auto!important;
    }
    .card_flex{
      display: flex;
      flex-direction: row;
      font-size:12px;
      font-weight: bold;
      align-items: center;
      height: 36px;
      flex-flow: row wrap;
      justify-content: center;
    }
    .left_card{
      text-align: left;
      width: 70%;
      font-size: 13px;
      height: 100%;
      line-height: 36px;
    }
    .right_card{
      width: 30%;
      text-align: center;
      color: #ff0000;
    }
    .sMaterialsStatusStyle{
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    /* 主计划材料状态 */
    .sMaterialsStatusStyle:hover{
      text-decoration: underline!important;
      text-decoration-color:#1E90FF!important;/* 设置下划线颜色 */
    }
    .planCheckModel[aria-disabled=true]{
      cursor: wait;
    }
  }
  #productionPlanningMaster button{
    width: 60px;
    height: 30px;
    text-align: center;
  }
}
.commonModal{
  button[disabled]{
    cursor: wait;
  }
}
.charContainer{
  background-color: '#fff';
  margin: 0 10px;
  overflow: hidden;
}