<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: 'ownerCode' },
        { label: '货主名称', prop: 'ownerName' },
        { label: '英文名称', prop: 'ebcuNameEn' },
        { label: '简称', prop: 'ebcuShortName' },
        { label: '状态', prop: 'recStatus' },
        { label: '电话', prop: 'ebcuTel' },
        { label: '地址', prop: 'ebcuAddress' },
        { label: '商品总体积', prop: 'cubic' },
        { label: '商品总重量', prop: 'weight' },
        { label: '占用库位数量', prop: 'locnum' },
        { label: '库位占用比(%)', prop: 'locRate' },
      ],
    }
  },
  methods: {},
}
</script>

<style lang="scss" scoped>

</style>
