<template>
  <div>
    <div class="about_topbar">
      <div class="about_topbar_left">
        <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-fanhui"></use>
        </svg>
      </div>
      <div class="about_topbar_middle">
        木工组 8月1日
      </div>
      <div class="about_topbar_right">

      </div>
    </div>
    <div class="about_wrap">
      <div
        style="display:flex;font-size:14px;margin-top:5px;border-bottom: 1px solid #eee;padding:0 0 5px 0;color:#666;line-height:35px;">
        <div style="flex:0 0 35%;text-align: center;">指令单号</div>
        <div style="flex:0 0 35%;text-align: center;">产品名称</div>
        <div style="flex:0 0 15%;text-align: center;">工时数</div>
        <div style="flex:0 0 10%;text-align: center;">占比</div>
      </div>

      <div
        style="display:flex;margin-top:5px;border-bottom: 1px solid #eee;line-height:25px;font-size:14px;padding:5px 0"
        v-for="(wkpitem,index) in wkplist" :key="index">
        <div style="flex:0 0 35%;text-align: center;">{{wkpitem.ordercode}}</div>
        <div style="flex:0 0 35%;text-align: left;">{{wkpitem.mtrlname}}</div>
        <div style="flex:0 0 15%;text-align: center;">{{wkpitem.workhour}}</div>
        <div style="flex:0 0 10%;text-align: center;">{{wkpitem.percent}}</div>
      </div>

      <div style="font-size: 12px; color: rgb(102, 102, 102); margin: 30px 0px 10px 20px;">*点击可查看指令单详情数据</div>

    </div>
  </div>
</template>
<script>
  export default {
    name: "wkpmxlist",
    data() {
      return {
        wkplist: [{
            ordercode: "SC190801001",
            workhour: 2,
            percent: '12.5%',
            mtrlname: 'W-161D黑色四个装 FHD6605'
          },
          {
            ordercode: "SC190801002",
            workhour: 1,
            percent: '12.5%',
            mtrlname: '7-87单只装 FHD59301'
          },
          {
            ordercode: "SC190801003",
            workhour: 1,
            percent: '12.5%',
            mtrlname: '7-96A五只装 FHD59301'
          },
          {
            ordercode: "SC190801004",
            workhour: 1,
            percent: '12.5%',
            mtrlname: 'W-135 无扶手 FHLWQ6401'
          },
          {
            ordercode: "SC190801005",
            workhour: 1,
            percent: '12.5%',
            mtrlname: '7-07C四个一箱 FHLWY101'
          },
          {
            ordercode: "SC190801006",
            workhour: 1,
            percent: '12.5%',
            mtrlname: 'W-132 FHZYQ4401'
          }
        ]
      }
    }
  }

</script>
<style>
  body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: "微软雅黑";
  }

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

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

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

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


  .about_wrap {
    padding: 45px 0
  }

</style>
