diff --git a/src/views/wms/machinery/index.vue b/src/views/wms/machinery/index.vue
index 90b8375..920fdfc 100644
--- a/src/views/wms/machinery/index.vue
+++ b/src/views/wms/machinery/index.vue
@@ -75,6 +75,7 @@
+
@@ -113,41 +114,36 @@
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
-
-
+
+
@@ -166,6 +162,7 @@ import { listMachinery, getMachinery, delMachinery, addMachinery, updateMachiner
export default {
name: "Machinery",
+ dicts: ['sys_normal_disable', 'equ_type'],
data() {
return {
// 遮罩层
@@ -220,15 +217,6 @@ export default {
machineryCode: [
{ required: true, message: "机台类型编码不能为空", trigger: "blur" }
],
- machineryName: [
- { required: true, message: "机台类型名称不能为空", trigger: "blur" }
- ],
- machineryTypeId: [
- { required: true, message: "机台类型ID不能为空", trigger: "blur" }
- ],
- workshopId: [
- { required: true, message: "所属车间ID不能为空", trigger: "blur" }
- ],
status: [
{ required: true, message: "机台状态不能为空", trigger: "change" }
],
@@ -239,6 +227,10 @@ export default {
this.getList();
},
methods: {
+ // 生成表头序号
+ indexMethod(index){
+ return index+1 ;
+ },
/** 查询机台管理列表 */
getList() {
this.loading = true;