From 588bf7a941aa43c2962e1da094eeff8abc145dc3 Mon Sep 17 00:00:00 2001
From: ysn <2126564605@qq.com>
Date: Thu, 16 Apr 2026 13:23:45 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E5=88=86=E9=85=8D=E7=AE=A1?=
=?UTF-8?q?=E7=90=86-=E6=8F=92=E5=85=A5=E4=B8=80=E8=A1=8C-=E5=B7=A5?=
=?UTF-8?q?=E8=89=BA=E8=83=BD=E5=8A=9B-=E6=95=B0=E6=8D=AE=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../oem/outsourcingAssignmentControl/index.vue | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
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 {