diff --git a/src/views/oem/outsourcingAssignmentControl/index.vue b/src/views/oem/outsourcingAssignmentControl/index.vue index fa5e933..6cf5354 100644 --- a/src/views/oem/outsourcingAssignmentControl/index.vue +++ b/src/views/oem/outsourcingAssignmentControl/index.vue @@ -21,7 +21,7 @@ 保存 @@ -388,6 +388,22 @@ export default { // this.loading = false // }) // }, + // 供应商选择变化时获取工艺能力 + handleSupplierChange(row) { + if (row.oemId) { + getProcessAbility({ supplierId: row.oemId }).then(res => { + row.abilityData = res.data.data || []; + // 重置工艺能力选择 + row.platingId = ''; + }).catch(() => { + row.abilityData = []; + row.platingId = ''; + }); + } else { + row.abilityData = []; + row.platingId = ''; + } + }, async onLoad() { this.loading = true; try {