<!--
  @description: 用户管理-录入用户
  @Modifier:qrf
  @routerPath:
  @date: 2020/5/23-15:41
-->
<template>
  <div>
    <!--标题-->
    <div class="title title_border p0-16">
      <i class="el-icon-s-home" />录入用户
    </div>
    <div class="main">
      <el-form ref="form" :model="formData" :rules="rules" :inline-message="true">
        <table class="from_table">
          <tr>
            <td>
              <el-form-item label="姓名" prop="openingBank" />
            </td>
            <td>
              <el-input v-model="formData.openingBank" maxlength="200" placeholder="请输入开户行" />
            </td>
          </tr>
          <tr>
            <td>
              <el-form-item label="用户名" prop="openingBank" />
            </td>
            <td>
              <el-input v-model="formData.openingBank" maxlength="200" placeholder="请输入开户行" />
            </td>
          </tr>
          <tr>
            <td>
              <el-form-item label="密码" prop="openingBank" />
            </td>
            <td>
              <el-input v-model="formData.openingBank" maxlength="200" placeholder="请输入开户行" />
            </td>
          </tr>
          <tr>
            <td>
              <el-form-item label="确认密码" prop="openingBank" />
            </td>
            <td>
              <el-input v-model="formData.openingBank" maxlength="200" placeholder="请输入开户行" />
            </td>
          </tr>
          <tr>
            <td>
              <el-form-item label="手机号" prop="openingBank" />
            </td>
            <td>
              <el-input v-model="formData.openingBank" maxlength="200" placeholder="请输入开户行" />
            </td>
          </tr>
          <tr>
            <td>
              <el-form-item label="电子邮箱" prop="openingBank" />
            </td>
            <td>
              <el-input v-model="formData.openingBank" maxlength="200" placeholder="请输入开户行" />
            </td>
          </tr>
          <tr>
            <td>
              <el-form-item label="授权委托书" prop="openingBank" />
            </td>
            <td>
              <!--授权委托书附件上传-->
              <upload
                ref="upload"
                :on-change="changeFile"
                :data="upLoadData"
                :file-list="fileList"
                :auto-delete="true"
                :auto-upload="true"
                :action="importFileUrl"
                title=""
                file-ref="fileRef"
              />
            </td>
          </tr>
        </table>
      </el-form>
    </div>
  </div>
</template>
<script>
import upload from '@comp/common/updownload/upload' // 附件上传组件
export default {
  name: 'SupplierUserManageAdd',
  components: {
    upload
  },
  data() {
    return {
      formData: {
        openingBank: '',
        creditCard: ''
      }
    }
  }
}
</script>
