<template>
  <div class="order-panel">
    <div class="row">
      <div class="col">
        <div class="label">
          平台单号：
        </div>
        <div class="value">
          {{ orderInfo.tid }}
        </div>
      </div>
      <div class="col">
        <div class="label">
          订单编号：
        </div>
        <div class="value">
          {{ orderInfo.order_id }}
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col">
        <div class="label">
          下单店铺：
        </div>
        <div class="value">
          {{  orderInfo.shop_name }}
        </div>
      </div>
      <div class="col">
        <div class="label">
          平台：
        </div>
        <div class="value">
          {{ orderInfo.platformName }}
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col">
        <div class="label">
          物流公司：
        </div>
        <div class="value">
          {{  orderInfo.ship_name }}
        </div>
      </div>
      <div class="col">
        <div class="label">
          物流单号：
        </div>
        <div class="value">
          {{  orderInfo.logistics_number }}
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col">
        <div class="label">
          发货仓库：
        </div>
        <div class="value">
          {{ orderInfo.wareHouseName }}
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col">
        <div class="label">
          买家备注：
        </div>
        <div class="value">
          {{ orderInfo.buyermessage }}
        </div>
      </div>
    </div>
    <div class="row">
      <div class="col">
        <div class="label">
          卖家备注：
        </div>
        <div class="value">
          {{ orderInfo.sellermemo }}
        </div>
      </div>
    </div>
    <div class="row">
      <div class="col">
        <div class="label">
          内部备注：
        </div>
        <div class="value">
          {{  orderInfo.insideremark }}
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'OrderPanel',

  props: {
    orderInfo: {
      type: Object,
      default: function () {
        return {}
      }
    }
  },

  data() {
    return {

    };
  },

  mounted() {

  },

  methods: {

  },
};
</script>

<style lang="scss" scoped>
.order-panel {
  width: 500px;
  .row {
    display: flex;
    margin-bottom: 8px;
  }
  .col {
    display: flex;
    flex: 1;
    align-items: flex-start;
    margin-right: 8px;
  }
  .label {
    text-align: right;
  }
}
</style>
