BoatInfo.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <template>
  2. <div class="other">
  3. <el-form label-width="120px" ref="form" :model="form">
  4. <div class="divider">
  5. <div class="title">
  6. <div class="ele-bg-primary"></div>
  7. <span>舟皿信息</span>
  8. </div>
  9. <div class="ele-bg-primary ele-width"></div>
  10. </div>
  11. <el-row :gutter="24">
  12. <el-col :span="8">
  13. <el-form-item label="槽数" prop="slotNum">
  14. <el-input v-model="form.slotNum"/>
  15. </el-form-item>
  16. </el-col>
  17. <el-col :span="8">
  18. <el-form-item label="角度" prop="angle">
  19. <DictSelection dictName="角度" clearable v-model="form.angle">
  20. </DictSelection>
  21. </el-form-item>
  22. </el-col>
  23. <el-col :span="8">
  24. <el-form-item label="长" prop="palletLen">
  25. <el-input v-model="form.palletLen">
  26. <template slot="append">mm</template>
  27. </el-input>
  28. </el-form-item>
  29. </el-col>
  30. <el-col :span="8">
  31. <el-form-item label="宽" prop="wilde">
  32. <el-input v-model="form.wilde">
  33. <template slot="append">mm</template>
  34. </el-input>
  35. </el-form-item>
  36. </el-col>
  37. <el-col :span="8">
  38. <el-form-item label="高" prop="hight">
  39. <el-input v-model="form.hight">
  40. <template slot="append">mm</template>
  41. </el-input>
  42. </el-form-item>
  43. </el-col>
  44. </el-row>
  45. </el-form>
  46. </div>
  47. </template>
  48. <script>
  49. export default {
  50. props: {
  51. form: {
  52. type: Object,
  53. default: {}
  54. }
  55. },
  56. components: { },
  57. data() {
  58. return {
  59. };
  60. },
  61. methods: {
  62. }
  63. };
  64. </script>
  65. <style lang="scss" scoped>
  66. .other{
  67. background: #fff;
  68. padding: 1px 17px;
  69. }
  70. .divider {
  71. margin: 0px 0 20px;
  72. .title {
  73. display: flex;
  74. align-items: center;
  75. margin-bottom: 10px;
  76. div {
  77. width: 8px;
  78. height: 20px;
  79. margin-right: 10px;
  80. }
  81. span {
  82. font-size: 20px;
  83. }
  84. }
  85. .ele-width{
  86. width: 100%;
  87. height: 2px;
  88. }
  89. }
  90. .form-line{
  91. display: flex;
  92. align-items: center;
  93. justify-content: space-between;
  94. .line-select{
  95. margin-left:15px;
  96. }
  97. }
  98. </style>