From 10d13c202497ac0499767c2e4bb250086b293310 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 15 二月 2025 16:36:37 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/lims_new_20250213' into lims_new_20250213

---
 src/views/structural/capabilityAndLaboratory/capability/index.vue |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index d026e38..3d3c034 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -159,7 +159,6 @@
             {
               name: '缂栬緫',
               type: 'text',
-              icon: 'el-icon-edit',
               clickFun: (row) => {
                 this.editForm(row);
               },
@@ -167,7 +166,6 @@
             {
               name: '鍒犻櫎',
               type: 'text',
-              icon: 'el-icon-delete',
               clickFun: (row) => {
                 this.delete(row);
               },
@@ -251,7 +249,6 @@
             {
               name: '缂栬緫',
               type: 'text',
-              icon: 'el-icon-edit',
               clickFun: (row) => {
                 this.editTestObjectForm(row);
               },
@@ -259,7 +256,6 @@
             {
               name: '鍒犻櫎',
               type: 'text',
-              icon: 'el-icon-delete',
               clickFun: (row) => {
                 this.deleteTest(row);
               },
@@ -532,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 => {
@@ -565,7 +560,7 @@
               if (res.code === 200) {
                 this.$message.success('鏂板鎴愬姛')
                 this.productEditDia = false
-                this.refreshTable();
+                this.getProductList();
               }
             })
           } else {
@@ -573,7 +568,7 @@
               if (res.code === 200) {
                 this.$message.success('鏂板鎴愬姛')
                 this.productEditDia = false
-                this.refreshTable();
+                this.getProductList();
               }
             })
           }

--
Gitblit v1.9.3