|
@@ -1402,16 +1402,17 @@ export default {
|
|
|
this.getList(this.queryParams);
|
|
|
},
|
|
|
saveList() {
|
|
|
- // console.log('记录',this.record)
|
|
|
+ // console.log("记录", this.record);
|
|
|
// 对记录的数据进行去重
|
|
|
let newRecord = Array.from(new Set(this.record));
|
|
|
- // console.log('去重后的', newRecord)
|
|
|
+ // console.log("去重后的", newRecord);
|
|
|
let changeList = newRecord.map((i) => {
|
|
|
return this.tableList[i];
|
|
|
});
|
|
|
// console.log('shuzu', changeList)
|
|
|
editSummaryList(changeList).then((res) => {
|
|
|
if (res.code === 200) {
|
|
|
+ this.record = [];
|
|
|
this.$modal.notifySuccess("保存成功");
|
|
|
this.lineDisable = true;
|
|
|
this.getList(this.queryParams);
|