| | |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="工序:" prop="process"> |
| | | <el-input v-model="form.process" placeholder="请输入" clearable/> |
| | | <el-select v-model="form.process" placeholder="请选择" clearable> |
| | | <el-option label="试压" value="试压" /> |
| | | <el-option label="抽检" value="抽检" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | import {ref, computed} from "vue"; |
| | | import {ref, computed, reactive, toRefs, getCurrentInstance} from "vue"; |
| | | import {getOptions} from "@/api/procurementManagement/procurementLedger.js"; |
| | | import {modelList, productTreeList} from "@/api/basicData/product.js"; |
| | | import {qualityInspectAdd, qualityInspectUpdate} from "@/api/qualityManagement/rawMaterialInspection.js"; |
| | |
| | | }); |
| | | } |
| | | getQualityInspectParamList(row.id) |
| | | } else { |
| | | // 新增时设置默认值 |
| | | form.value.unit = "包"; // 单位默认为包 |
| | | form.value.quantity = 3; // 数量默认为3 |
| | | form.value.checkResult = "合格"; // 检验结果默认为合格 |
| | | } |
| | | // 默认检验员为当前登录人,检测日期默认为当天(空时填充) |
| | | if (currentUserName.value && !form.value.checkName) { |