| | |
| | | <a-form-model ref="form" :form="form" :model="model" :rules="validatorRules"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="设备编码" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="equipmentId"> |
| | | <a-form-model-item label="统一编码" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="equipmentId"> |
| | | <a-input-search :readOnly="true" |
| | | v-model="model.equipmentId" |
| | | :disabled="disSeach" @search="deviceSearch" enter-button placeholder='请选择设备编码' /> |
| | | :disabled="disSeach" @search="deviceSearch" enter-button placeholder='请选择统一编码' /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | |
| | | |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="设备功率" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-form-model-item label="设备功率(kw)" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input :disabled="disableSubmit" :readOnly="disableSubmit" allow-clear placeholder="请输入设备功率" |
| | | v-model="model.devicePower"/> |
| | | </a-form-model-item> |
| | |
| | | </a-spin> |
| | | |
| | | |
| | | <div class="drawer-bootom-button" v-show="!disableSubmit"> |
| | | <a-popconfirm title="确定放弃操作?" @confirm="handleCancel" okText="确定" cancelText="取消"> |
| | | <div class="drawer-bottom-button" v-show="!disableSubmit"> |
| | | <a-popconfirm title="确定放弃操作?" @confirm="close" okText="确定" cancelText="取消"> |
| | | <a-button style="margin-right: .8rem">取消</a-button> |
| | | </a-popconfirm> |
| | | <a-button @click="handleSubmit" type="primary" :loading="confirmLoading">提交</a-button> |
| | |
| | | }, |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 6 }, |
| | | sm: { span: 8 }, |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | |
| | | padding-bottom:10px; |
| | | } |
| | | |
| | | .drawer-bootom-button { |
| | | .drawer-bottom-button { |
| | | position: absolute; |
| | | bottom: -8px; |
| | | width: 100%; |