ColumnsTsx.tsx 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. export const productColumns = [
  2. { type: 'checkbox', minWidth: 50, align: 'center', fixed: 'left' },
  3. // { type: 'seq', title: 'No.', minWidth: 60, align: 'center', fixed: 'left' },
  4. {
  5. field: 'product_info', title: '商品信息', minWidth: 240, align: 'center', fixed: 'left',
  6. slots: { default: 'product_info' }
  7. },
  8. {
  9. field: 'sku', title: 'SKU', width: 'auto', align: 'center', showOverflow: true,
  10. slots: { default: 'sku' }
  11. },
  12. {
  13. field: 'country_code', title: '国 家', width: 'auto', align: 'center',
  14. slots: { default: 'country_code' }
  15. },
  16. {
  17. field: 'brand', title: '品 牌', width: 'auto', align: 'center',
  18. slots: { default: 'brand' }
  19. },
  20. {
  21. field: 'platform_number', title: '平台编号', width: 'auto', align: 'center',
  22. slots: { default: 'platform_number' }
  23. },
  24. {
  25. field: 'shop_name', title: '店 铺', width: 'auto', align: 'center',
  26. slots: { default: 'shop_name' }
  27. },
  28. {
  29. field: 'tag', title: '分 组', width: 'auto', align: 'center',
  30. slots: { default: 'tag' }
  31. },
  32. {
  33. field: 'price_info', title: '价 格', width: 'auto', headerAlign: 'center', align: 'left',
  34. slots: { default: 'price_info' }
  35. },
  36. {
  37. field: 'show_price', title: '展示价格', width: 'auto', align: 'center',
  38. slots: { default: 'show_price' }
  39. },
  40. {
  41. field: 'activity_price', title: '平时活动售价', width: 'auto', align: 'center',
  42. slots: { default: 'activity_price' }
  43. },
  44. {
  45. field: 'minimum_price', title: '最低活动售价', width: 'auto', align: 'center',
  46. slots: { default: 'minimum_price' }
  47. },
  48. {
  49. field: 'ratings', title: '子ASIN评分人数', width: 'auto', align: 'center', sortable: true,
  50. slots: { default: 'ratings' }
  51. },
  52. {
  53. field: 'all_ratings', title: '亚马逊显示评分人数', width: 'auto', align: 'center', sortable: true,
  54. slots: { default: 'all_ratings' }
  55. },
  56. {
  57. field: 'reviews', title: '子ASIN评论人数', width: 'auto', align: 'center', sortable: true,
  58. slots: { default: 'reviews' }
  59. },
  60. {
  61. field: 'all_reviews', title: '亚马逊显示评论人数', width: 'auto', align: 'center', sortable: true,
  62. slots: { default: 'all_reviews' }
  63. },
  64. {
  65. field: 'score', title: '子ASIN计算评分', width: 'auto', align: 'center', sortable: true,
  66. slots: { default: 'score' }
  67. },
  68. {
  69. field: 'all_score', title: '亚马逊显示评分', width: 'auto', align: 'center', sortable: true,
  70. slots: { default: 'all_score' }
  71. },
  72. {
  73. field: 'stars', title: '子ASIN星级分布', width: 'auto', headerAlign: 'center', align: 'center',
  74. slots: { default: 'stars' }
  75. },
  76. {
  77. field: 'all_stars', title: '亚马逊星级分布', width: 'auto', headerAlign: 'center', align: 'center',
  78. slots: { default: 'all_stars' }
  79. },
  80. {
  81. field: 'launch_date', title: '上架日期', width: 'auto', align: 'center', sortable: true,
  82. slots: { default: 'launch_date' }
  83. },
  84. {
  85. field: 'category', title: '类 目', width: 'auto', align: 'center',
  86. slots: { default: 'category' }
  87. },
  88. {
  89. field: 'status', title: '状 态', width: 'auto', align: 'center',
  90. slots: { default: 'status' }
  91. },
  92. {
  93. field: 'update_datetime', title: '更新时间', width: 'auto', align: 'center', showOverflow: true,
  94. slots: { default: 'update_datetime' }
  95. },
  96. {
  97. field: 'create_datetime', title: '创建时间', width: 'auto', align: 'center', showOverflow: true,
  98. slots: { default: 'create_datetime' }
  99. },
  100. {
  101. field: 'operate', title: '操 作', minWidth: 100, align: 'center', fixed: 'right',
  102. slots: { default: 'operate' }
  103. }
  104. ];