| | |
| | | placeholder="请选择设备所属分类" |
| | | :disabled="formDisabled" |
| | | :triggerChange="true" |
| | | dictCode="mom_eam_equipment_category,name,id" |
| | | :dictCode="'mom_eam_equipment_category,name,id,equipment_category_uda1 = '+'\''+caytegoryParam+'\''" |
| | | v-model="model.equipmentCategoryId" |
| | | /> |
| | | </a-form-model-item> |
| | |
| | | >维护及使用信息</a-divider> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="维修部门" |
| | | label="维护部门" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="manageId" |
| | |
| | | style="width: 100%" |
| | | :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" |
| | | :tree-data="treeData" |
| | | placeholder="请选择维修部门" |
| | | placeholder="请选择维护部门" |
| | | tree-default-expand-all |
| | | v-model="model.manageId" |
| | | /> |
| | |
| | | default: false, |
| | | required: false |
| | | }, |
| | | caytegoryParam:{ |
| | | type:String, |
| | | default: '', |
| | | required: false |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | edit(record) { |
| | | console.log(this.disabled) |
| | | this.model = Object.assign({}, record); |
| | | if(!this.model.id){ |
| | | this.model.equipmentStatus = '1' |
| | | } |
| | | this.visible = true; |
| | | }, |
| | | close() { |