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})
|
||||
.then(res => this.order = res.data),
|
||||
this.$http.get(`Orders/${this.$params.id}/getTotal`)
|
||||
|
|
|
@ -43,10 +43,9 @@ class Controller extends Section {
|
|||
rows: [row.id],
|
||||
actualOrderId: this.$params.id
|
||||
};
|
||||
return this.$http.post(`OrderRows/removes`, params).then(() => {
|
||||
this.card.reload();
|
||||
this.vnApp.showSuccess(this.$t('Data saved!'));
|
||||
});
|
||||
return this.$http.post(`OrderRows/removes`, params)
|
||||
.then(() => this.card.reload())
|
||||
.then(() => this.vnApp.showSuccess(this.$t('Data saved!')));
|
||||
}
|
||||
|
||||
showDescriptor(event, itemFk) {
|
||||
|
|
Loading…
Reference in New Issue