feat: refs #8398 modify previous changes
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
764eef13c3
commit
8182bf7b91
|
@ -254,16 +254,14 @@ const moveTicketsAdvance = async () => {
|
|||
}
|
||||
continue;
|
||||
}
|
||||
console.log('ticket: ', ticket);
|
||||
ticketsToMove.push({
|
||||
originId: ticket.futureId,
|
||||
destinationId: ticket.id,
|
||||
originShipped: ticket.futureShipped,
|
||||
destinationShipped: ticket.shipped,
|
||||
salesPersonFk: ticket.client.salesPersonFk,
|
||||
salesPersonFk: ticket.workerFk,
|
||||
});
|
||||
}
|
||||
|
||||
const params = { tickets: ticketsToMove };
|
||||
await axios.post('Tickets/merge', params);
|
||||
vnTableRef.value.reload();
|
||||
|
|
|
@ -245,13 +245,12 @@ const totalPriceColor = (totalWithVat) =>
|
|||
|
||||
const moveTicketsFuture = async () => {
|
||||
const ticketsToMove = selectedTickets.value.map((ticket) => {
|
||||
console.log('salesPersonFk: ', ticket.client);
|
||||
return {
|
||||
originId: ticket.id,
|
||||
destinationId: ticket.futureId,
|
||||
originShipped: ticket.shipped,
|
||||
destinationShipped: ticket.futureShipped,
|
||||
salesPersonFk: ticket.client.salesPersonFk,
|
||||
salesPersonFk: ticket.salesPersonFk,
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue