From ee2882cff02d3545b66c7591f88ed4800f730a9a Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 21 五月 2025 10:00:17 +0800
Subject: [PATCH] 消息通知数据自动筛选

---
 src/components/view/b1-inspect-order-plan.vue |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue
index e6d3f29..1011779 100644
--- a/src/components/view/b1-inspect-order-plan.vue
+++ b/src/components/view/b1-inspect-order-plan.vue
@@ -152,7 +152,7 @@
         <div class="search_thing">
           <div class="search_label">鏍峰搧缂栧彿锛�</div>
           <div class="search_input">
-            <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="componentData.entity.sampleCOde"
+            <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="componentData.entity.sampleCode"
               @keyup.enter.native="refreshTable()"></el-input>
           </div>
         </div>
@@ -425,6 +425,8 @@
     Inspection,
     Add
   },
+  props: ['entrustCodeNew', 'laboratoryNew'],
+
   data() {
     return {
       currentHistory: {},
@@ -1133,7 +1135,16 @@
         if (this.tabList.length > 0) {
           this.componentData.entity.sonLaboratory = this.tabList[0].value
         }
-        this.refreshTable()
+        if (this.entrustCodeNew) {
+          this.componentData.entity.entrustCode = this.entrustCodeNew
+
+        }
+        if (this.laboratoryNew) {
+          let index = this.tabList.findIndex(item => item.label == this.laboratoryNew)
+          this.componentData.entity.sonLaboratory = this.tabList[index].label
+          this.tabIndex = index;
+          this.refreshTable()
+        }
       })
     },
     selectAllByOne(row) {

--
Gitblit v1.9.3