src/views/overview/AddOverviewDialog.vue
@@ -1099,6 +1099,7 @@ let list = this.tableData.map((res) => { return { ...res, amount: 1, productName: res.name, productId: res.id } @@ -1118,10 +1119,9 @@ }, // 删除 handleDelClick(scope, value) { console.log(scope) if (value === "操作") { this.tableData.splice(scope.$index, 1) this.productTableList.tableData.splice(scope.$index, 1) this.productTableList.tableData = this.tableData this.$message.success("删除成功!") } else { this.detailTableData.splice(scope.$index, 1)