diff --git a/modules/ticket/front/dms/create/index.js b/modules/ticket/front/dms/create/index.js index cb39be7dc..f1b59f6c0 100644 --- a/modules/ticket/front/dms/create/index.js +++ b/modules/ticket/front/dms/create/index.js @@ -47,12 +47,11 @@ class Controller { }}; this.$http.get('DmsTypes/findOne', {params}).then(res => { const dmsTypeId = res.data && res.data.id; - const companyId = this.vnConfig.companyFk; const warehouseId = this.vnConfig.warehouseFk; const defaultParams = { reference: this.ticket.id, warehouseId: warehouseId, - companyId: companyId, + companyId: this.ticket.companyFk, dmsTypeId: dmsTypeId, description: this.$translate.instant('FileDescription', { ticketId: this.ticket.id,