TurnoverInfo.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <template>
  2. <div class="other">
  3. <fieldset :disabled="disabled" style="border: none; padding: 0; margin: 0;">
  4. <el-form label-width="100px" ref="form" :model="form">
  5. <div class="divider">
  6. <div class="title">
  7. <div class="ele-bg-primary"></div>
  8. <span>周转车信息</span>
  9. </div>
  10. <div class="ele-bg-primary ele-width"></div>
  11. </div>
  12. <el-row :gutter="24">
  13. <el-col :span="8">
  14. <el-form-item label="材质" prop="materialQuality">
  15. <DictSelection
  16. dictName="周转车材质"
  17. clearable
  18. v-model="form.materialQuality"
  19. :disabled="disabled"
  20. >
  21. </DictSelection>
  22. <!-- <el-input v-model="form.materialQuality"/> -->
  23. </el-form-item>
  24. </el-col>
  25. </el-row>
  26. </el-form>
  27. </fieldset>
  28. </div>
  29. </template>
  30. <script>
  31. export default {
  32. props: {
  33. form: {
  34. type: Object,
  35. default: {}
  36. },
  37. disabled: {
  38. type: Boolean,
  39. default: false
  40. }
  41. },
  42. components: {},
  43. data () {
  44. return {};
  45. },
  46. methods: {}
  47. };
  48. </script>
  49. <style lang="scss" scoped>
  50. .other {
  51. background: #fff;
  52. padding: 1px 17px;
  53. }
  54. .divider {
  55. margin: 0px 0 20px;
  56. .title {
  57. display: flex;
  58. align-items: center;
  59. margin-bottom: 10px;
  60. div {
  61. width: 8px;
  62. height: 20px;
  63. margin-right: 10px;
  64. }
  65. span {
  66. font-size: 20px;
  67. }
  68. }
  69. .ele-width {
  70. width: 100%;
  71. height: 2px;
  72. }
  73. }
  74. .form-line {
  75. display: flex;
  76. align-items: center;
  77. justify-content: space-between;
  78. .line-select {
  79. margin-left: 15px;
  80. }
  81. }
  82. </style>