import { createEnum } from '@/common/utils/enums.ts'

const settlementWayList = [
  {
    val: 'YueJie',
    txt: '月结',
  },
  {
    val: 'YuE',
    txt: '余额',
  },
  {
    val: 'XianFu',
    txt: '现付',
  },
] as const

const orgCategoryList = [
  {
    val: 'GeRen',
    txt: '个人',
  },
  {
    val: 'QiYe',
    txt: '企业',
  },
] as const

const identityCategoryList = [
  {
    val: 'PingTai',
    txt: '平台',
  },
  {
    val: 'ChanFei',
    txt: '产废方',
  },
  {
    val: 'YunShu',
    txt: '运输方',
  },
  {
    val: 'XiaoNa',
    txt: '消纳方',
  },
  {
    val: 'CaiGou',
    txt: '采购方',
  },
  {
    val: 'SiJi',
    txt: '司机',
  },
] as const

export const settlementWay = createEnum(settlementWayList)
export const identityCategory = createEnum(identityCategoryList)
export const orgCategory = createEnum(orgCategoryList)
