Commit 5d161829 authored by zhengke's avatar zhengke

修改

parent d310167c
...@@ -349,8 +349,10 @@ ...@@ -349,8 +349,10 @@
this.multipleSelection = val this.multipleSelection = val
}, },
addtableData(data) { addtableData(data) {
this.tableData[data.$index].disabled = true; var myTable = JSON.parse(JSON.stringify(this.tableData));
myTable[data.$index].disabled = true;
this.commoditylist.push(data.row) this.commoditylist.push(data.row)
this.tableData=myTable;
this.Success('添加成功'); this.Success('添加成功');
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
...@@ -549,18 +551,7 @@ ...@@ -549,18 +551,7 @@
} }
} }
} }
}, }
getReturn(ProductList, data) {
for (let i = 0; i < data.length; i++) {
if (ProductList.ProductId == data[i].Id) {
this.AppointList2.push(data[i])
}
if (data[i].ChildList.length > 0) {
this.getReturn(ProductList, data[i].ChildList)
}
}
},
}, },
mounted() { mounted() {
this.getMale(); this.getMale();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment