optionList.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. import { number } from "echarts"
  2. export const option = {
  3. searchShow: true,
  4. searchMenuSpan: 8,
  5. align: "center",
  6. searchSpan: 8,
  7. tip: false,
  8. border: true,
  9. index: true,
  10. addBtn: false,
  11. viewBtn: false,
  12. editBtn: false,
  13. delBtn: false,
  14. menuWidth: 120,
  15. searchIcon: true,
  16. searchIndex: 2,
  17. column: [
  18. {
  19. label: "货物属性",
  20. prop: "goodsAttribute",
  21. type: "select",
  22. props: {
  23. label: "dictValue",
  24. value: "dictValue"
  25. },
  26. dicData:[],
  27. overHidden: true,
  28. search: true
  29. },
  30. {
  31. label: "出运港",
  32. prop: "outHarborName",
  33. overHidden: true,
  34. search: true
  35. },
  36. {
  37. label: "备注",
  38. prop: "remarks",
  39. overHidden: true,
  40. }
  41. ]
  42. }
  43. export const optionList = {
  44. align: "center",
  45. addBtn: false,
  46. refreshBtn: false,
  47. editBtn: false,
  48. delBtn: false,
  49. border: true,
  50. menuWidth: 120,
  51. stripe: true,
  52. column: [
  53. {
  54. label: "起运地",
  55. prop: "departureId",
  56. overHidden: true,
  57. dicData:[],
  58. dataType: "string",
  59. type: "cascader",
  60. props: {
  61. label: 'name',
  62. value: 'name'
  63. },
  64. cell: true,
  65. width: 350,
  66. },
  67. {
  68. label: "费用名称",
  69. prop: "feesId",
  70. overHidden: true,
  71. width: 250,
  72. },
  73. {
  74. label: "币别",
  75. prop: "currency",
  76. overHidden: true,
  77. width: 120,
  78. },
  79. {
  80. label: "20GP",
  81. prop: "twentyGp",
  82. overHidden: true,
  83. cell: true,
  84. width: 120,
  85. },
  86. {
  87. label: "40GP",
  88. prop: "fortyGp",
  89. overHidden: true,
  90. cell: true,
  91. width: 120,
  92. },
  93. {
  94. label: "40HC",
  95. prop: "fortyHc",
  96. overHidden: true,
  97. cell: true,
  98. width: 120,
  99. },
  100. {
  101. label: "45GP",
  102. prop: "fortyFiveGp",
  103. overHidden: true,
  104. cell: true,
  105. width: 120,
  106. },
  107. {
  108. label: "PALLET",
  109. prop: "pallet",
  110. overHidden: true,
  111. cell: true,
  112. width: 120,
  113. }
  114. ]
  115. }