-
+
@@ -114,3 +149,8 @@ watch(
border-style: solid;
}
+
+ es:
+ Open time: Abrir tiempo
+
+, nextTick
diff --git a/src/pages/Order/OrderLines.vue b/src/pages/Order/OrderLines.vue
index 21b4efb9d..f361d9898 100644
--- a/src/pages/Order/OrderLines.vue
+++ b/src/pages/Order/OrderLines.vue
@@ -176,8 +176,6 @@ function confirmRemove(item) {
}
async function remove(item) {
- console.log('item: ', item);
- console.log('id: ', route.params.id);
await axios.post('OrderRows/removes', {
actualOrderId: route.params.id,
rows: [item.id],
diff --git a/src/pages/Order/OrderList.vue b/src/pages/Order/OrderList.vue
index 68c4e57a7..945f61f3b 100644
--- a/src/pages/Order/OrderList.vue
+++ b/src/pages/Order/OrderList.vue
@@ -126,7 +126,6 @@ const columns = computed(() => [
]);
async function fetchClientAddress(id, data) {
- console.log('data: ', data);
const clientData = await axios.get(`Clients/${id}`);
selectedAddress.value = clientData.data.defaultAddressFk;
data.addressId = selectedAddress.value;
diff --git a/test/cypress/integration/worker/workerCreate.spec.js b/test/cypress/integration/worker/workerCreate.spec.js
index 26ce899c8..b73297b73 100644
--- a/test/cypress/integration/worker/workerCreate.spec.js
+++ b/test/cypress/integration/worker/workerCreate.spec.js
@@ -14,7 +14,7 @@ describe('WorkerCreate', () => {
Phone: { val: '123456789' },
'Worker code': { val: 'DWW' },
Boss: { val: developerBossId, type: 'select' },
- Birth: { val: '2022-12-11T23:00:00.000Z', type: 'date', day: 11 },
+ Birth: { val: '11-12-2022', type: 'date' },
};
const external = {
Fi: { val: 'Z4531219V' },
diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js
index 38a23f71c..3174e04d2 100755
--- a/test/cypress/support/commands.js
+++ b/test/cypress/support/commands.js
@@ -87,7 +87,6 @@ Cypress.Commands.add('selectOption', (selector, option) => {
});
Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => {
- const days = '.q-date__calendar-days .q-date__calendar-item--in';
cy.waitForElement('.q-form > .q-card');
cy.get(`${form} input`).each(([el]) => {
cy.wrap(el)
@@ -96,17 +95,14 @@ Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => {
const field = obj[ariaLabel];
if (!field) return;
- const { type, val, day } = field;
+ const { type, val } = field;
switch (type) {
case 'select':
cy.wrap(el).type(val);
cy.get('.q-menu .q-item').contains(val).click();
break;
case 'date':
- cy.wrap(el).click();
- cy.get(days)
- .eq(day ? day - 1 : 0)
- .click();
+ cy.wrap(el).type(val.split('-').join(''));
break;
default:
cy.wrap(el).type(val);