| | |
| | | <el-table-column type="index" label="序号" width="60" align="center" /> |
| | | <el-table-column prop="parameterItem" 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="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 label="操作" width="140" fixed="right" align="center"> |
| | |
| | | remark: '', |
| | | state: '0', |
| | | inspectType: '', |
| | | processId: '' |
| | | processId: '', |
| | | inspectRule: 0, |
| | | sampleRatio: undefined |
| | | }, |
| | | standardRules: { |
| | | standardNo: [{ required: true, message: '请输入标准编号', trigger: 'blur' }], |
| | |
| | | label: '备注', |
| | | prop: 'remark', |
| | | minWidth: 160, |
| | | align: 'center' |
| | | }, |
| | | { |
| | | label: '检验规则', |
| | | prop: 'inspectRule', |
| | | minWidth: 100, |
| | | align: 'center', |
| | | formatData: (val) => val === 0 ? '全检' : val === 1 ? '抽检' : '' |
| | | }, |
| | | { |
| | | label: '抽检比例(%)', |
| | | prop: 'sampleRatio', |
| | | minWidth: 120, |
| | | align: 'center' |
| | | }, |
| | | { |
| | |
| | | remark: '', |
| | | state: '0', |
| | | inspectType: '', |
| | | processId: '' |
| | | processId: '', |
| | | inspectRule: 0, |
| | | sampleRatio: undefined |
| | | }) |
| | | } else if (type === 'edit' && row) { |
| | | Object.assign(standardForm.value, { |