2928-entry_latestsbuys_weight #660

Merged
joan merged 2 commits from 2928-entry_latestsbuys_weight into dev 2021-06-16 11:18:30 +00:00
1 changed files with 5 additions and 1 deletions
Showing only changes of commit 588a499c44 - Show all commits

View File

@ -59,10 +59,14 @@ export default class Controller extends Section {
}
onEditAccept() {
const rowsToEdit = [];
for (let row of this.checked)
rowsToEdit.push({id: row.id, itemFk: row.itemFk});
let data = {
field: this.editedColumn.field,
newValue: this.editedColumn.newValue,
lines: this.checked
lines: rowsToEdit
};
return this.$http.post('Buys/editLatestBuys', data)