<template>
  <el-form
    class="info"
    inline
    label-position="top"
  >
    <template v-for="item in formItems">
      <el-form-item :key="item.prop" :label="item.label" :prop="item.prop">
        <el-input v-model="info[item.prop]" disabled></el-input>
      </el-form-item>
    </template>
  </el-form>
</template>

<script>
export default {
  props: ['info'],
  created () {
  },
  mounted () {
  },

  data () {
    return {
      formItems: [
        { label: '仓库编码', prop: 'cdwhCode' },
        { label: '仓库名称', prop: 'cdwhName' },
        { label: '仓库描述', prop: 'cdwhDesc' },
        { label: '使用面积', prop: 'cdwhArea' },
        { label: '面积单位', prop: 'cdwhAreaUnit' },
        { label: '仓库库容', prop: 'cdwhStorageCapacity' },
        { label: '库容单位', prop: 'cdwhStorageUnit' },
        { label: '货主数量', prop: 'ownerNum' },
        { label: '商品数量', prop: 'skuNum' },
      ],
    }
  },
  methods: {},
}
</script>

<style lang="scss" scoped>

</style>
