<template>
  <div>
    <el-descriptions border v-if="order.orderId">
      <el-descriptions-item label="唛头">{{ order.marks }}</el-descriptions-item>
      <el-descriptions-item label="已到箱数">{{ order.sumNum }}</el-descriptions-item>
      <el-descriptions-item label="订单状态">{{ order.status }}</el-descriptions-item>
      <el-descriptions-item label="送货时间">todo</el-descriptions-item>
      <el-descriptions-item label="运输方式">{{ order.logisticsInfoDto.transportId }}</el-descriptions-item>
      <el-descriptions-item label="始发地">{{ order.logisticsInfoDto.startWarehouseId }}</el-descriptions-item>
      <el-descriptions-item label="目的地">{{ order.logisticsInfoDto.destWarehouseId }}</el-descriptions-item>
      <el-descriptions-item label="发货人姓名">{{ order.consignorVO.name }}</el-descriptions-item>
      <el-descriptions-item label="发货人公司">{{ order.consignorVO.company }}</el-descriptions-item>
      <el-descriptions-item label="发货人电话">{{ order.consignorVO.phone }}</el-descriptions-item>
      <el-descriptions-item label="收货人姓名">{{ order.consigneeVO.name }}</el-descriptions-item>
      <el-descriptions-item label="收货人公司">{{ order.consigneeVO.company }}</el-descriptions-item>
      <el-descriptions-item label="收货人电话">{{ order.consigneeVO.phone }}</el-descriptions-item>
      <el-descriptions-item label="入仓类型">{{ order.warehouseType }}</el-descriptions-item>
      <el-descriptions-item label="订单号">{{ order.orderNo }}</el-descriptions-item>
    </el-descriptions>
  </div>
</template>

<script>
export default {
  name: "orderBaseInfo",
  props: {
    order: Object
  }
}
</script>

<style scoped>

</style>
