<template>
  <div class="content">
    <el-form
      :model="form"
      label-width="120px"
      :rules="rules"
      ref="formRef"
    >
      <!-- 质量通知表单 -->
      <el-row :gutter="20">
        <el-col :span="12">
          <el-form-item label="编码" prop="number">
            <el-input v-model="form.number" placeholder="请选择编码"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="类型" prop="type">
            <el-input v-model="form.type" placeholder="请选择类型"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="描述" prop="description">
            <el-input v-model="form.description" placeholder="请输入描述"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="详情" prop="detail">
            <el-input v-model="form.detail" placeholder="请输入详情"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="优先级" prop="priority">
            <el-input v-model="form.priority" placeholder="请输入优先级"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="状态" prop="status">
            <el-input v-model="form.status" placeholder="请选择状态"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="报告人" prop="reporter">
            <el-input v-model="form.reporter" placeholder="请输入报告人"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="报告时间" prop="reportTime">
            <el-input v-model="form.reportTime" placeholder="请选择报告时间"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="要求开始时间" prop="requestStartTime">
            <el-input v-model="form.requestStartTime" placeholder="请选择要求开始时间"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="要求结束时间" prop="requestEndTime">
            <el-input v-model="form.requestEndTime" placeholder="请选择要求结束时间"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="是否造成停机" prop="whetherCausesMachineHalt">
            <el-input v-model="form.whetherCausesMachineHalt" placeholder="请选择是否造成停机"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="停机开始时间" prop="machineHaltStartTime">
            <el-input v-model="form.machineHaltStartTime" placeholder="请选择停机开始时间"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="停机结束时间" prop="machineHaltEndTime">
            <el-input v-model="form.machineHaltEndTime" placeholder="请选择停机结束时间"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="协调人" prop="coordinator">
            <el-input v-model="form.coordinator" placeholder="请输入协调人"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="任务模板编号" prop="taskTemplateCode">
            <el-input v-model="form.taskTemplateCode" placeholder="请输入任务模板编号"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="完成时间" prop="finishTime">
            <el-input v-model="form.finishTime" placeholder="请选择完成时间"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="参考通知编号" prop="referenceNoticeCode">
            <el-input v-model="form.referenceNoticeCode" placeholder="请输入参考通知编号"/>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>
<script setup lang="ts">
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
// 质量通知类型数据
const form = ref({})
const formRef = ref()
// 质量通知校验
const rules = ref({})
</script>
<style scoped lang="scss">
.content{
padding: 20px;
.type{
padding: 0px 20px 20px;}
}
</style>