update ticket.dms.create
gitea/salix/2075-ticket_gestdoc This commit looks good Details

This commit is contained in:
Bernat Exposito Domenech 2020-02-03 14:36:04 +01:00
parent e55645486a
commit eab2593306
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 => {
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,