From 2b45e5b3c7dbfb14aee6de42013a3caad8d486ba Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期一, 18 九月 2023 10:37:01 +0800 Subject: [PATCH] 设备备件 --- src/views/eam/PredictiveWorkPlanList.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/views/eam/PredictiveWorkPlanList.vue b/src/views/eam/PredictiveWorkPlanList.vue index 0a96f78..86c48d7 100644 --- a/src/views/eam/PredictiveWorkPlanList.vue +++ b/src/views/eam/PredictiveWorkPlanList.vue @@ -419,7 +419,10 @@ this.selectionRows = selectionRows this.planId = this.selectedRowKeys[0] this.equipmentId = selectionRows[0].equipment_id - this.isAdd = true + this.isAdd = selectionRows[0].status=='1'; + this.isDel = selectionRows[0].status=='1'; + this.isEdit = selectionRows[0].status=='1'; + }, onChange(e) { -- Gitblit v1.9.3