<template>
  <toolbar-container :fields="fields" v-on="$listeners" />
</template>

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

  data() {
    return {
      fields: [
        {
          type: 'text',
          name: 'id',
          label: '订单编号'
        },
        {
          type: 'text',
          name: 'accountId',
          label: '购买用户'
        },
        {
          type: 'dateArray',
          name: 'date',
          label: '支付时间',
          apiName: ['startTime', 'endTime']
        }
      ]
    };
  }
};
</script>

<style type="scss" scoped></style>
