// 搜索类型
export const ORDER_SEARCH_TYPE = [
  {
    value: 'orderNo',
    name: '订单编号',
  },
  {
    value: 'spuId',
    name: '商品id',
  },
  {
    value: 'channelOrderNo',
    name: '外部订单',
  },
  {
    value: 'receiverName',
    name: '收货人姓名',
  },
  {
    value: 'userMobile',
    name: '买家手机号',
  },
  {
    value: 'userMobile4',
    name: '买家手机号后四位',
  },
  {
    value: 'receiverMobile',
    name: '收货人手机号',
  },
  {
    value: 'receiverMobile4',
    name: '收货人手机号后四位',
  },
];

// 订单类型
export const ORDER_TYPE = [
  {
    value: '',
    name: '全部',
  },
  {
    value: 1,
    name: '普通订单',
  },
  {
    value: 4,
    name: '服务订单',
  },
];

// 订单状态
export const ORDER_STATUS = [
  {
    value: '',
    name: '全部',
  },
  {
    value: 1,
    name: '未支付',
  },
  {
    value: 2,
    name: '待发货',
  },
  {
    value: 3,
    name: '已发货',
  },
  {
    value: 4,
    name: '已完成',
  },
  {
    value: 5,
    name: '已关闭',
  },
];

export const COUPON_CODE_STATUS = {
  1: '未使用',
  2: '已使用',
  3: '已退款',
};
