<template>
  <div class="baseInfo">
    <el-form>
      <el-row>
        <el-col :span="8">
          <el-form-item label="编码">
            <span>{{ baseInfo.assetCode }}</span>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="名称">
            <span>{{ baseInfo.assetName }}</span>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="类型">
            <span>{{ getDictValue('类型用途', baseInfo.assetType) }}</span>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="牌号">
            <span>{{ baseInfo.brandNum }}</span>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="型号">
            <span>{{ baseInfo.modelType }}</span>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="计量单位">
            <span>{{ baseInfo.unit }}</span>
          </el-form-item>
        </el-col>
        <!-- <el-col :span="8">
        <el-form-item label="包装单位">
          <span>{{ baseInfo.minPackUnit }}</span>
        </el-form-item>
      </el-col> -->
        <!-- <el-col :span="8">
        <el-form-item label="最小单元">
          <span>{{ baseInfo.unit }}/{{ baseInfo.minPackUnit }}</span>
        </el-form-item>
      </el-col> -->
        <el-col :span="8">
          <el-form-item label="保质期">
            <span></span>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label="备注">
            <span></span>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
  // import { useDictLabelFilter } from '@/utils/dict/index'
  // import { warehousingType } from '@/utils/dict/warehouse'
  // import dictMixins from '@/mixins/dictMixins'
  export default {
    // mixins: [dictMixins],
    props: {
      baseInfo: {
        type: Object,
        default: () => ({})
      }
    },
    filters: {
      // useDictLabelFilter: useDictLabelFilter
    },
    data() {
      return {
        warehousingType
      };
    },
    created() {
      this.requestDict('类型用途');
    }
  };
</script>
