From 1eafd96fcd5d4bea8eb47bb6b5f888ff4af1a088 Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期四, 11 一月 2024 18:11:35 +0800 Subject: [PATCH] 维修添加实际用料 --- src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue b/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue index 399bc98..d31736e 100644 --- a/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue +++ b/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanForm.vue @@ -35,6 +35,7 @@ :triggerChange="true" dictCode="maintenance_type" v-model="model.type" + @change="(e)=>handleClearTable(e)" /> </a-form-model-item> </a-col> @@ -70,7 +71,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 +80,8 @@ </a-tab-pane> </a-tabs> <standard-select - @selectionRows='selectionRows' + @selectionEquipmentRows='selectionRows' + :maintenanceType="model.type" ref='standardSelectModel' ></standard-select> </a-spin> @@ -374,6 +376,10 @@ } }) }, + + handleClearTable(e) { + this.equipmentMaintenancePlanDetailTable.dataSource = [] + } } } </script> -- Gitblit v1.9.3