From a03c3437540de8ce1504fa58fd7e281698584fef Mon Sep 17 00:00:00 2001 From: schry <2433098676@qq.com> Date: Wed, 12 Jul 2023 15:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E6=8D=AE=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/udi/trace/history/index.vue | 19 ++++++++++++++++++- src/views/udi/trace/searchLive/index.vue | 8 +++++++- 2 files changed, 25 insertions(+), 2 deletions(-) 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() {