<template>
  <el-select v-model="invCode" placeholder="请选择所属仓库" clearable
             style="width: 90%"
             @change="invChange"
  >
    <el-option
      v-for="item in invList"
      :key="item.name"
      :label="item.name"
      :value="item.code">
      <span style="float: left">{{ item.name }}</span>
    </el-option>
  </el-select>
</template>

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