src/views/qualityManagement/rawMaterialInspection/components/formDia.vue
@@ -315,7 +315,8 @@ if (operationType.value === 'edit' || operationType.value === 'view') { // 先保存 testStandardId,避免被清空 const savedTestStandardId = row.testStandardId; form.value = {...row} const { passRate, ...rowWithoutPassRate } = row; form.value = { ...rowWithoutPassRate, testStandardId: "" }; currentProductId.value = row.productId || 0 // 关键:编辑时加载规格型号下拉选项,才能反显 productModelId if (currentProductId.value) {