From 300833fb40ffd6c16d3099901c0f2212505c3fe4 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 26 八月 2026 09:56:19 +0800
Subject: [PATCH] 实验室赋默认值

---
 src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue |    2 +-
 src/views/business/productOrder/index.vue                                      |   25 ++++++++++++++++---------
 2 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/src/views/business/productOrder/index.vue b/src/views/business/productOrder/index.vue
index d551fbe..720cfa7 100644
--- a/src/views/business/productOrder/index.vue
+++ b/src/views/business/productOrder/index.vue
@@ -1213,15 +1213,22 @@
       upPlanUser2({
         orderId: row.id,
       }).then(res => {
-        if (res.code === 200 && res.data.length > 0) {
-          this.sonLaboratoryList = [];
-          res.data.forEach(m => {
-            this.sonLaboratoryList.push({
-              value: m,
-              label: m
-            })
-          })
-        }
+        this.sonLaboratoryList = [
+          {
+            value: '鏂拌仛',
+            label: '鏂拌仛'
+          }
+        ]
+        this.distributeData.sonLaboratory = '鏂拌仛'
+        // if (res.code === 200 && res.data.length > 0) {
+        //   this.sonLaboratoryList = [];
+        //   res.data.forEach(m => {
+        //     this.sonLaboratoryList.push({
+        //       value: m,
+        //       label: m
+        //     })
+        //   })
+        // }
       })
     },
     submitForm2() {
diff --git a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
index a236a5b..0544bf3 100644
--- a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
+++ b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
@@ -307,7 +307,7 @@
             sample: [], // 妫�楠屽璞�
             price: '', // 鍗曚环
             laboratory: '', // 鍦烘墍
-            sonLaboratory: '', // 璇曢獙瀹�
+            sonLaboratory: '鏂拌仛', // 璇曢獙瀹�
             askTell: '', // 瑕佹眰鎻忚堪
             ask: '', // 瑕佹眰鍊�
             unit: '', // 璁¢噺鍗曚綅

--
Gitblit v1.9.3