From d1faa4f23135dabad9e2948842ba415eddfcc08b Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 08 四月 2025 14:00:37 +0800
Subject: [PATCH] 修改检验对象

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

diff --git a/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue b/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
index ed4a048..20a857f 100644
--- a/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
+++ b/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
@@ -23,7 +23,7 @@
             <el-input v-model="bindPartData.colorCode" size="small"></el-input>
           </el-form-item>
           <el-form-item label="杩涘巶妫�楠岄」锛�" prop="inspectionItem"
-            v-if="currentObj.objectType == '鍘熻緟鏂�' || currentObj.objectType == '鍖呮潗'" label-width="100px">
+            v-if="currentObj.objectType == '鍘熻緟鏉�' || currentObj.objectType == '鍖呮潗'" label-width="100px">
             <!-- <el-input v-model="bindPartData.inspectionItem" disabled placeholder="閫夋嫨妫�楠岄」" size="small">
               <template slot="append">
                 <el-button slot="append" icon="el-icon-search" @click="openItems"></el-button>
@@ -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();
@@ -201,7 +201,7 @@
         partNo: '', // 闆朵欢鍙�
         color: '', // 棰滆壊
         colorCode: '', // 鑹叉爣
-        inspectionItem: [],//鍘熻緟鏂欒繘鍘傛楠屽璞″垪琛�
+        inspectionItem: [],//鍘熻緟鏉愯繘鍘傛楠屽璞″垪琛�
       },
       bindPartDataRules: {
         partNo: [
@@ -212,7 +212,7 @@
       upIndex: 0,
 
       addBindLoad: false,
-      itemList: [],//鍘熻緟鏂欒繘鍘傛楠屽璞″垪琛�
+      itemList: [],//鍘熻緟鏉愯繘鍘傛楠屽璞″垪琛�
       editItem: false,
       editList: [],
       editColumn: [
@@ -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