From f5079a804046a5d502cad8f0be6d7747fcf5ab60 Mon Sep 17 00:00:00 2001 From: gengby <858962040@qq.com> Date: Mon, 8 Jan 2024 08:49:46 +0800 Subject: [PATCH] =?UTF-8?q?rev:=E5=9B=9E=E6=98=BE=E4=BA=A4=E4=BA=92?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/acs/device/driver/nl4/nl4_station.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/acs/nladmin-ui/src/views/acs/device/driver/nl4/nl4_station.vue b/acs/nladmin-ui/src/views/acs/device/driver/nl4/nl4_station.vue index 936b972..5c32c18 100644 --- a/acs/nladmin-ui/src/views/acs/device/driver/nl4/nl4_station.vue +++ b/acs/nladmin-ui/src/views/acs/device/driver/nl4/nl4_station.vue @@ -434,8 +434,7 @@ export default { data2: [], requestMethodList: [], modeform: { - tableData: [ - ] + tableData: [] }, form: { inspect_in_stocck: true, @@ -480,6 +479,13 @@ export default { this.plc_code = data.parentForm.plc_code } } + // 交互相关回显 + if (data.modeform) { + const arr = Object.keys(data.modeform) + if (arr.length > 0) { + this.modeform.tableData = data.modeform + } + } this.data1 = data.rs this.data2 = data.ws this.sliceItem()