| | |
| | | :triggerChange="true" |
| | | dictCode="maintenance_type" |
| | | v-model="model.type" |
| | | @change="(e)=>handleClearTable(e)" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | <a-button |
| | | type='primary' |
| | | @click='standardSelect' |
| | | :disabled="formDisabled" |
| | | :disabled="formDisabled||model.type===null||model.type===undefined||model.type===''" |
| | | icon="plus" |
| | | >设备-保养标准 |
| | | </a-button> |
| | |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | <standard-select |
| | | @selectionRows='selectionRows' |
| | | @selectionEquipmentRows='selectionRows' |
| | | :maintenanceType="model.type" |
| | | ref='standardSelectModel' |
| | | ></standard-select> |
| | | </a-spin> |
| | |
| | | ids.push(tableData[i].standardId) |
| | | } |
| | | this.$refs.standardSelectModel.showModal(ids) |
| | | this.$refs.standardSelectModel.title = '选择精度参数' |
| | | this.$refs.standardSelectModel.title = '选择设备' |
| | | this.$refs.standardSelectModel.disableSubmit = false |
| | | }, |
| | | addSelected(data) { |
| | |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | handleClearTable(e) { |
| | | this.equipmentMaintenancePlanDetailTable.dataSource = [] |
| | | } |
| | | } |
| | | } |
| | | </script> |