| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="预期用途" prop="expectedUse"> |
| | | <el-input v-model="form.expectedUse" placeholder="请输入预期用途" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="转数(转/min)" prop="rpm"> |
| | | <el-input-number :min="0" style="width: 100%" |
| | | v-model="form.rpm" |
| | |
| | | prop: "supplierName", |
| | | }, |
| | | { |
| | | label: "预期用途", |
| | | prop: "expectedUse", |
| | | }, |
| | | { |
| | | label: "转数(转/min)", |
| | | prop: "rpm", |
| | | }, |
| | |
| | | :rules="rules" |
| | | label-width="100px" |
| | | > |
| | | <el-form-item label="参数项" prop="parameterItem"> |
| | | <el-input v-model="form.parameterItem" placeholder="请输入参数项" /> |
| | | <el-form-item label="检测项目" prop="parameterItem"> |
| | | <el-input v-model="form.parameterItem" placeholder="请输入检测项目" /> |
| | | </el-form-item> |
| | | <el-form-item label="标准要求" prop="standardValue"> |
| | | <el-input v-model="form.standardValue" placeholder="标准要求" /> |
| | | </el-form-item> |
| | | <el-form-item label="单位" prop="unit"> |
| | | <el-input v-model="form.unit" placeholder="请输入单位" /> |
| | | </el-form-item> |
| | | <el-form-item label="标准值" prop="standardValue"> |
| | | <el-input v-model="form.standardValue" placeholder="请输入标准值" /> |
| | | </el-form-item> |
| | | <el-form-item label="内控值" prop="controlValue"> |
| | | <!-- <el-form-item label="内控值" prop="controlValue"> |
| | | <el-input v-model="form.controlValue" placeholder="请输入内控值" /> |
| | | </el-form-item> |
| | | <el-form-item label="默认值" prop="defaultValue"> |
| | | <el-input v-model="form.defaultValue" placeholder="请输入默认值" /> |
| | | </el-form-item> |
| | | </el-form-item>--> |
| | | </el-form> |
| | | </FormDialog> |
| | | </template> |
| | |
| | | const formRef = ref(null) |
| | | |
| | | const rules = { |
| | | parameterItem: [{ required: true, message: '请输入参数项', trigger: 'blur' }], |
| | | parameterItem: [{ required: true, message: '请输入检测项目', trigger: 'blur' }], |
| | | unit: [{ required: true, message: '请输入单位', trigger: 'blur' }] |
| | | } |
| | | |
| | |
| | | > |
| | | <el-table-column type="selection" width="48" align="center" /> |
| | | <el-table-column type="index" label="序号" width="60" align="center" /> |
| | | <el-table-column prop="parameterItem" label="参数项" min-width="120" /> |
| | | <el-table-column prop="parameterItem" label="检测项目" min-width="120" /> |
| | | <el-table-column prop="standardValue" label="标准要求" min-width="120" /> |
| | | <el-table-column prop="unit" label="单位" width="80" /> |
| | | <el-table-column prop="standardValue" label="标准值" min-width="120" /> |
| | | <el-table-column prop="controlValue" label="内控值" min-width="120" /> |
| | | <el-table-column prop="defaultValue" label="默认值" min-width="120" /> |
| | | <!-- <el-table-column prop="controlValue" label="内控值" min-width="120" />--> |
| | | <!-- <el-table-column prop="defaultValue" label="默认值" min-width="120" />--> |
| | | <el-table-column label="操作" width="140" fixed="right" align="center"> |
| | | <template #default="{ row }"> |
| | | <el-button link type="primary" size="small" :disabled="isStandardReadonly" @click="openParamDialog('edit', row)"> |