<template>
  <el-form ref="form1" :model="form" label-width="120px">
    <el-row>
      <el-col :span="6">
        <el-form-item label="编码:" prop="sampleCode">
          <el-input
            clearable
            v-model="form.sampleCode"
            placeholder="请输入"
            disabled
          />
        </el-form-item>
      </el-col>
      <el-col :span="6">
        <el-form-item label="物品名称:" prop=" categoryName">
          <el-input v-model="form.categoryName" disabled />
        </el-form-item>
      </el-col>
      <el-col :span="6">
        <el-form-item label="物品编码:" prop=" categoryCode">
          <el-input v-model="form.categoryCode" disabled />
        </el-form-item>
      </el-col>
      <el-col :span="6">
        <el-form-item label="批次号:" prop=" batchNo">
          <el-input v-model="form.batchNo" disabled />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="6">
        <el-form-item label="规格:" prop=" specification">
          <el-input v-model="form.specification" disabled />
        </el-form-item>
      </el-col>
      <el-col :span="6">
        <el-form-item label="型号:" prop=" modelType">
          <el-input v-model="form.modelType" disabled />
        </el-form-item>
      </el-col>
      <el-col :span="6">
        <el-form-item label="牌号:" prop=" brandNo">
          <el-input v-model="form.brandNo" disabled />
        </el-form-item>
      </el-col>
      <el-col :span="6">
        <el-form-item label="重量:" prop="weight">
          <el-input type="number" v-model="form.weight" disabled />
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>
<script>
  //接口
  import { rules } from 'eslint-config-prettier';

  export default {
    components: {},
    props: {
      form: {
        type: Object,
        default: () => {}
      },
      btnType: {
        type: String,
        default: ''
      }
    },
    watch: {},
    data() {
      return {};
    },
    created() {},
    methods: {}
  };
</script>
<style lang="scss" scoped></style>
