| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | | <a-form-model-item label="质保开始日期"> |
| | | <a-date-picker v-model="model.warrantyStartDate" value-format="YYYY-MM-DD" style="width:100%"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | | <a-form-model-item label="质保结束日期"> |
| | | <a-date-picker v-model="model.warrantyEndDate" value-format="YYYY-MM-DD" style="width:100%"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | | <a-form-model-item label="ABC标识"> |
| | | <j-dict-select-tag dict-code="abc_flag" placeholder="请选择ABC标识" v-model="model.abcFlag"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="customSpan"> |
| | | <a-form-model-item prop="repairDepartOrgCode" label="维修班组"> |
| | | <a-input placeholder="请选择维修班组" v-model="model.repairDepartOrgCode"/> |
| | |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | | <a-form-model-item label="灭火器"> |
| | | <a-input placeholder="请输入灭火器" v-model="model.fireExtinguisher"/> |
| | | <j-dict-select-tag dict-code="yn" type="radio" v-model="model.fireExtinguisher"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | | <a-form-model-item label="灭火器有效期"> |
| | | <a-date-picker v-model="model.fireExtinguisherExpirationDate" value-format="YYYY-MM-DD" |
| | | style="width:100%"/> |
| | | <a-input :disabled="!Boolean(+model.fireExtinguisher)" |
| | | v-model="model.fireExtinguisherExpirationDate" placeholder="请输入灭火器有效期"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | |
| | | <a-row> |
| | | <a-col :span="customSpan"> |
| | | <a-form-model-item label="系统"> |
| | | <a-input placeholder="请输入系统" v-model="model.system"/> |
| | | <a-input placeholder="请输入系统" :disabled="Boolean(+model.operationSystem)" v-model="model.system"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | | <a-form-model-item label="坐标数量"> |
| | | <a-input-number placeholder="请输入坐标数量" v-model="model.coordinateNum" :min="0" style="width: 100%"/> |
| | | <a-input-number placeholder="请输入坐标数量" v-model="model.coordinateNum" :min="0" :max="12" |
| | | style="width: 100%"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | |
| | | |
| | | <a-row> |
| | | <a-col :span="customSpan"> |
| | | <a-form-model-item label="总功率"> |
| | | <a-input placeholder="请输入总功率" v-model="model.equipmentPower"/> |
| | | <a-form-model-item label="总功率(KW)"> |
| | | <a-input-number placeholder="请输入总功率(KW)" v-model="model.equipmentPower" :min="0" |
| | | style="width: 100%"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="customSpan"> |
| | |
| | | add() { |
| | | this.editable = false |
| | | //初始化默认值 |
| | | this.model = {} |
| | | this.model = { |
| | | operationSystem: 1, |
| | | fireExtinguisher: 0 |
| | | } |
| | | this.visible = true |
| | | }, |
| | | |