<template>
  <div class="afsorder-cell">
    <div class="cell">
      <div class="timer">
        创建时间: {{$filters.dateToLLLL(afsOrder.createdAt)}}
      </div>
      <div class="status">
        {{cms.orderStatus[afsOrder.status]}}
      </div>
    </div>
    <div class="desc">
      {{afsOrder.reasonDesc || '暂无'}}
    </div>
    <div class="price">
      金额: ￥{{$filters.toFixed2(afsOrder.skuUserMoney)}}
    </div>
  </div>
</template>

<script>
import {mapGetters} from 'vuex'
export default {
  props: {
    afsOrder: {
      type: Object,
      required: true,
      default () {
        return {}
      }
    }
  },
  computed: {
    ...mapGetters({
      cms: 'login/cms'
    })
  }
}
</script>

<style lang="scss">
@import "./afsorder-cell";
</style>
