<template>
  <div class="other">
    <el-form label-width="120px"  ref="form" :model="form">
         <div class="divider">
           <div class="title">
             <div class="ele-bg-primary"></div>
             <span>备注信息</span>
           </div>
           <div class="ele-bg-primary ele-width"></div>
         </div>
         <el-row :gutter="24">
           <el-col :span="24">
             <el-form-item label="附件" prop="allowReturns">
                 <fileUpload v-model="form.remarkAttach" module="file" :limit="4" ></fileUpload>
             </el-form-item>
           </el-col>
           <el-col :span="24">
             <el-form-item label="备注" prop="remark">
                <el-input  v-model="form.remark" type="textarea" :row="5" resize="none"/>
             </el-form-item>
           </el-col>
         </el-row>
      </el-form>
  </div>
</template>

<script>
  import fileUpload from '@/components/upload/fileUpload';
  export default {
    props: {
      form: {
        type: Object,
        default: {}
      }
    },
    components: { fileUpload },
    data () {
      return {};
    },
    methods: {}
  };
</script>

<style lang="scss" scoped>
  .other {
    background: #fff;
    padding: 1px 17px;
  }
  .divider {
    margin: 0px 0 20px;
    .title {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      div {
        width: 8px;
        height: 20px;
        margin-right: 10px;
      }
      span {
        font-size: 20px;
      }
    }
    .ele-width {
      width: 100%;
      height: 2px;
    }
  }
  .form-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    .line-select {
      margin-left: 15px;
    }
  }
</style>
