<template>
  <div>
    <div class="topbar">
      <div class="topbar_left" @click="goback">
        <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-fanhui"></use>
        </svg>
      </div>
      <div class="topbar_middle">
        SC190907001缝纫组
      </div>
      <div class="topbar_right">
        <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-caidan"></use>
        </svg>
      </div>
    </div>

    <div id="content">
      <!-- <div style="font-size:20px;font-weight:bold;padding:10px 20px">缝纫组</div> -->
      <div class="subtitle_dt">工序进度</div>
      <div class="jindu_wkpmx">
        <div
          style="display:flex;font-size:14px;margin-top:5px;border-bottom: 1px solid #eee;padding:0 0 5px 0;color:#666">
          <div style="flex:0 0 25%;text-align: center;">工序</div>
          <div style="flex:0 0 25%;text-align: center;">计划数</div>
          <div style="flex:0 0 25%;text-align: center;">已派工数</div>
          <div style="flex:0 0 25%;text-align: center;">完工数</div>
        </div>

        <div style="display:flex;margin-top:5px;border-bottom: 1px solid #eee;line-height:35px;font-size:14px;">
          <div style="flex:0 0 25%;text-align: center;">缝纫</div>
          <div style="flex:0 0 25%;text-align: center;">100</div>
          <div style="flex:0 0 25%;text-align: center;">100</div>
          <div style="flex:0 0 25%;text-align: center;">80</div>
        </div>

        <div style="display:flex;margin-top:5px;border-bottom: 1px solid #eee;line-height:35px;font-size:14px;">
          <div style="flex:0 0 25%;text-align: center;">拼缝+围带</div>
          <div style="flex:0 0 25%;text-align: center;">100</div>
          <div style="flex:0 0 25%;text-align: center;">100</div>
          <div style="flex:0 0 25%;text-align: center;">0</div>
        </div>
 
        <div style="display:flex;margin-top:5px;border-bottom: 1px solid #eee;line-height:35px;font-size:14px;">
          <div style="flex:0 0 25%;text-align: center;">压双线</div>
          <div style="flex:0 0 25%;text-align: center;">100</div>
          <div style="flex:0 0 25%;text-align: center;">100</div>
          <div style="flex:0 0 25%;text-align: center;">0</div>
        </div>       
      </div>

      <div class="liubai_dt"></div>
      <div class="subtitle_dt">工序派工</div>
      <div class="jindu_wkpmx">
        <div
          style="display:flex;font-size:14px;margin-top:5px;border-bottom: 1px solid #eee;padding:0 0 5px 0;color:#666">
          <div style="flex:0 0 25%;text-align: center;">工序</div>
          <div style="flex:0 0 20%;text-align: center;">工作中心/员工</div>
          <div style="flex:0 0 15%;text-align: center;">派工</div>
          <div style="flex:0 0 15%;text-align: center;">完工</div>
          <div style="flex:0 0 25%;text-align: center;">工期</div>
        </div>

        <div style="display:flex;margin-top:5px;border-bottom: 1px solid #eee;line-height:35px;font-size:14px;">
          <div style="flex:0 0 25%;text-align: center;">缝纫</div>
          <div style="flex:0 0 20%;text-align: center;">司秀英</div>
          <div style="flex:0 0 15%;text-align: center;">100</div>
          <div style="flex:0 0 15%;text-align: center;">80</div>
          <div style="flex:0 0 25%;text-align: center;">9/10</div>
        </div>

        <div style="display:flex;margin-top:5px;border-bottom: 1px solid #eee;line-height:35px;font-size:14px;">
          <div style="flex:0 0 25%;text-align: center;">拼缝+围带</div>
          <div style="flex:0 0 20%;text-align: center;">李秀娟</div>
          <div style="flex:0 0 15%;text-align: center;">50</div>
          <div style="flex:0 0 15%;text-align: center;">0</div>
          <div style="flex:0 0 25%;text-align: center;">9/10~9/11</div>
        </div>
        
        <div style="display:flex;margin-top:5px;border-bottom: 1px solid #eee;line-height:35px;font-size:14px;">
          <div style="flex:0 0 25%;text-align: center;">拼缝+围带</div>
          <div style="flex:0 0 20%;text-align: center;">王秀琴</div>
          <div style="flex:0 0 15%;text-align: center;">50</div>
          <div style="flex:0 0 15%;text-align: center;">0</div>
          <div style="flex:0 0 25%;text-align: center;">9/10~9/11</div>
        </div>

        <div style="display:flex;margin-top:5px;border-bottom: 1px solid #eee;line-height:35px;font-size:14px;">
          <div style="flex:0 0 25%;text-align: center;">压双线</div>
          <div style="flex:0 0 20%;text-align: center;">李秀娟</div>
          <div style="flex:0 0 15%;text-align: center;">100</div>
          <div style="flex:0 0 15%;text-align: center;">0</div>
          <div style="flex:0 0 25%;text-align: center;">9/11</div>
        </div> 
      </div>

      <div class="liubai_dt"></div>

      <div class="subtitle_dt">用料明细</div>
      <div class="jindu_mtrlmx">

        <div class="order_mxmtrl_dt">
          <div>
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-dian"></use>
            </svg>W-119G-1扶手加强铁片 30*30*1.8MM内放孔10*10MM</span>
          </div>
          <div>
            <span style="color:#888">100块,</span>
            <span style="color:#888;margin-left:5px">未领100,库存80</span>
            <span style="color:#f00;font-weight:bold;position:absolute;right:30px">缺料：20</span>
          </div>
        </div>

        <div class="order_mxmtrl_dt">
          <div>
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-dian"></use>
            </svg>大扁头内六角螺丝（高等发黑） M6*20MM</span>
          </div>
          <div>
            <span style="color:#888">100块,</span>
            <span style="color:#888;margin-left:5px">已领80,未领20,库存0</span>
            <span style="color:#f00;font-weight:bold;position:absolute;right:30px">缺料：20</span>
          </div>
        </div>

        <div class="order_mxmtrl_dt">
          <div>
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-dian"></use>
            </svg>自封袋 9*13cm</span>
          </div>
          <div>
            <span style="color:#888">100块,</span>
            <span style="color:#888;margin-left:5px">已领100</span>
            <!-- <span style="color:#f00;font-weight:bold;position:absolute;right:30px">缺料：20</span> -->
          </div>
        </div>

      </div>
    </div>
  </div>

