minor refactor
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3283f957ba
commit
12c2b577e6
|
@ -47,7 +47,7 @@ class Controller extends ModuleCard {
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.$q.all([
|
return this.$q.all([
|
||||||
this.$http.get(`Orders/${this.$params.id}`, {filter})
|
this.$http.get(`Orders/${this.$params.id}`, {filter})
|
||||||
.then(res => this.order = res.data),
|
.then(res => this.order = res.data),
|
||||||
this.$http.get(`Orders/${this.$params.id}/getTotal`)
|
this.$http.get(`Orders/${this.$params.id}/getTotal`)
|
||||||
|
|
|
@ -43,10 +43,9 @@ class Controller extends Section {
|
||||||
rows: [row.id],
|
rows: [row.id],
|
||||||
actualOrderId: this.$params.id
|
actualOrderId: this.$params.id
|
||||||
};
|
};
|
||||||
return this.$http.post(`OrderRows/removes`, params).then(() => {
|
return this.$http.post(`OrderRows/removes`, params)
|
||||||
this.card.reload();
|
.then(() => this.card.reload())
|
||||||
this.vnApp.showSuccess(this.$t('Data saved!'));
|
.then(() => this.vnApp.showSuccess(this.$t('Data saved!')));
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
showDescriptor(event, itemFk) {
|
showDescriptor(event, itemFk) {
|
||||||
|
|
Loading…
Reference in New Issue