From b429921369229f0df5babd6f377c0311c41a7a76 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 15 二月 2025 16:36:05 +0800
Subject: [PATCH] 能力范围-产品维护联调
---
src/views/structural/capabilityAndLaboratory/capability/index.vue | 9 ++++-----
src/api/structural/capability.js | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/api/structural/capability.js b/src/api/structural/capability.js
index 75c7d63..666a78b 100644
--- a/src/api/structural/capability.js
+++ b/src/api/structural/capability.js
@@ -71,7 +71,7 @@
data: query
})
}
-// 鏌ヨ妫�楠屽璞$殑浜у搧
+// 鏌ヨ妫�楠屽璞$殑浜у搧缁存姢鍒楄〃
export function selectProductListByObjectId(query) {
return request({
url: '/capacityScope/selectProductListByObjectId',
diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index 61b29a9..3d3c034 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -528,10 +528,9 @@
this.objectId = row.id
this.getProductList(row)
},
- getProductList (row) {
+ getProductList () {
const params = {
- objectId: 0,
- partNo: row.partNo
+ id: this.objectId,
}
this.productableLoading = true
selectProductListByObjectId({...params, ...this.productPage}).then(res => {
@@ -561,7 +560,7 @@
if (res.code === 200) {
this.$message.success('鏂板鎴愬姛')
this.productEditDia = false
- this.refreshTable();
+ this.getProductList();
}
})
} else {
@@ -569,7 +568,7 @@
if (res.code === 200) {
this.$message.success('鏂板鎴愬姛')
this.productEditDia = false
- this.refreshTable();
+ this.getProductList();
}
})
}
--
Gitblit v1.9.3