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 () => {
|
const updateAddressTicket = async () => {
|
||||||
urlUpdate.value += '?updateObservations=true';
|
urlUpdate.value += '?updateObservations=true';
|
||||||
|
|
||||||
console.log('gg');
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const updateObservations = async (payload) => {
|
const updateObservations = async (payload) => {
|
||||||
|
@ -100,7 +98,6 @@ const updateObservations = async (payload) => {
|
||||||
toCustomerAddress();
|
toCustomerAddress();
|
||||||
};
|
};
|
||||||
async function updateAll({ data, payload }) {
|
async function updateAll({ data, payload }) {
|
||||||
console.log('Si no hay notas modificadas');
|
|
||||||
await updateAddress(data);
|
await updateAddress(data);
|
||||||
await updateObservations(payload);
|
await updateObservations(payload);
|
||||||
}
|
}
|
||||||
|
@ -140,24 +137,17 @@ async function handleDialog(data) {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.onOk(async () => {
|
.onOk(async () => {
|
||||||
console.log('Actualiza notas');
|
|
||||||
// await resetAndSend(payload);
|
|
||||||
await updateAll(body);
|
await updateAll(body);
|
||||||
await updateAddressTicket();
|
await updateAddressTicket();
|
||||||
toCustomerAddress();
|
toCustomerAddress();
|
||||||
})
|
})
|
||||||
.onCancel(async () => {
|
.onCancel(async () => {
|
||||||
// await resetAndSend(payload);
|
|
||||||
console.log('Actualiza datos');
|
|
||||||
await updateAll(body);
|
await updateAll(body);
|
||||||
toCustomerAddress();
|
toCustomerAddress();
|
||||||
});
|
});
|
||||||
// .hide(toCustomerAddress);
|
|
||||||
} else {
|
} else {
|
||||||
updateAll(body);
|
updateAll(body);
|
||||||
toCustomerAddress();
|
toCustomerAddress();
|
||||||
// await resetAndSend(payload);
|
|
||||||
// toCustomerAddress();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue