From 05170ec3d816960d4f8a38ec8d202cefe73b4179 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期二, 17 十月 2023 17:40:17 +0800
Subject: [PATCH] 保养问题项处理

---
 src/views/eam/EquipmentMaintenancePlanList.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/eam/EquipmentMaintenancePlanList.vue b/src/views/eam/EquipmentMaintenancePlanList.vue
index edbe67b..cd119cb 100644
--- a/src/views/eam/EquipmentMaintenancePlanList.vue
+++ b/src/views/eam/EquipmentMaintenancePlanList.vue
@@ -102,7 +102,7 @@
 
     <a-tabs defaultActiveKey="1">
       <a-tab-pane tab="淇濆吇璁″垝鏄庣粏" key="1" >
-        <EquipmentMaintenancePlanDetailList :mainId="equipmentMaintenancePlanDetailMainId" />
+        <EquipmentMaintenancePlanDetailList :mainId="equipmentMaintenancePlanDetailMainId" :mainStatus="mainStatus" />
       </a-tab-pane>
     </a-tabs>
 
@@ -221,6 +221,7 @@
         selectedMainId:'',
         superFieldList:[],
         equipmentMaintenancePlanDetailMainId: '',
+        mainStatus:'',
       }
     },
     created() {
@@ -253,6 +254,7 @@
         this.selectedRowKeys = selectedRowKeys;
         this.selectionRows = selectionRows;
         this.equipmentMaintenancePlanDetailMainId = selectionRows[0]['id']
+        this.mainStatus = selectionRows[0]['status']
       },
       loadData(arg) {
         if(!this.url.list){

--
Gitblit v1.9.3