| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="使用部门" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="useId" |
| | | > |
| | | <a-tree-select |
| | | style="width: 100%" |
| | | :disabled="formDisabled" |
| | | :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" |
| | | :tree-data="treeData" |
| | | placeholder="请选择使用部门" |
| | | tree-default-expand-all |
| | | v-model="model.useId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="车间" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="factoryModelId" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请选择车间" |
| | | :triggerChange="true" |
| | | dictCode="mom_base_area,name,id,del_flag!='1'" |
| | | v-model="model.factoryModelId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="设备图片" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | |
| | | <a-row> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | | style="font-size: large;font-style: italic;color: #f20707;" |
| | | >维护及使用信息</a-divider> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="维护部门" |
| | | label="维修部门" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="manageId" |
| | |
| | | style="width: 100%" |
| | | :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" |
| | | :tree-data="treeData" |
| | | placeholder="请选择维护部门" |
| | | placeholder="请选择维修部门" |
| | | tree-default-expand-all |
| | | v-model="model.manageId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="使用部门" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="useId" |
| | | > |
| | | <a-tree-select |
| | | style="width: 100%" |
| | | :disabled="formDisabled" |
| | | :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" |
| | | :tree-data="treeData" |
| | | placeholder="请选择使用部门" |
| | | tree-default-expand-all |
| | | v-model="model.useId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="车间" |
| | | label="ABC标识" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="factoryModelId" |
| | | prop="equipmentImportanceId" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请选择资车间" |
| | | placeholder="请选择ABC标识" |
| | | :triggerChange="true" |
| | | dictCode="mom_base_factory_model,name,id,del_flag!='1'" |
| | | v-model="model.factoryModelId" |
| | | dictCode="ABC-standard-result" |
| | | @change="changeNeedSpecific" |
| | | v-model="model.equipmentImportanceId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="产线" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="workCenterId" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请选择产线" |
| | | :triggerChange="true" |
| | | dictCode="mom_base_work_center,name,id,del_flag!='1'" |
| | | v-model="model.workCenterId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="资产制造商" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="constructorId" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请选择资产制造商" |
| | | :triggerChange="true" |
| | | dictCode="mom_base_constructor,name,id,status!='0' and del_flag!='1'" |
| | | v-model="model.constructorId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | | >状态及标识</a-divider> |
| | | <a-col :span="6"> |
| | | <a-col |
| | | :span="6" |
| | | v-if="needSpecific" |
| | | > |
| | | <a-form-model-item |
| | | label="关键设备标识" |
| | | :labelCol="labelCol" |
| | |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="设备状态" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentStatus" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请输入设备状态" |
| | | :triggerChange="true" |
| | | dictCode="equipment_status" |
| | | v-model="model.equipmentStatus" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="技术状态" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="technologyStatus" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请选择技术状态" |
| | | :triggerChange="true" |
| | | dictCode="technology_status" |
| | | v-model="model.technologyStatus" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | | >出厂及安装信息</a-divider> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="出厂编号" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="factoryNumber" |
| | | > |
| | | <a-input |
| | | :disabled="formDisabled" |
| | | placeholder="请输入出厂编号" |
| | | v-model="model.factoryNumber" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="出厂日期" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="leaveFactoryDate" |
| | | > |
| | | <a-date-picker |
| | | :disabled="formDisabled" |
| | | placeholder="请输入出厂日期" |
| | | style="width: 100%;" |
| | | v-model="model.leaveFactoryDate" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="验收日期" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="acceptanceCheckDate" |
| | | > |
| | | <a-date-picker |
| | | :disabled="formDisabled" |
| | | placeholder="请输入验收日期" |
| | | style="width: 100%;" |
| | | v-model="model.acceptanceCheckDate" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="立项卡号" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="projectApprovalNo" |
| | | > |
| | | <a-input |
| | | v-model="model.projectApprovalNo" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入立项卡号" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="工区" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentUda1" |
| | | > |
| | | <a-input |
| | | v-model="model.equipmentUda1" |
| | | placeholder="请输入工区" |
| | | :disabled="formDisabled" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="重量" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentUda3" |
| | | > |
| | | <a-input |
| | | v-model="model.equipmentUda3" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入重量" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="重量计量单位" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentUda4" |
| | | > |
| | | <a-input |
| | | v-model="model.equipmentUda4" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入重量计量单位ID" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="安装位置" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="location" |
| | | > |
| | | <a-input |
| | | v-model="model.location" |
| | | placeholder="请输入安装位置" |
| | | :disabled="formDisabled" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="功能位置" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentUda5" |
| | | > |
| | | <a-input |
| | | v-model="model.equipmentUda5" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入功能位置" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="资金来源" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="fundSource" |
| | | > |
| | | <a-input |
| | | v-model="model.fundSource" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入资金来源" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="资产来源国家" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="sourceCountry" |
| | | > |
| | | <a-input |
| | | v-model="model.sourceCountry" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入资产来源国家" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="安全配置" |
| | |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="操作系统" |
| | |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="系统" |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="坐标数量" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="coordinateNum" |
| | | > |
| | | <a-form-model-item |
| | | label="坐标数量" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="coordinateNum" |
| | | > |
| | | <a-input-number |
| | | v-model="model.coordinateNum" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入坐标数量" |
| | | style="width: 100%" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <!-- <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="产线" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="workCenterId" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请选择产线" |
| | | :triggerChange="true" |
| | | dictCode="mom_base_work_center,name,id,del_flag!='1'" |
| | | v-model="model.workCenterId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> --> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="资产制造商" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="constructorId" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请选择资产制造商" |
| | | :triggerChange="true" |
| | | dictCode="mom_base_constructor,name,id,status!='0' and del_flag!='1'" |
| | | v-model="model.constructorId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | | >状态及标识</a-divider> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="设备状态" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentStatus" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请输入设备状态" |
| | | :triggerChange="true" |
| | | dictCode="equipment_status" |
| | | v-model="model.equipmentStatus" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="技术状态" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="technologyStatus" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请选择技术状态" |
| | | :triggerChange="true" |
| | | dictCode="technology_status" |
| | | v-model="model.technologyStatus" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="资产状态" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="propertyStatus" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请输入资产状态" |
| | | :triggerChange="true" |
| | | dictCode="property_status" |
| | | v-model="model.propertyStatus" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row v-if="model.propertyStatus=='warranty'"> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | | >质保日期</a-divider> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="质保开始日期" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="warrantyStart" |
| | | > |
| | | <j-date |
| | | :disabled="formDisabled" |
| | | style="width: 100%;" |
| | | placeholder="请选择开始日期" |
| | | class="query-group-cust" |
| | | v-model="model.warrantyStart" |
| | | ></j-date> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="质保结束日期" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="warrantyEnd" |
| | | > |
| | | <j-date |
| | | :disabled="formDisabled" |
| | | style="width: 100%;" |
| | | placeholder="请选择结束日期" |
| | | class="query-group-cust" |
| | | v-model="model.warrantyEnd" |
| | | ></j-date> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | | >出厂及安装信息</a-divider> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="出厂编号" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="factoryNumber" |
| | | > |
| | | <a-input |
| | | :disabled="formDisabled" |
| | | placeholder="请输入出厂编号" |
| | | v-model="model.factoryNumber" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="出厂日期" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="leaveFactoryDate" |
| | | > |
| | | <a-date-picker |
| | | :disabled="formDisabled" |
| | | placeholder="请输入出厂日期" |
| | | style="width: 100%;" |
| | | v-model="model.leaveFactoryDate" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="验收日期" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="acceptanceCheckDate" |
| | | > |
| | | <a-date-picker |
| | | :disabled="formDisabled" |
| | | placeholder="请输入验收日期" |
| | | style="width: 100%;" |
| | | v-model="model.acceptanceCheckDate" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="立项卡号" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="projectApprovalNo" |
| | | > |
| | | <a-input |
| | | v-model="model.projectApprovalNo" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入立项卡号" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <!-- <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="工区" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentUda1" |
| | | > |
| | | <a-input |
| | | v-model="model.equipmentUda1" |
| | | placeholder="请输入工区" |
| | | :disabled="formDisabled" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> --> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="重量" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentUda3" |
| | | > |
| | | <a-input |
| | | v-model="model.equipmentUda3" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入重量" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="重量计量单位" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentUda4" |
| | | > |
| | | <a-input |
| | | v-model="model.equipmentUda4" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入重量计量单位ID" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="安装位置" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="location" |
| | | > |
| | | <a-input |
| | | v-model="model.location" |
| | | placeholder="请输入安装位置" |
| | | :disabled="formDisabled" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="功能位置" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentUda5" |
| | | > |
| | | <a-input |
| | | v-model="model.equipmentUda5" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入功能位置" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="资金来源" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="fundSource" |
| | | > |
| | | <a-input |
| | | v-model="model.fundSource" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入资金来源" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="资产来源国家" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="sourceCountry" |
| | | > |
| | | <a-input |
| | | v-model="model.sourceCountry" |
| | | :disabled="formDisabled" |
| | | placeholder="请输入资产来源国家" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | | >ABC标识</a-divider> |
| | | </a-row> |
| | | <a-row> |
| | | </a-row> |
| | | <a-row hidden> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="平均使用率" |
| | |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row hidden> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="可替换性" |
| | |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="故障频率" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="standardE" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="请选择故障频率" |
| | | :disabled="formDisabled" |
| | | :triggerChange="true" |
| | | dictCode="ABC-standardE" |
| | | @change="standardResultCompute" |
| | | v-model="model.standardE" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="设备价值" |
| | |
| | | dictCode="ABC-standardF" |
| | | v-model="model.standardF" |
| | | @change="standardResultCompute" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="ABC标识" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="equipmentImportanceId" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="formDisabled" |
| | | placeholder="请选择ABC标识" |
| | | :triggerChange="true" |
| | | dictCode="ABC-standard-result" |
| | | v-model="model.equipmentImportanceId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | :read-only="true" |
| | | v-model="model.processParametersTemplateId_dictText" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | | >质保日期</a-divider> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="质保开始日期" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="warrantyStart" |
| | | > |
| | | <j-date :disabled="formDisabled" style="width: 100%;" placeholder="请选择开始日期" class="query-group-cust" v-model="model.warrantyStart"></j-date> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item |
| | | label="质保结束日期" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="warrantyEnd" |
| | | > |
| | | <j-date :disabled="formDisabled" style="width: 100%;" placeholder="请选择结束日期" class="query-group-cust" v-model="model.warrantyEnd"></j-date> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | equipmentCategoryId: [ |
| | | { required: true, message: '请选则设备类别!' }, |
| | | ], |
| | | specification:[ |
| | | { required: true, message: '请选则设备规格!' }, |
| | | specification: [ |
| | | { required: true, message: '请选则设备规格!' }, |
| | | ], |
| | | model:[ |
| | | { required: true, message: '请选则设备型号!' }, |
| | | model: [ |
| | | { required: true, message: '请选则设备型号!' }, |
| | | ], |
| | | equipmentImportanceId:[ |
| | | { required: true, message: '请选则设备ABC标识!' }, |
| | | equipmentImportanceId: [ |
| | | { required: true, message: '请选则设备ABC标识!' }, |
| | | ], |
| | | manageId:[ |
| | | { required: true, message: '请选择维护部门!' }, |
| | | manageId: [ |
| | | { required: true, message: '请选择维护部门!' }, |
| | | ], |
| | | useId:[ |
| | | { required: true, message: '请选择使用部门部门!' }, |
| | | useId: [ |
| | | { required: true, message: '请选择使用部门部门!' }, |
| | | ], |
| | | specificEquipment:[ |
| | | { required: true, message: '请选择关键设备标识!' }, |
| | | specificEquipment: [ |
| | | { required: true, message: '请选择关键设备标识!' }, |
| | | ], |
| | | equipmentStatus:[ |
| | | { required: true, message: '请选择设备状态!' }, |
| | | equipmentStatus: [ |
| | | { required: true, message: '请选择设备状态!' }, |
| | | ], |
| | | technologyStatus:[ |
| | | { required: true, message: '请选择设备状态!' }, |
| | | technologyStatus: [ |
| | | { required: true, message: '请选择设备状态!' }, |
| | | ], |
| | | workCenterId:[ |
| | | { required: true, message: '请选择设备产线!' }, |
| | | workCenterId: [ |
| | | { required: true, message: '请选择设备产线!' }, |
| | | ], |
| | | factoryModelId:[ |
| | | { required: true, message: '请选择设备车间!' }, |
| | | factoryModelId: [ |
| | | { required: true, message: '请选择设备车间!' }, |
| | | ], |
| | | warrantyStart:[ |
| | | { required: true, message: '请选择开始日期!' }, |
| | | warrantyStart: [ |
| | | { required: true, message: '请选择开始日期!' }, |
| | | ], |
| | | warrantyEnd:[ |
| | | { required: true, message: '请选择结束日期!' }, |
| | | ] |
| | | warrantyEnd: [ |
| | | { required: true, message: '请选择结束日期!' }, |
| | | ], |
| | | propertyStatus: [ |
| | | { required: true, message: '请选择资产状态!' }, |
| | | ], |
| | | }, |
| | | url: { |
| | | add: "/eam/equipment/add", |
| | |
| | | loadOptions: '/sys/sysDepart/loadDepartTreeOptions', |
| | | }, |
| | | treeData: [], |
| | | needSpecific: false, |
| | | |
| | | } |
| | | }, |
| | |
| | | }, |
| | | methods: { |
| | | add() { |
| | | this |
| | | this.edit(this.modelDefault); |
| | | }, |
| | | edit(record) { |
| | |
| | | sendPrecisionParametersTemplateRecord(data) { |
| | | let record = data.record; |
| | | this.model.precisionParametersTemplateId = record.id |
| | | this.model.precisionParametersTemplateId_dictText= record.name |
| | | this.model.precisionParametersTemplateId_dictText = record.name |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | standardResultCompute() { |
| | |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | |
| | | }, |
| | | changeNeedSpecific(val) { |
| | | if (val == 'A') { |
| | | this.needSpecific = true; |
| | | } else { |
| | | let that = this; |
| | | this.$confirm({ |
| | | title: '提示', |
| | | content: '非A类设备,是否要添加关键设备标识!', |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk() { |
| | | that.needSpecific = true; |
| | | }, |
| | | onCancel() { |
| | | that.needSpecific = false; |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | computed: { |