diff --git a/src/views/wms/equipment/index.vue b/src/views/wms/equipment/index.vue
index ea5bb60f..32da0298 100644
--- a/src/views/wms/equipment/index.vue
+++ b/src/views/wms/equipment/index.vue
@@ -90,13 +90,13 @@
-
-
-
-
+
+
+
+
- {{ scope.row.status == 1 ? "是" : "否" }}
+ {{ scope.row.status == 1 ? "正常" : "停用" }}
@@ -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" }
]
}
};