From 08bb85ea6e67dcef3c378fa73db060d4e279e7d6 Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期一, 18 十二月 2023 14:28:44 +0800
Subject: [PATCH] 三级保养

---
 src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue b/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue
index 399bc98..7938c7f 100644
--- a/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue
+++ b/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue
@@ -70,7 +70,7 @@
             <a-button
               type='primary'
               @click='standardSelect'
-              :disabled="formDisabled"
+              :disabled="formDisabled||model.type===null||model.type===undefined||model.type===''"
               icon="plus"
             >璁惧-淇濆吇鏍囧噯
             </a-button>
@@ -79,7 +79,8 @@
       </a-tab-pane>
     </a-tabs>
     <standard-select
-      @selectionRows='selectionRows'
+      @selectionEquipmentRows='selectionRows'
+      :maintenanceType="model.type"
       ref='standardSelectModel'
     ></standard-select>
   </a-spin>

--
Gitblit v1.9.3