| | |
| | | </a-col> --> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="安全要求" |
| | | label="保养部位" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <a-input |
| | | allow-clear |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'请输入安全要求'" |
| | | v-decorator="['maintenanceRequire', validatorRules.maintenanceRequire ]" |
| | | :placeholder="disableSubmit?'':'请输入保养部位'" |
| | | v-decorator="['location', validatorRules.location ]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <!-- <a-col :span="12"> |
| | | <a-form-item |
| | | label="保养项目编号" |
| | | :labelCol="labelCol" |
| | |
| | | > |
| | | <a-input |
| | | allow-clear |
| | | :disabled="codeDisable" |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'请输入保养项目编号'" |
| | | v-decorator="['num', validatorRules.num ]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-col> --> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="保养项目名称" |
| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="保养标准" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <a-input |
| | | allow-clear |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'请输入保养标准'" |
| | | v-decorator="['standard', validatorRules.standard ]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <!-- <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="保养方法" |
| | |
| | | :placeholder="disableSubmit?'':'请输入保养工具'" |
| | | v-decorator="['maintenanceTool', validatorRules.maintenanceTool ]" |
| | | /> |
| | | <!-- dictCode="mom_eam_inspection_type,name,id,status!='0' and del_flag!='1'" --> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-row> --> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="保养标准" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <a-input |
| | | allow-clear |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'请输入保养标准'" |
| | | v-decorator="['standard', validatorRules.standard ]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | |
| | | <!-- <a-col :span="12"> |
| | | <a-form-item |
| | | label="维保专业" |
| | | :labelCol="labelCol" |
| | |
| | | v-decorator="['maintenanceSpecialtyId', validatorRules.maintenanceSpecialtyId]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-col> --> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <!-- <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="工时定额" |
| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | </a-row> --> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="24"> |
| | | <a-form-item |
| | |
| | | this.visible = true; |
| | | this.disableSubmit = false; |
| | | this.$nextTick(() => { |
| | | this.form.setFieldsValue(pick(this.model, 'maintenanceProjectCategoryNumName', 'maintenanceRequire', 'num', 'name', 'maintenanceMethod', 'maintenanceTool', 'maintenanceSpecialtyId', 'standard', 'workingHourQuota', 'remark')) |
| | | this.form.setFieldsValue(pick(this.model, 'maintenanceProjectCategoryNumName', 'maintenanceRequire', 'num', 'name', 'maintenanceMethod', 'maintenanceTool', 'maintenanceSpecialtyId', 'standard', 'workingHourQuota', 'location', 'remark')) |
| | | }); |
| | | if (record.id) { |
| | | this.codeDisable = true; |