|
|
|
@ -90,13 +90,13 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="设备名称" align="center" prop="equipmentName" />
|
|
|
|
|
<el-table-column label="规格型号" align="center" prop="equipmentSpec" />
|
|
|
|
|
<el-table-column label="设备类型编码" align="center" prop="equipmentTypeCode" width="100" />
|
|
|
|
|
<el-table-column label="设备类型名称" align="center" prop="equipmentTypeName" width="100"/>
|
|
|
|
|
<el-table-column label="所属车间编码" align="center" prop="workshopCode" width="100"/>
|
|
|
|
|
<el-table-column label="所属车间名称" align="center" prop="workshopName" width="100"/>
|
|
|
|
|
<el-table-column label="设备类型编码" align="center" prop="equipmentTypeCode" width="120" />
|
|
|
|
|
<el-table-column label="设备类型名称" align="center" prop="equipmentTypeName" width="120"/>
|
|
|
|
|
<el-table-column label="所属车间编码" align="center" prop="workshopCode" width="120"/>
|
|
|
|
|
<el-table-column label="所属车间名称" align="center" prop="workshopName" width="120"/>
|
|
|
|
|
<el-table-column label="设备状态" align="center" prop="status">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.status == 1 ? "是" : "否" }}
|
|
|
|
|
{{ scope.row.status == 1 ? "正常" : "停用" }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="单台能力工时" align="center" prop="unitWorkingHours" width="100"/>
|
|
|
|
@ -266,10 +266,10 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
options: [{
|
|
|
|
|
status: "1",
|
|
|
|
|
label: '是'
|
|
|
|
|
label: '正常'
|
|
|
|
|
}, {
|
|
|
|
|
status: "0",
|
|
|
|
|
label: '否'
|
|
|
|
|
label: '停用'
|
|
|
|
|
}],
|
|
|
|
|
// 表单参数
|
|
|
|
|
form: {},
|
|
|
|
@ -280,27 +280,6 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
equipmentName: [
|
|
|
|
|
{ required: true, message: "设备类型名称不能为空", trigger: "blur" }
|
|
|
|
|
],
|
|
|
|
|
equipmentTypeId: [
|
|
|
|
|
{ required: true, message: "设备类型ID不能为空", trigger: "blur" }
|
|
|
|
|
],
|
|
|
|
|
workshopId: [
|
|
|
|
|
{ required: true, message: "所属车间ID不能为空", trigger: "blur" }
|
|
|
|
|
],
|
|
|
|
|
status: [
|
|
|
|
|
{ required: true, message: "设备状态不能为空", trigger: "change" }
|
|
|
|
|
],
|
|
|
|
|
unitWorkingHours: [
|
|
|
|
|
{ required: true, message: "单台能力工时不能为空", trigger: "blur" }
|
|
|
|
|
],
|
|
|
|
|
workshopSection: [
|
|
|
|
|
{ required: true, message: "工段不能为空", trigger: "blur" }
|
|
|
|
|
],
|
|
|
|
|
equipmentLocation: [
|
|
|
|
|
{ required: true, message: "设备位置不能为空", trigger: "blur" }
|
|
|
|
|
],
|
|
|
|
|
hourlyUnitPrice: [
|
|
|
|
|
{ required: true, message: "工时单价不能为空", trigger: "blur" }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|