optionListTwo.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. import { number } from "echarts"
  2. export const optionTwo = {
  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: 70,
  15. searchIcon: true,
  16. searchIndex: 2,
  17. selection:true,
  18. column: [
  19. {
  20. label: "商品名称",
  21. prop: "cname",
  22. // type: "select",
  23. // dicUrl:"/api/blade-client/goodsdesc/descListByCname?cname={{key}}",
  24. // filterable:true,
  25. // remote:true,
  26. // props: {
  27. // label: "cname",
  28. // value: "cname"
  29. // },
  30. search: true,
  31. overHidden: true,
  32. index: 1
  33. },
  34. {
  35. label: "产品分类",
  36. prop: "goodsTypeName",
  37. overHidden: true,
  38. index: 2
  39. },
  40. {
  41. label: "单位",
  42. prop: "unit",
  43. type: "select",
  44. filterable:true,
  45. props: {
  46. label: "dictValue",
  47. value: "dictValue"
  48. },
  49. dicData:[],
  50. search: true,
  51. overHidden: true,
  52. index: 4
  53. },
  54. {
  55. label: "参考售价",
  56. prop: "standardPrice",
  57. overHidden: true,
  58. index: 5
  59. },
  60. {
  61. label: "厂家",
  62. prop: "corpId",
  63. type: "select",
  64. props: {
  65. label: "cname",
  66. value: "id"
  67. },
  68. dicData: [],
  69. span: 6,
  70. index: 13
  71. },
  72. {
  73. label: "规格",
  74. prop: "specs",
  75. span: 6,
  76. index: 15
  77. },
  78. {
  79. label: "品牌",
  80. prop: "brand",
  81. span: 6,
  82. index: 16
  83. },
  84. {
  85. label: "备注",
  86. prop: "remarks",
  87. search: true,
  88. overHidden: true,
  89. index: 17
  90. }
  91. ]
  92. }