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 |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue
index 39c53dc..1011779 100644
--- a/src/components/view/b1-inspect-order-plan.vue
+++ b/src/components/view/b1-inspect-order-plan.vue
@@ -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