ticket dms local warehouse and company
gitea/salix/dev There was a failure building this commit Details

This commit is contained in:
Joan Sanchez 2019-07-17 15:01:38 +02:00
parent f56423bac9
commit 51734db404
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
Local warehouse: Almacén local
Local bank: Banco local
Local company: Compañia local
Local company: Empresa local
User warehouse: Almacén del usuario
User company: Compañia del usuario
User company: Empresa del usuario

View File

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