From 0f027e506d299d1f0fc9b2febe9e1e71c12f3784 Mon Sep 17 00:00:00 2001
From: zds <2388969634@qq.com>
Date: Sat, 8 Oct 2022 06:57:32 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../em/equipmentfile/ChangeDialog.vue | 175 +++++++++++++++++-
1 file changed, 174 insertions(+), 1 deletion(-)
diff --git a/mes/qd/src/views/wms/basedata/em/equipmentfile/ChangeDialog.vue b/mes/qd/src/views/wms/basedata/em/equipmentfile/ChangeDialog.vue
index 5c80166d..d37e5ef4 100644
--- a/mes/qd/src/views/wms/basedata/em/equipmentfile/ChangeDialog.vue
+++ b/mes/qd/src/views/wms/basedata/em/equipmentfile/ChangeDialog.vue
@@ -100,6 +100,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -163,7 +304,7 @@ export default {
type: Object
}
},
- dicts: ['device_type', 'workorder_type', 'changetype', 'is_produceuse', 'device_status', 'EM_DEVICE_WX_INVTYPE', 'EM_DEVICE_BY_INVTYPE'],
+ dicts: ['EM_DEVICE_BY_INVSTATUS', 'EM_FAULT_LEVEL', 'EM_DEVICE_WX_INVSTATUS', 'EM_DEVICE_MAINT_OBJECT', 'EM_DEVICE_WX_CYCLE', 'EM_DEVICE_WX_TYPE', 'device_type', 'workorder_type', 'changetype', 'is_produceuse', 'device_status', 'EM_DEVICE_WX_INVTYPE', 'EM_DEVICE_BY_INVTYPE'],
data() {
return {
dialogVisible: false,
@@ -173,6 +314,10 @@ export default {
tableDtl: [],
tableDtl2: [],
tableDtl3: [],
+ tableDtl4: [],
+ tableDtl5: [],
+ tableDtl6: [],
+ tableDtl7: [],
mstrow: {},
viewShow1: false,
viewShow2: false,
@@ -220,6 +365,34 @@ export default {
this.tableDtl3 = res
})
},
+ formatInvsName(row, cloum) {
+ return this.dict.label.EM_DEVICE_BY_INVSTATUS[row.invstatus]
+ },
+ formatStatusName(row, cloum) {
+ return this.dict.label.EM_DEVICE_WX_INVSTATUS[row.invstatus]
+ },
+ formatTypeName(row, cloum) {
+ return this.dict.label.EM_DEVICE_WX_INVTYPE[row.maintenancecycle]
+ },
+ formatLevelName(row, cloum) {
+ return this.dict.label.EM_FAULT_LEVEL[row.fault_level]
+ },
+ formatMainObject(row, cloum) {
+ return this.dict.label.EM_DEVICE_MAINT_OBJECT[row.maint_object]
+ },
+ format_is_active(row) {
+ if (row.is_active.includes('1')) {
+ return '是'
+ } else {
+ return '否'
+ }
+ },
+ formatMainName(row, cloum) {
+ return this.dict.label.EM_DEVICE_WX_CYCLE[row.maintenancecycle]
+ },
+ formatRepairpType(row, cloum) {
+ return this.dict.label.EM_DEVICE_WX_TYPE[row.repair_type]
+ },
handleClose() {
this.dialogVisible2 = false
},