张雄 2 years ago
parent 1e1291830e
commit dee8f0c60c

@ -225,7 +225,7 @@ export default {
// //
handlerBrand(arr) { handlerBrand(arr) {
let row = this.list[this.chooseIndex]; let row = this.list[this.chooseIndex];
row.brand = arr[0].brandname; row.brand = arr[1].brandname;
row.model = arr[1].name; row.model = arr[1].name;
row.isDel = true; row.isDel = true;
}, },

@ -159,7 +159,7 @@ export default {
let n = this.list.findIndex((ele) => ele.model === arr[1].name); let n = this.list.findIndex((ele) => ele.model === arr[1].name);
if (n != -1) return; if (n != -1) return;
let row = this.list[this.chooseIndex]; let row = this.list[this.chooseIndex];
row.brand = arr[0].brandname; row.brand = arr[1].brandname;
row.model = arr[1].name; row.model = arr[1].name;
row.isDel = true; row.isDel = true;
let filterArr = this.list.filter((ele) => { let filterArr = this.list.filter((ele) => {

Loading…
Cancel
Save