<!--
  @description: 预退回计划列表
  @Modifier: haoFx
  @routerPath:
  @date: 2021-02-08-20:35
-->
<template>
  <div>
    <p class="title">
      4.预退回计划
    </p>
    <el-table ref="multipleTable" height="''" :data="returnSubjectMatterList">
      <el-table-column type="index" label="序号" width="60px" align="center" />
      <el-table-column
        label="物料编号"
        header-align="center"
        prop="productNo"
        width="180"
        align="center"
      />
      <el-table-column
        header-align="center"
        label="物料描述"
        prop="purchaseDesc"
      />
      <el-table-column
        header-align="center"
        label="行项目号"
        prop="purchaseNo"
        width="140"
        align="center"
      />
      <el-table-column
        header-align="center"
        label="预算净单价（元）"
        prop="unitBudget"
        width="140"
        align="right"
      />
      <el-table-column
        header-align="center"
        label="数量"
        prop="quantity"
        width="140"
        align="center"
      />
    </el-table>
    <!-- <table class="from_table mt10">
      <tr>
        <td>
          <el-form-item label="退回原因" prop="bizReason" />
        </td>
        <td>
          <el-form-item>
            <gx-input
              v-model="returnReason"
              :autosize="{ minRows: 3, maxRows: 3 }"
              type="textarea"
              gx-maxlength="varchar500"
              show-word-limit
            />
          </el-form-item>
        </td>
      </tr>
      <tr>
        <td>
          <el-form-item label="退回附件" prop="bizReason" />
        </td>
        <td>
          <upload
            ref="upload"
            :title="''"
            :data="lineItemFileType"
            :auto-delete="true"
            :auto-upload="true"
            :file-size="200"
            tip-text="上传附件格式（*.doc;*.docx;*.pdf;*.png;*.jpg;*.zip;*.xlsx;*.xls;*.rar）单个文件不得超过200M"
            accept=".doc,.docx,.pdf,.png,.jpg,.zip,.jpeg,.txt,.xls,.ppt,.pptx,.rar"
            file-ref="fileRef"
            but-text="点击上传"
          />
        </td>
      </tr>
    </table> -->
  </div>
</template>

<script>
// import upload from '@comp/common/updownload/upload' // 文件上传组件

export default {
  name: 'PreReturnPlanList',
  components: {
    // upload
  },
  props: {
    returnSubjectMatterList: {
      type: Array,
      default: function() {
        return []
      }
    }
  },
  data() {
    return {
    }
  }
}
</script>

<style scoped lang="less">
  /deep/.el-table__body-wrapper{
    height: auto!important;
  }
</style>
