@import "~antd/lib/style/themes/default.less";

.returnOrderEidtBox {
  width: 1200px;
  margin: 0 auto;
}
.classHead {
  width: 100%;
  height: 36px;
  background: #f5f5f5;
  padding: 8px 0 10px 20px;
  & .nameIndex {
    color: #666;
    font-size: 12px;
  }
  & .nameChild {
    font-size: 12px;
    color: #151515;
    padding-left: 14px;
    & .nameIcon {
      padding-right: 5px;
    }
  }
}
// 供应商
.supplierBox {
  margin-top: 10px;
  height: 50px;
  padding: 15px 20px;
  background: #f5f5f5;
  width: 100%;
  & .name {
    font-size: 14px;
    color: #333;
    display: inline-block;
    font-weight: bold;
  }
  & .supplierSelect {
    width: 160px;
    height: 30px;
    margin-left: 10px;
    :global {
      & .ant-select-selection--single {
        height: 30px;
      }
    }
  }
}
// 订单信息
.orderInfoBox {
  background: #fff;
  border: 1px solid #f5f5f5;
  padding: 20px;
}
.consigneeInfo {
  border-bottom: 2px solid rgba(215, 215, 215, 0.5);
  padding-bottom: 10px;
  & .consigneeInfoTxt {
    font-size: 14px;
    color: #333;
    font-weight: bold;
  }
}
.addressListBox {
  overflow: auto;
  max-height: 150px;
  width: 100%;
  &::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
  }
  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    background: #9e9e9e;
  }
  &::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    border-radius: 17px;
    background: #e0e0e0;
  }
  // & .scrollbar {
  //   height: 500px;
  // }
  & .addressList {
    list-style-type: none;
    margin: 0;
    padding: 0 30px;
    & .addressItem {
      list-style-type: none;
      margin: 0;
      padding: 0;
      height: 30px;
      margin-bottom: 10px;
      & .name {
        display: inline-block;
        border: 1px solid #e0e0e0;
        width: 120px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        font-size: 12px;
        color: #666;
        cursor: pointer;
      }
      // &:first-child {
      //   background: none;
      //   & .infoBox {
      //     &:hover {
      //       background: none;
      //     }
      //   }
      // }
      & .infoBox {
        padding-left: 15px;
        padding-right: 20px;
        height: 28px;
        width: 950px;
        display: inline-block;
        &:hover {
          background: rgba(224, 76, 70, 0.1);
          & .setDefault {
            display: block;
          }
        }
      }
      & .addressTxt {
        line-height: 30px;
        font-size: 12px;
        color: #666;
      }
      & .phoneNumber {
        font-size: 12px;
        color: #2a2a2a;
        display: inline-block;
        line-height: 30px;
        padding-left: 20px;
      }
      & .defaultBtn {
        width: 80px;
        height: 22px;
        line-height: 22px;
        text-align: center;
        background: #999;
        color: #fff;
        font-size: 12px;
        margin-left: 40px;
        display: inline-block;
      }
      & .defaultAdr {
        float: right;
        line-height: 30px;
        font-size: 12px;
        color: #0544a4;
        cursor: pointer;
        display: none;
      }
      & .setDefault {
        float: right;
        line-height: 30px;
        font-size: 12px;
        color: #0544a4;
        cursor: pointer;
        display: none;
      }
    }
  }
}
.showBtn {
  display: block;
  width: 75px;
  line-height: 25px;
  color: #333;
  font-size: 12px;
  margin-left: 30px;
  cursor: pointer;
  & .icon {
    padding-left: 10px;
  }
}
// 退货信息
.logisticsSettlement {
  border-bottom: 2px solid rgba(215, 215, 215, 0.5);
  margin-top: 10px;
  padding-bottom: 20px;
  &:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  & .logisticsSettlementTxt {
    font-size: 14px;
    color: #333;
    font-weight: bold;
  }
  & .returnInfo {
    width: 90%;
    .returnRow {
      line-height: 30px;
      padding: 10px 0;
      .returnLabel {
        text-align: right;
        padding-right: 5px;
        font-size: 12px;
        color: #666;
      }
      .iptBox,
      .selectBox,
      .datePickerBox {
        height: 30px;
        width: 100%;
      }
      .btnBox {
        background: #e56968;
        border-radius: 0;
        width: 60px;
        height: 30px;
        text-align: center;
        font-size: 12px;
        color: #fff;
        border: none;
      }
      .headUpload {
        color: #999;
        // 上传组件样式调整
        :global {
          .ant-upload.ant-upload-select {
            float: left;
          }
          .ant-upload-list-item {
            margin-top: 0;
            height: 30px;
            line-height: 30px;
            display: inline-block;
            width: 125px;
            margin-left: 10px;
            .ant-upload-list-item-info {
              padding: 0;
              width: 110px;
              .anticon-paper-clip {
                top: 8px;
              }
              .anticon-paper-clip,
              .ant-upload-list-item-name {
                font-size: 12px;
                color: #999;
              }
            }
            .anticon-cross {
              top: 6px;
              right: 1px;
            }
          }
        }
      }
      .uploadTip {
        font-size: 10px;
        color: #999;
      }
    }
  }
  & .logistics {
    margin-top: 10px;
    padding-left: 30px;
    & .logisticsItem {
      display: inline-block;
      margin-right: 20px;
      & .name {
        line-height: 30px;
        display: inline-block;
        font-size: 12px;
        color: #666;
      }
      & .selectBox {
        width: 120px;
        margin-left: 10px;
        font-size: 12px;
        color: #333;
      }
    }
    :global {
      .ant-select-arrow {
        color: #333;
      }
    }
  }
}
// 发票信息
.invoiceInfo {
  margin: 0;
  padding: 0;
  color: #666;
  font-size: 12px;
  & em {
    color: #666;
  }
  & .taxpayersNum {
    text-align: right;
    color: #151515;
  }
  & .bank {
    text-align: right;
    color: #151515;
  }
  & .account {
    text-align: right;
    color: #151515;
  }
  & .selectBtn {
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    color: #0544a4;
  }
  :global {
    .ant-col-4 {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}
// 期望到货
.arrival {
  margin-top: 10px;
  padding-left: 30px;
  :global {
    & .ant-input {
      height: 30px;
    }
  }
  & .datePickerBox {
    width: 160px;
    height: 30px;
    margin-right: 20px;
  }
  & .iptBox {
    width: 800px;
    height: 30px;
  }
}
// 新增按钮
.addGoodsBtn {
  background: #e56968;
  border-radius: 0;
  width: 100px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  color: #fff;
  border-color: #ed786f;
  font-size: 12px;
  margin-top: 20px;
  margin-bottom: 10px;
  cursor: pointer;
  & .icon {
    font-size: 16px;
  }
}
// 订单商品信息
.orderGoodsFooter {
  margin-top: 20px;
}
.orderGoodsTotal {
  padding-top: 20px;
  width: 100%;
  background: #fff;
  .totalDealAmount {
    text-align: right;
    padding-bottom: 10px;
    color: #666;
    .valueBox {
      font-size: 24px;
      color: rgb(216, 23, 25);
      width: 165px;
      display: inline-block;
    }
  }
}
.infoSearchCon {
  width: 500px;
  :global {
    .ant-layout {
      background: #fff;
      .ant-layout-header {
        background: #fff;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
      }
      .ant-col-4:first-child {
        padding-left: 20px;
      }
      .ant-col-6 {
        text-align: right;
      }
    }
  }
}
// 操作按钮
.btnBox {
  background: #fafafa;
  & .cancelBtn {
    float: right;
    height: 50px;
    background: #fff;
    cursor: pointer;
    & .btn {
      &:last-child {
        margin-right: 0;
        background: #e14c46;
        color: #fff;
      }
      display: inline-block;
      width: 120px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      margin-right: 10px;
      background: #eee;
      color: #333;
      font-size: 16px;
      border: none;
      border-radius: 0;
    }
  }
}
