| | |
| | | prop: "controlValue", |
| | | }, |
| | | { |
| | | label: "检验值", |
| | | label: "化验值", |
| | | prop: "testValue", |
| | | dataType: 'slot', |
| | | slot: 'slot', |
| | |
| | | form.value.testStandardId = savedTestStandardId; |
| | | } |
| | | } |
| | | // 编辑场景保留已有检验值,直接拉取原参数数据 |
| | | // 编辑场景保留已有化验值,直接拉取原参数数据 |
| | | getQualityInspectParamList(row.id); |
| | | }); |
| | | }); |
| | |
| | | prop: "controlValue", |
| | | }, |
| | | { |
| | | label: "检验值", |
| | | label: "化验值", |
| | | prop: "testValue", |
| | | dataType: 'slot', |
| | | slot: 'slot', |
| | |
| | | prop: "controlValue", |
| | | }, |
| | | { |
| | | label: "检验值", |
| | | label: "化验值", |
| | | prop: "testValue", |
| | | dataType: 'slot', |
| | | slot: 'slot', |
| | |
| | | if (matchedOption) { |
| | | // 确保使用匹配项的 id(保持类型一致) |
| | | form.value.testStandardId = matchedOption.id; |
| | | // 编辑保留原检验值,直接拉取原参数数据 |
| | | // 编辑保留原化验值,直接拉取原参数数据 |
| | | getQualityInspectParamList(row.id); |
| | | } else { |
| | | // 如果找不到匹配项,尝试直接使用原值 |
| | |
| | | prop: "controlValue", |
| | | }, |
| | | { |
| | | label: "检验值", |
| | | label: "化验值", |
| | | prop: "testValue", |
| | | dataType: 'slot', |
| | | slot: 'slot', |
| | |
| | | prop: "controlValue", |
| | | }, |
| | | { |
| | | label: "检验值", |
| | | label: "化验值", |
| | | prop: "testValue", |
| | | dataType: 'slot', |
| | | slot: 'slot', |
| | |
| | | if (matchedOption) { |
| | | // 确保使用匹配项的 id(保持类型一致) |
| | | form.value.testStandardId = matchedOption.id; |
| | | // 编辑保留原检验值,直接拉取原参数数据 |
| | | // 编辑保留原化验值,直接拉取原参数数据 |
| | | getQualityInspectParamList(row.id); |
| | | } else { |
| | | // 如果找不到匹配项,尝试直接使用原值 |
| | |
| | | prop: "controlValue", |
| | | }, |
| | | { |
| | | label: "检验值", |
| | | label: "化验值", |
| | | prop: "testValue", |
| | | dataType: 'slot', |
| | | slot: 'slot', |