| | |
| | | <!-- 主表单区域 --> |
| | | <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail"> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item |
| | | label="关键设备标识" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="specificEquipment" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="请选择关键设备标识" |
| | | :disabled="formDisabled" |
| | | :triggerChange="true" |
| | | dictCode="specific_equipment" |
| | | v-model="model.specificEquipment" |
| | | @change="(e) =>standardResultCompute(e)" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form-model> |
| | | </j-form-container> |
| | |
| | | } |
| | | this.$refs.keyEquipmentUpdateTable.pushRows(addRows) |
| | | }, |
| | | standardResultCompute(e){ |
| | | let tableData =this.$refs.keyEquipmentUpdateTable.getTableData(); |
| | | for(var i = 0;i<tableData.length;i++){ |
| | | let row = this.$refs.keyEquipmentUpdateTable.getRowById(tableData[i].equipmentId); |
| | | row['specificEquipment']=e |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |