<template>
  <div class="detail-container">
    <el-form
      label-position="right"
      label-width="150px"
      style="max-height: 60vh; overflow-y: auto; padding-right: 50px"
    >
      <el-row :gutter="20">
        <el-col :span="12">
          <el-form-item label="物资名称:">
            <el-input disabled v-model="detailData.wzmc" />
          </el-form-item>
          <el-form-item label="余量:">
            <el-input disabled v-model="detailData.ye" />
          </el-form-item>
          <el-form-item label="入库日期:">
            <el-input disabled v-model="detailData.rkrq" />
          </el-form-item>
          <el-form-item label="入库单位:">
            <el-input disabled v-model="detailData.rkdw" />
          </el-form-item>
          <el-row :gutter="20">
            <el-col :span="12">
              <el-form-item label="数量:">
                <el-input disabled v-model="detailData.sl"/>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="单位:">
                <el-input disabled v-model="detailData.dw" /> </el-form-item
            ></el-col>
          </el-row>
        </el-col>
        <el-col :span="12">
          <el-form-item label="存放地点:">
            <el-input disabled v-model="detailData.cfdd" />
          </el-form-item>
          <el-form-item label="负责人:">
            <el-input disabled v-model="detailData.fzr" />
          </el-form-item>
          <el-form-item label="联系电话:">
            <el-input disabled v-model="detailData.lxdh" />
          </el-form-item>
          <el-form-item label="区县名称:">
            <el-input disabled v-model="detailData.qxmc" />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script setup>
const props = defineProps({
  detailData: {
    type: Object,
    default: () => ({}),
  },
});
</script>

<style>
</style>