From eab25933065174b4caebe1c2717ff23226944f26 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Mon, 3 Feb 2020 14:36:04 +0100 Subject: [PATCH] update ticket.dms.create --- modules/ticket/front/dms/create/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,