<template>
  <el-card class="cards">
    <div slot="header">
      <span class="card-title"> 母卷信息 </span>
    </div>
    <!-- 列表 -->
    <el-table
      ref="multipleTable"
      v-loading="loading"
      :data="list"
      border
      max-height="100px"
    >
      <el-table-column
        label="条码号"
        align="center"
        prop="batchNumber"
        width="210"
        show-overflow-tooltip
      />
      <!-- <el-table-column
        label="条码号"
        align="center"
        prop="qrCode"
        min-width="170"
        fixed="left"
        show-overflow-tooltip
      /> -->
      <el-table-column
        label="物料编码"
        align="center"
        prop="materialNo"
        width="130"
        show-overflow-tooltip
      />
      <el-table-column
        label="物料名称"
        align="center"
        prop="materialName"
        width="120"
        show-overflow-tooltip
      />
      <el-table-column
        label="存货规格型号"
        align="center"
        prop="size"
        width="100"
        show-overflow-tooltip
      />
      <el-table-column
        label="宽度"
        align="center"
        prop="width"
        width="100"
        show-overflow-tooltip
      />
      <el-table-column
        label="长度"
        align="center"
        prop="length"
        width="100"
        show-overflow-tooltip
      />
      <el-table-column
        label="仓库"
        align="center"
        prop="erpStockId"
        width="100"
        show-overflow-tooltip
      />
      <el-table-column
        label="区域"
        align="center"
        prop="wmsStoreAreaId"
        width="100"
        show-overflow-tooltip
      />
      <el-table-column
        label="货位"
        align="center"
        prop="wmsStoreId"
        width="100"
        show-overflow-tooltip
      />
      <!-- <el-table-column
        label="批号"
        align="center"
        prop="batchNumber"
        width="120"
        show-overflow-tooltip
      /> -->
      <el-table-column
        label="来料批次"
        align="center"
        prop="materialLots"
        width="180"
        show-overflow-tooltip
      />
      <el-table-column
        label="供应商"
        align="center"
        prop="supplierName"
        min-width="100"
        show-overflow-tooltip
      />
      <el-table-column
        label="数量"
        align="center"
        prop="inQty"
        width="80"
        show-overflow-tooltip
      />
      <el-table-column
        label="单位"
        align="center"
        prop="unit"
        width="60"
        show-overflow-tooltip
      />
    </el-table>
  </el-card>
</template>

<script>
export default {
  name: "MainMaterial",
  components: {},
  data() {
    return {
      // 遮罩层
      loading: false,
      // 显示搜索条件
      showSearch: true,
      isEdit: false,
      // 总条数
      total: 0,
      // 分切任务单列表
      list: [],
      currentRows: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNo: 1,
        pageSize: 10,
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {},
      currentRow: {},
    };
  },
  created() {},
  methods: {
    /** 查询列表 */
  },
};
</script>

<style scoped>
.card-title {
  font-size: 14px;
}
</style>
