From a29ed519245c178cbc3c2db6f9a47451add87257 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 03 四月 2025 16:21:30 +0800
Subject: [PATCH] 对象零件号绑定修改

---
 src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue b/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
index 8d13703..20a857f 100644
--- a/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
+++ b/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
@@ -142,7 +142,7 @@
                   type: "warning",
                 })
                   .then(() => {
-                    productPartReview({ id: row.id }).then((res) => {
+                    productPartReview({ id: row.id, type: this.type == 0 ? '瀵硅薄' : '浜у搧' }).then((res) => {
                       if (res.code == 200) {
                         this.$message.success("澶嶆牳閫氳繃");
                         this.getList();
@@ -268,7 +268,7 @@
     },
     getEditList() {
       this.tableLoading0 = true
-      productPartLogList({ id: this.currentPart.id, ...this.editPage }).then(res => {
+      productPartLogList({ id: this.currentPart.id, type: this.type == 0 ? '瀵硅薄' : '浜у搧', ...this.editPage }).then(res => {
         this.tableLoading0 = false
         if (res.code == 200) {
           this.editList = res.data.records

--
Gitblit v1.9.3