gaoluyang
2025-02-15 b429921369229f0df5babd6f377c0311c41a7a76
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();
              }
            })
          }