|
|
@@ -1998,13 +1998,13 @@ export default {
|
|
|
const itemsWithId = multiList.filter(item => item.id != null);
|
|
|
let arrIds = itemsWithId.map(item => item.id); // 获取id 数据
|
|
|
// 把选中的删除掉
|
|
|
- multiList.forEach(item => {
|
|
|
- for (let index in arr) {
|
|
|
- if (JSON.stringify(item) == JSON.stringify(arr[index])) {
|
|
|
- arr.splice(Number(index), 1);
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
+ // multiList.forEach(item => {
|
|
|
+ // for (let index in arr) {
|
|
|
+ // if (JSON.stringify(item) == JSON.stringify(arr[index])) {
|
|
|
+ // arr.splice(Number(index), 1);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // });
|
|
|
if (itemsWithId.length != 0) {
|
|
|
const loading = this.$loading({
|
|
|
lock: true,
|
|
|
@@ -2015,6 +2015,7 @@ export default {
|
|
|
tradingBoxItem({ ids: arrIds.join(",") })
|
|
|
.then(res => {
|
|
|
this.$message.success("删除成功");
|
|
|
+ this.getDetail(this.form.id);
|
|
|
})
|
|
|
.finally(() => {
|
|
|
loading.close();
|