<template>
  <div class="detail-container">
    <el-form
      ref="formRef"
      label-position="right"
      label-width="auto"
      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.czy" />
          </el-form-item>
          <el-form-item label="辐射范围:">
            <el-input v-model="form.fsfw" />
          </el-form-item>
          <el-form-item label="管理人员:">
            <el-input v-model="form.glry" />
          </el-form-item>
          <el-form-item label="购买费用（万元）:">
            <el-input v-model="form.gmfy" />
          </el-form-item>
          <el-form-item label="购置日期:">
            <el-input v-model="form.gzrq" />
          </el-form-item>
          <el-form-item label="区县名称:">
            <el-input v-model="form.qxmc" />
          </el-form-item>
          <el-form-item label="设备编号:">
            <el-input v-model="form.sbbh" />
          </el-form-item>
          <el-form-item label="设备大类:">
            <el-input v-model="form.sbdl" />
          </el-form-item>
          <el-form-item label="设备小类:">
            <el-input v-model="form.sbxl" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="设备名称:">
            <el-input v-model="form.sbmc" />
          </el-form-item>
          <el-form-item label="设备位置:">
            <el-input v-model="form.sbwz" />
          </el-form-item>
          <el-form-item label="设备经度:">
            <el-input v-model="form.jd" />
          </el-form-item>
          <el-form-item label="设备纬度:">
            <el-input v-model="form.wd" />
          </el-form-item>
          <el-form-item label="设备型号:">
            <el-input v-model="form.sbxh" />
          </el-form-item>
          <el-form-item label="设备状态:">
            <el-select v-model="form.sbzt" placeholder="请选择" clearable>
              <el-option label="完好" value="完好" />
              <el-option label="损坏" value="损坏" />
              <el-option label="报废" value="报废" />
            </el-select>
          </el-form-item>
          <el-form-item label="生产厂家:">
            <el-input v-model="form.sccj" />
          </el-form-item>
          <el-form-item label="是否应急设备:">
            <el-input v-model="form.sfyjsb" />
          </el-form-item>
          <el-form-item label="是否纳入市级补助范围:">
            <el-input v-model="form.sfnrsjbz" />
          </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({
  detailData: {
    type: Object,
    default: () => ({}),
  },
  form: {
    type: Object,
    default: () => ({}),
  },
});
</script>
  
  <style>
</style>