| | |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row :gutter="24" > |
| | | <a-col :span="24"> |
| | | <a-form-item label="维修类型" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-radio-group v-decorator="['mdcRepairType', validatorRules.mdcRepairType]"> |
| | | <a-radio :value="1"> |
| | | 维修 |
| | | </a-radio> |
| | | <a-radio :value="2"> |
| | | 休班 |
| | | </a-radio> |
| | | </a-radio-group> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item label="开始时间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item v-show="this.mesag == 1" label="维修类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input :disabled="disableSubmit" :readOnly="readOnly" placeholder="请选择设备类型" |
| | | :triggerChange="true" |
| | | v-decorator="['mdcRepairType', validatorRules.mdcRepairType]"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <!--<a-row :gutter="24">--> |
| | | <!--<a-col :span="12">--> |
| | | <!--<a-form-item v-show="this.mesag == 1" label="维修类型" :labelCol="labelCol" :wrapperCol="wrapperCol">--> |
| | | <!--<a-input :disabled="disableSubmit" :readOnly="readOnly" placeholder="请选择设备类型"--> |
| | | <!--:triggerChange="true"--> |
| | | <!--v-decorator="['mdcRepairType', validatorRules.mdcRepairType]"/>--> |
| | | <!--</a-form-item>--> |
| | | <!--</a-col>--> |
| | | <!--</a-row>--> |
| | | </a-form> |
| | | </a-spin> |
| | | <device-repair-list-model ref="deviceRepairListModel" @sendSelectionRows="getDeviceRows"></device-repair-list-model> |
| | |
| | | import { |
| | | duplicateCheck |
| | | } from '@/api/api' |
| | | import AFormItem from 'ant-design-vue/es/form/FormItem' |
| | | |
| | | export default { |
| | | name: 'DeviceRepairModel', |
| | | components: {DeviceRepairListModel,JDate}, |
| | | components: { AFormItem, DeviceRepairListModel,JDate}, |
| | | props: {}, |
| | | data() { |
| | | return { |
| | |
| | | |
| | | disableSubmit: true, |
| | | partCategoryCascade: [], |
| | | cascadeDefaultValue: [] |
| | | cascadeDefaultValue: [], |
| | | } |
| | | |
| | | }, |
| | | created() { |
| | | }, |
| | |
| | | obj.then((res) => { |
| | | if (res.success) { |
| | | // that.$message.success("添加成功") |
| | | that.$notification.warning({ |
| | | that.$notification.success({ |
| | | message:'消息', |
| | | description:"添加成功" |
| | | }); |
| | |
| | | }, |
| | | checkboxChange(e) { |
| | | this.checked = e.target.checked |
| | | } |
| | | }, |
| | | } |
| | | } |
| | | </script> |