fixed some price handling aswell as tt-autocomplete and tt-table excel export always showing

This commit is contained in:
2024-07-25 08:59:41 +02:00
parent 813b0b4524
commit e4427c9eac
8 changed files with 106 additions and 74 deletions
@@ -37,7 +37,7 @@ Vue.component('warehouse-distributor-modal', {
this.rows = response.data.rows
}, addRow() {
this.rows.push({distributor: null, price: null, externalArticleNumber: null});
this.rows.push({distributorId: undefined, price: null, externalArticleNumber: null});
}, async saveRow(index) {
// post to /WarehouseArticleDistributor/save with rows data and articleId
const row = this.rows[index];