|
@@ -2009,7 +2009,7 @@ export default {
|
|
this.materialInfo.push(newLine);
|
|
this.materialInfo.push(newLine);
|
|
},
|
|
},
|
|
delLine($index) {
|
|
delLine($index) {
|
|
- console.log("删除行:", index);
|
|
|
|
|
|
+ console.log("删除行:", $index);
|
|
this.materialInfo = this.materialInfo.map((item, index) => ({
|
|
this.materialInfo = this.materialInfo.map((item, index) => ({
|
|
...item,
|
|
...item,
|
|
delFlag: index === $index ? "2" : item.delFlag,
|
|
delFlag: index === $index ? "2" : item.delFlag,
|