<template>
  <el-select v-model="val" :disabled="!invCode" placeholder="请选择单据类型"
             style="width: 90%"
             clearable>
    <el-option
      v-for="item in list"
      :key="item.name"
      :label="item.name"
      :value="item.action">
      <span style="float: left">{{ item.name }}</span>
    </el-option>
  </el-select>
</template>

<script src="./index.js">
</script>
