From c6c595785847e5b49609a989973f46a20d51a362 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 19 三月 2025 11:01:55 +0800
Subject: [PATCH] 检验任务复核-上传文件报错

---
 src/views/business/productOrder/components/add.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/business/productOrder/components/add.vue b/src/views/business/productOrder/components/add.vue
index bb0553c..b41c345 100644
--- a/src/views/business/productOrder/components/add.vue
+++ b/src/views/business/productOrder/components/add.vue
@@ -1130,7 +1130,9 @@
             sampleList.forEach(a => {
               if (a.insProduct.length > 0) {
                 a.insProduct.forEach(c => {
-                  delete c.id
+                  if (this.tabIndex != 4) {
+                    delete c.id
+                  }
                 })
               }
               if (a.endModels) {
@@ -1168,7 +1170,9 @@
           sampleList.forEach(a => {
             if (a.insProduct.length > 0) {
               a.insProduct.forEach(c => {
-                delete c.id
+                if (this.tabIndex != 4) {
+                  delete c.id
+                }
               })
             }
             if (a.endModels) {
@@ -1267,7 +1271,6 @@
         }
       },
       saveMethod(sampleList){
-        console.log('sampleList----', sampleList)
         this.saveLoad = true
         if (this.addObj.quarterItemId) {
           this.addObj.quarterItemId = this.addObj.quarterItemId[1]
@@ -1411,7 +1414,6 @@
         if (node.data.code === '[3]') {
           this.sampleViewEn = val.sampleTypeEn
         } else if (node.data.code === '[4]') {
-          console.log('node.data---', node.data)
           if (node.data.children!==null && node.data.children.length>0) {
             this.sampleViewEn = val.sampleEn
           }
@@ -1657,7 +1659,6 @@
       },
       tableRowClassName({row, rowIndex}) {
         if (row.state == 1) {
-          console.log('row.state---', row.state)
           return 'warning-row';
         } else {
           return '';
@@ -2224,4 +2225,8 @@
 >>>.warning-row {
   color: #1890FF;
 }
+.node_i {
+  color: orange;
+  font-size: 18px;
+}
 </style>

--
Gitblit v1.9.3