config.js 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. export const SearchFormBuyOrder = [
  2. {
  3. type: "input",
  4. label: "订单编号",
  5. field: "id",
  6. value: "", // 双向绑定的值
  7. },
  8. {
  9. type: "select",
  10. label: "审核状态",
  11. field: "moderationStatus",
  12. options: [], // 默认空,后面会通过字典加载
  13. dict: "orderType",
  14. value: "", // 双向绑定的值
  15. width: "200",
  16. },
  17. {
  18. type: "input",
  19. label: "客户名称",
  20. field: "userName",
  21. value: "", // 双向绑定的值
  22. },
  23. {
  24. type: "select",
  25. label: "沉默期",
  26. field: "periodOfSilence",
  27. options: [], // 默认空,后面会通过字典加载
  28. dict: "silenceOf",
  29. value: "", // 双向绑定的值
  30. width: "200",
  31. },
  32. {
  33. type: "select",
  34. label: "卡类型",
  35. field: "simType",
  36. options: [], // 默认空,后面会通过字典加载
  37. dict: "cardType",
  38. value: "", // 双向绑定的值
  39. width: "200",
  40. },
  41. {
  42. type: "select",
  43. label: "运营商名称",
  44. field: "source",
  45. options: [], // 默认空,后面会通过字典加载
  46. dict: "source",
  47. value: "", // 双向绑定的值
  48. width: "200",
  49. },
  50. {
  51. type: "date-picker",
  52. label: "下单时间",
  53. field: "createdAt",
  54. value: "", // 双向绑定的值
  55. width: "200",
  56. },
  57. {
  58. type: "date-picker",
  59. label: "有效期",
  60. field: "endData",
  61. value: "", // 双向绑定的值
  62. width: "200",
  63. },
  64. ];
  65. // 购卡订单
  66. export const BuyOrdercolumns = [
  67. { title: window.$t('order.SerialNumber'), dataIndex: 'index', align: 'center', ellipsis: true },
  68. { title: window.$t('order.OrderNum'), slotName: 'id', align: 'center', ellipsis: true },
  69. { title: window.$t('order.AuditStatus'), slotName: 'statusType', align: 'center', ellipsis: true },
  70. { title: window.$t('order.LogisticsStatus'), slotName: 'LogisticsStatus', align: 'center', ellipsis: true },
  71. { title: window.$t('lotCard.userName'), dataIndex: 'userName', align: 'center', ellipsis: true },
  72. { title: window.$t('order.NumberCardsPurchased'), dataIndex: 'quantity', align: 'center', ellipsis: true },
  73. { title: window.$t('order.SilentPeriod') + ( window.$t('lotCard.month')), dataIndex: 'periodOfSilence', align: 'center', ellipsis: true },
  74. { title: window.$t('order.CardType'), dataIndex: 'cardType', align: 'center', ellipsis: true },
  75. { title: window.$t('order.CarrierName'), dataIndex: 'sourceName', align: 'center', ellipsis: true },
  76. { title: '套餐计划名称', dataIndex: 'terminalName', align: 'center', ellipsis: true },
  77. { title: '套餐计划类型', dataIndex: 'type', align: 'center', ellipsis: true },
  78. { title: window.$t('order.PurchaseAmount'), dataIndex: 'amount', align: 'center', ellipsis: true },
  79. { title: window.$t('order.ContractPhoto'), slotName: 'image', align: 'center', ellipsis: true },
  80. { title: window.$t('order.OrderTime'), dataIndex: 'createdAt', align: 'center', ellipsis: true },
  81. { title: window.$t('lotCard.validity'), dataIndex: 'endDate', align: 'center', ellipsis: true },
  82. { title: '备注', dataIndex: 'moderationNotes', align: 'center', ellipsis: true },
  83. { title: window.$t('lotCard.Controls'), slotName: 'operate', align: 'center', ellipsis: true ,fixed: 'right',},
  84. ];
  85. // 退卡订单
  86. export const Returncolumns = [
  87. { title: window.$t('order.SerialNumber'), dataIndex: 'index', align: 'center', ellipsis: true },
  88. { title: window.$t('order.OrderNum'), slotName: 'id', align: 'center', ellipsis: true },
  89. { title: window.$t('order.AuditStatus'), slotName: 'statusType', align: 'center', ellipsis: true },
  90. { title: window.$t('order.LogisticsStatus'), slotName: 'LogisticsStatus', align: 'center', ellipsis: true },
  91. { title: window.$t('lotCard.userName'), dataIndex: 'userName', align: 'center', ellipsis: true },
  92. { title: window.$t('order.NumberCardsPurchased'), dataIndex: 'quantity', align: 'center', ellipsis: true },
  93. { title: window.$t('order.SilentPeriod') + ( window.$t('lotCard.month')), dataIndex: 'periodOfSilence', align: 'center', ellipsis: true },
  94. { title: window.$t('order.CardType'), dataIndex: 'cardType', align: 'center', ellipsis: true },
  95. { title: window.$t('order.CarrierName'), dataIndex: 'sourceName', align: 'center', ellipsis: true },
  96. { title: window.$t('order.tariff'), dataIndex: 'trafficName', align: 'center', ellipsis: true },
  97. { title: window.$t('order.PurchaseAmount'), dataIndex: 'amount', align: 'center', ellipsis: true },
  98. { title: window.$t('order.ContractPhoto'), slotName: 'image', align: 'center', ellipsis: true },
  99. { title: window.$t('order.OrderTime'), dataIndex: 'createdAt', align: 'center', ellipsis: true },
  100. { title: window.$t('lotCard.validity'), dataIndex: 'endDate', align: 'center', ellipsis: true },
  101. { title: '备注', dataIndex: 'moderationNotes', align: 'center', ellipsis: true },
  102. { title: window.$t('lotCard.Controls'), slotName: 'operate', align: 'center', ellipsis: true, fixed: 'right', }
  103. ];
  104. // 变更订单
  105. export const ChangeOrdercolumns = [
  106. { title: window.$t('order.SerialNumber'), dataIndex: 'index', align: 'center', ellipsis: true },
  107. { title: window.$t('order.OrderNum'), slotName: 'id', align: 'center', ellipsis: true },
  108. { title: window.$t('order.AuditStatus'), slotName: 'statusType', align: 'center', ellipsis: true },
  109. { title: window.$t('order.LogisticsStatus'), slotName: 'LogisticsStatus', align: 'center', ellipsis: true },
  110. { title: window.$t('lotCard.userName'), dataIndex: 'userName', align: 'center', ellipsis: true },
  111. { title: window.$t('order.NumberCardsPurchased'), dataIndex: 'quantity', align: 'center', ellipsis: true },
  112. { title: window.$t('order.SilentPeriod') + ( window.$t('lotCard.month')), dataIndex: 'periodOfSilence', align: 'center', ellipsis: true },
  113. { title: window.$t('order.CardType'), dataIndex: 'cardType', align: 'center', ellipsis: true },
  114. { title: window.$t('order.CarrierName'), dataIndex: 'sourceName', align: 'center', ellipsis: true },
  115. { title: window.$t('order.tariff'), dataIndex: 'trafficName', align: 'center', ellipsis: true },
  116. { title: window.$t('order.PurchaseAmount'), dataIndex: 'amount', align: 'center', ellipsis: true },
  117. { title: window.$t('order.ContractPhoto'), slotName: 'image', align: 'center', ellipsis: true },
  118. { title: window.$t('order.OrderTime'), dataIndex: 'createdAt', align: 'center', ellipsis: true },
  119. { title: window.$t('lotCard.validity'), dataIndex: 'endDate', align: 'center', ellipsis: true },
  120. { title: '备注', dataIndex: 'moderationNotes', align: 'center', ellipsis: true },
  121. { title: window.$t('lotCard.Controls'), slotName: 'operate', align: 'center', ellipsis: true, fixed: 'right', },
  122. ];