<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.material.wzmc" />
          </el-form-item>
          <el-form-item label="余量:">
            <el-input disabled v-model="detailData.material.ye" />
          </el-form-item>
          <el-form-item label="入库日期:">
            <el-input disabled v-model="detailData.material.rkrq" />
          </el-form-item>
          <el-form-item label="入库单位:">
            <el-input disabled v-model="detailData.material.rkdw" />
          </el-form-item>
          <el-row :gutter="20">
            <el-col :span="12">
              <el-form-item label="数量:">
                <el-input disabled v-model="detailData.material.sl"/>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="单位:">
                <el-input disabled v-model="detailData.material.dw" /> </el-form-item
            ></el-col>
          </el-row>
        </el-col>
        <el-col :span="12">
          <el-form-item label="存放地点:">
            <el-input disabled v-model="detailData.material.cfdd" />
          </el-form-item>
          <el-form-item label="负责人:">
            <el-input disabled v-model="detailData.material.fzr" />
          </el-form-item>
          <el-form-item label="联系电话:">
            <el-input disabled v-model="detailData.material.lxdh" />
          </el-form-item>
          <el-form-item label="区县名称:">
            <el-input disabled v-model="detailData.materialqxmc" />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

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

<style>
</style>