ColumnsTsx.tsx 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. export const productColumns = [
  2. { type: 'checkbox', width: 50, align: 'center', fixed: 'left' },
  3. { type: 'seq', title: 'No.', width: 60, align: 'center' },
  4. {
  5. field: 'is_monitor', title: '监控管理', width: 90, align: 'center',
  6. slots: { default: 'is_monitor' }
  7. },
  8. {
  9. field: 'product_info', title: '商品信息', minWidth: 'auto', align: 'center',
  10. slots: { default: 'product_info' }
  11. },
  12. {
  13. field: 'sku', title: 'SKU', minWidth: 'auto', align: 'center',
  14. slots: { default: 'sku' }
  15. },
  16. {
  17. field: 'country_code', title: '国 家', minWidth: 'auto', align: 'center',
  18. slots: { default: 'country_code' }
  19. },
  20. {
  21. field: 'brand', title: '品 牌', minWidth: 'auto', align: 'center',
  22. slots: { default: 'brand' }
  23. },
  24. {
  25. field: 'platform_number', title: '平台编号', minWidth: 'auto', align: 'center',
  26. slots: { default: 'platform_number' }
  27. },
  28. {
  29. field: 'shop_name', title: '店 铺', minWidth: 'auto', align: 'center',
  30. slots: { default: 'shop_name' }
  31. },
  32. {
  33. field: 'tag', title: '分 组', minWidth: 'auto', align: 'center',
  34. slots: { default: 'tag' }
  35. },
  36. {
  37. field: 'price_info', title: '价 格', minWidth: 'auto', headerAlign: 'center', align: 'left',
  38. slots: { default: 'price_info' }
  39. },
  40. {
  41. field: 'show_price', title: '展示价格', minWidth: 'auto', align: 'center',
  42. slots: { default: 'show_price' }
  43. },
  44. {
  45. field: 'activity_price', title: '平时活动售价', minWidth: 'auto', align: 'center',
  46. slots: { default: 'activity_price' }
  47. },
  48. {
  49. field: 'minimum_price', title: '最低活动售价', minWidth: 'auto', align: 'center',
  50. slots: { default: 'minimum_price' }
  51. },
  52. {
  53. field: 'launch_date', title: '上架日期', minWidth: 'auto', align: 'center', sortable: true,
  54. slots: { default: 'launch_date' }
  55. },
  56. {
  57. field: 'category', title: '类 目', minWidth: 'auto', align: 'center',
  58. slots: { default: 'category' }
  59. },
  60. {
  61. field: 'status', title: '状 态', minWidth: 'auto', align: 'center',
  62. slots: { default: 'status' }
  63. },
  64. {
  65. field: 'update_datetime', title: '更新时间', minWidth: 'auto', align: 'center',
  66. slots: { default: 'update_datetime' }
  67. },
  68. {
  69. field: 'create_datetime', title: '创建时间', minWidth: 'auto', align: 'center',
  70. slots: { default: 'create_datetime' }
  71. },
  72. {
  73. field: 'operate', title: '操 作', width: 100, align: 'center', fixed: 'right',
  74. slots: { default: 'operate' }
  75. }
  76. ];