| | |
| | | <a-col :span="12"> |
| | | <a-form-item label="类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input :disabled="disableSubmit" placeholder="请输入类型" |
| | | v-decorator="['type', validatorRules.type]"/> |
| | | v-decorator="['vacationType', validatorRules.vacationType]"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | this.model = Object.assign({}, record) |
| | | this.visible = true |
| | | this.$nextTick(() => { |
| | | this.form.setFieldsValue(pick(this.model, 'equipmentId', 'equipmentName', 'vacationDate', 'type', 'notes', |
| | | this.form.setFieldsValue(pick(this.model, 'equipmentId', 'equipmentName', 'vacationDate', 'vacationType', 'notes', |
| | | )) |
| | | }) |
| | | }, |