</template>

<script>
  export default {
    methods: {
      goback() {
        {
          history.back();
        }
      }
    }
  }

</script>

<style>
  body {
    margin: 0;
    padding: 0;
    /* background-color: #fff; */
    font-family: "微软雅黑";
    font-size: 15px;
  }

  .liubai_dt {
    width: 100%;
    height: 10px;
    background-color: #f6f6f6;
  }

  .topbar {
    min-height: 44px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    position: fixed;
    width: 100%;
    z-index: 9993;
    display: flex;
    font-size: 18px;
    align-items: center;
    /* color:#fff */
  }

  .topbar_left {
    /* flex: 0 0 %; */
    margin-left: 10px;
  }

  .topbar_middle {
    text-align: center;
    flex: 0 0 85%;
  }

  .topbar_right {
    /* flex: 0 0 10%; */
    position: absolute;
    right: 10px;
  }

  #content {
    position: absolute;
    top: 44px;
    background-color: #fff;
    width: 100%;
    padding-bottom: 30px;
  }

  .order_mxmtrl_dt {
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
    line-height: 22px
  }

  .jindu_wkpmx {
    border-top: 1px solid #f0f0f0;
    /* margin: 0 20px; */
    font-size: 14px;
    line-height: 20px;
    padding: 10px 0;
  }


  .subtitle_dt {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin: 0 20px;
    height: 42px;
    line-height: 43px;
    color: #666
  }

  .jindu_mtrlmx {
    border-top: 1px solid #f0f0f0;
    margin: 0 20px;
    font-size: 14px;
    line-height: 20px;
    padding: 10px 0;
  }

</style>
