Merge branch '2075-ticket_gestdoc' of verdnatura/salix into dev
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-02-03 13:49:04 +00:00 committed by Gitea
commit 711e973c23
1 changed files with 1 additions and 2 deletions

View File

@ -47,12 +47,11 @@ class Controller {
}}; }};
this.$http.get('DmsTypes/findOne', {params}).then(res => { this.$http.get('DmsTypes/findOne', {params}).then(res => {
const dmsTypeId = res.data && res.data.id; const dmsTypeId = res.data && res.data.id;
const companyId = this.vnConfig.companyFk;
const warehouseId = this.vnConfig.warehouseFk; const warehouseId = this.vnConfig.warehouseFk;
const defaultParams = { const defaultParams = {
reference: this.ticket.id, reference: this.ticket.id,
warehouseId: warehouseId, warehouseId: warehouseId,
companyId: companyId, companyId: this.ticket.companyFk,
dmsTypeId: dmsTypeId, dmsTypeId: dmsTypeId,
description: this.$translate.instant('FileDescription', { description: this.$translate.instant('FileDescription', {
ticketId: this.ticket.id, ticketId: this.ticket.id,