<template>
  <div class="detail-container">
    <el-form
      ref="formRef"
      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 v-model="form.wzmc" />
          </el-form-item>
          <el-form-item label="入库日期:">
            <el-date-picker
              type="date"
              placeholder="选择日期"
              v-model="form.rkrq"
            />
          </el-form-item>
          <el-form-item label="入库单位:">
            <el-input v-model="form.rkdw" />
          </el-form-item>
          <el-row :gutter="20">
            <el-col :span="12">
              <el-form-item label="数量:">
                <el-input-number v-model="form.sl" controls-position="right" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="单位:">
                <el-input v-model="form.dw" /> </el-form-item
            ></el-col>
          </el-row>
        </el-col>
        <el-col :span="12">
          <el-form-item label="存放地点:">
            <el-input v-model="form.cfdd" />
          </el-form-item>
          <el-form-item label="负责人:">
            <el-input v-model="form.fzr" />
          </el-form-item>
          <el-form-item label="联系电话:">
            <el-input v-model="form.lxdh" />
          </el-form-item>
          <el-form-item label="区县名称:">
            <el-input v-model="form.qxmc" />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>
  
  <script setup>
import { ref } from "vue";
const formRef = ref(null);
defineExpose({ formRef });

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