From f4ce92f40a25ea3aeb0ac45a48c2eb80a4f8b90b Mon Sep 17 00:00:00 2001 From: A0010407 Date: Wed, 13 Dec 2023 16:22:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E8=BE=85=E5=8A=A9=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/summaryReport/index.vue | 2 +- src/views/wms/equipment/index.vue | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/device/summaryReport/index.vue b/src/views/device/summaryReport/index.vue index a37dff7d..30bb251e 100644 --- a/src/views/device/summaryReport/index.vue +++ b/src/views/device/summaryReport/index.vue @@ -76,7 +76,7 @@ - + diff --git a/src/views/wms/equipment/index.vue b/src/views/wms/equipment/index.vue index 028480f4..d99e332a 100644 --- a/src/views/wms/equipment/index.vue +++ b/src/views/wms/equipment/index.vue @@ -1221,6 +1221,8 @@ export default { getList() { this.loading = true; listEquipment(this.queryParams).then((response) => { + this.auxiliaryEquipmentLeftList = []; + this.auxiliaryEquipmentRightList = []; for (let i in response.rows) { // 将返回的列表赋值于穿梭框左边列表 this.auxiliaryEquipmentLeftList.push({ @@ -1229,9 +1231,8 @@ export default { }); } for (let i in response.selected) { - this.auxiliaryEquipmentLeftList.push(response.selected[i].key); - this.form.auxiliaryEquipmentRightData = - this.auxiliaryEquipmentRightList; + this.auxiliaryEquipmentRightList.push(response.selected[i].key); + this.form.auxiliaryEquipmentRightData = this.auxiliaryEquipmentRightList; } this.equipmentList = response.rows; this.total = response.total;