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;