diff --git a/src/views/udi/trace/history/index.vue b/src/views/udi/trace/history/index.vue index 749dd84..387e248 100644 --- a/src/views/udi/trace/history/index.vue +++ b/src/views/udi/trace/history/index.vue @@ -683,6 +683,7 @@ @@ -738,7 +739,7 @@ - @@ -908,6 +909,7 @@ import {getTraceRecordList, getTraceOrder, getManuOrder, getManuCodeRelList, get export default { data() { return { + inOutType: null, openManuOrder: false, manuOrderFormView: {}, openManuCodeRel: false, @@ -990,6 +992,21 @@ export default { if (row.id == obj.id) { this.orderFormView = obj } + if (this.orderFormView.inOutType == '1') { + this.inOutType = "入库" + }else { + this.inOutType = "出库" + } + if (this.orderFormView.clientType == '1') { + this.clientType = "模拟测试客户端" + }else if (this.orderFormView.clientType == '2'){ + this.clientType = "UDI自助平台" + }else if (this.orderFormView.clientType == '3'){ + this.clientType = "UDI管理系统" + }else if (this.orderFormView.clientType == '4'){ + this.clientType = "UDIMS平台" + } + }) this.orderOpen = true }, diff --git a/src/views/udi/trace/searchLive/index.vue b/src/views/udi/trace/searchLive/index.vue index c71c0d1..5e6d8a5 100644 --- a/src/views/udi/trace/searchLive/index.vue +++ b/src/views/udi/trace/searchLive/index.vue @@ -613,6 +613,7 @@ @@ -1052,9 +1053,14 @@ export default { this.list.forEach(obj => { if (row.id == obj.id) { this.formView = obj + // if (this.formView.inOutType == 1) { + // this.formView.inOutType = "入库" + // }else { + // this.formView.inOutType = "出库" + // } } }) - console.log(this.formView) + console.log(this.formView) this.open = true }, onReset() {