devWorkHoursRegister.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. export default {
  2. height: 'auto',
  3. calcHeight: 30,
  4. tip: false,
  5. searchShow: true,
  6. searchMenuSpan: 6,
  7. border: true,
  8. index: true,
  9. addBtn: false,
  10. delBtnText: '清除工时数据',
  11. selection: true,
  12. searchLabelWidth: 140,
  13. labelWidth: 100,
  14. menuWidth: 180,
  15. dialogClickModal: false,
  16. dialogWidth: 500,
  17. dialogType: "drawer",
  18. column: [
  19. {
  20. label: '研发项目编号',
  21. prop: 'xmbh',
  22. span: 24,
  23. width: 100,
  24. align: 'center',
  25. type: 'input',
  26. showOverflowTooltip: true,
  27. disabled: true,
  28. },
  29. {
  30. label: '研发项目名称',
  31. prop: 'xmmc',
  32. type: 'input',
  33. span: 24,
  34. width: 110,
  35. align: 'center',
  36. search: true,
  37. showOverflowTooltip: true,
  38. disabled: true,
  39. },
  40. {
  41. label: '资产编码',
  42. prop: 'zcbm',
  43. type: 'input',
  44. span: 24,
  45. width: 90,
  46. align: 'center',
  47. showOverflowTooltip: true,
  48. disabled: true,
  49. },
  50. {
  51. label: '资产名称',
  52. prop: 'zcmc',
  53. span: 24,
  54. width: 110,
  55. align: 'center',
  56. search: true,
  57. showOverflowTooltip: true,
  58. disabled: true,
  59. },
  60. {
  61. label: '资产类别',
  62. prop: 'zclb',
  63. type: 'select',
  64. span: 24,
  65. width: 70,
  66. align: 'center',
  67. dicUrl: '/api/kd-system/dict-biz/dictionary?code=zclb',
  68. props: {
  69. label: 'dictValue',
  70. value: 'dictKey',
  71. },
  72. showOverflowTooltip: true,
  73. disabled: true,
  74. },
  75. {
  76. label: '用途',
  77. prop: 'yt',
  78. type: 'select',
  79. span: 24,
  80. width: 60,
  81. align: 'center',
  82. search: true,
  83. dicUrl: '/api/kd-system/dict-biz/dictionary?code=zcyt',
  84. props: {
  85. label: 'dictValue',
  86. value: 'dictKey',
  87. },
  88. showOverflowTooltip: true,
  89. disabled: true,
  90. },
  91. {
  92. label: '总工时',
  93. prop: 'zgs',
  94. type: 'number',
  95. precision: 1,
  96. min: 0,
  97. width: 50,
  98. align: 'center',
  99. showOverflowTooltip: true,
  100. },
  101. {
  102. label: '使用工时',
  103. prop: 'monthlyHours',
  104. type: 'number',
  105. span: 24,
  106. width: 50,
  107. align: 'center',
  108. showOverflowTooltip: true,
  109. display: false,
  110. search: true,
  111. },
  112. ],
  113. };