feat: refs #6629 delete consolelog
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
85b3c3033a
commit
5b10a3e60f
|
@ -89,8 +89,6 @@ const updateAddress = async (data) => {
|
|||
|
||||
const updateAddressTicket = async () => {
|
||||
urlUpdate.value += '?updateObservations=true';
|
||||
|
||||
console.log('gg');
|
||||
};
|
||||
|
||||
const updateObservations = async (payload) => {
|
||||
|
@ -100,7 +98,6 @@ const updateObservations = async (payload) => {
|
|||
toCustomerAddress();
|
||||
};
|
||||
async function updateAll({ data, payload }) {
|
||||
console.log('Si no hay notas modificadas');
|
||||
await updateAddress(data);
|
||||
await updateObservations(payload);
|
||||
}
|
||||
|
@ -140,24 +137,17 @@ async function handleDialog(data) {
|
|||
},
|
||||
})
|
||||
.onOk(async () => {
|
||||
console.log('Actualiza notas');
|
||||
// await resetAndSend(payload);
|
||||
await updateAll(body);
|
||||
await updateAddressTicket();
|
||||
toCustomerAddress();
|
||||
})
|
||||
.onCancel(async () => {
|
||||
// await resetAndSend(payload);
|
||||
console.log('Actualiza datos');
|
||||
await updateAll(body);
|
||||
toCustomerAddress();
|
||||
});
|
||||
// .hide(toCustomerAddress);
|
||||
} else {
|
||||
updateAll(body);
|
||||
toCustomerAddress();
|
||||
// await resetAndSend(payload);
|
||||
// toCustomerAddress();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue