abc
“linengliang”
2024-01-12 1734a38a212673438c2a0d0d4fd945eb5f74c1aa
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>