fix(TicketSale): refs #8449 correct router.push to /log
This commit is contained in:
parent
4a2b147320
commit
a9fd5894b5
|
@ -372,6 +372,7 @@ globals:
|
|||
nickname: Alias
|
||||
changedModel: Entity
|
||||
changedModelValue: Search
|
||||
changedModelId: Entity id
|
||||
userFk: User
|
||||
action: Action
|
||||
model: Model
|
||||
|
|
|
@ -373,6 +373,7 @@ globals:
|
|||
nickname: Alias
|
||||
changedModel: Entidad
|
||||
changedModelValue: Buscar
|
||||
changedModelId: Id de entidad
|
||||
userFk: Usuario
|
||||
action: Acción
|
||||
errors:
|
||||
|
|
|
@ -377,10 +377,12 @@ const newOrderFromTicket = async () => {
|
|||
const goToLog = (saleId) => {
|
||||
router.push({
|
||||
name: 'TicketLog',
|
||||
params: {
|
||||
originId: route.params.id,
|
||||
changedModel: 'Sale',
|
||||
changedModelId: saleId,
|
||||
query: {
|
||||
logs: JSON.stringify({
|
||||
originFk: route.params.id,
|
||||
changedModel: 'Sale',
|
||||
changedModelId: saleId,
|
||||
}),
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue