diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 4cbc449b9..e7f1f3507 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -63,7 +63,7 @@ globals: shipped: F. envío totalEntries: Ent. totales amount: Importe - packages: Bultos + packages: Embalajes download: Descargar downloadPdf: Descargar PDF selectRows: 'Seleccionar las { numberRows } filas(s)' @@ -265,7 +265,7 @@ globals: tracking: Estados components: Componentes pictures: Fotos - packages: Bultos + packages: Embalajes ldap: LDAP samba: Samba twoFactor: Doble factor @@ -484,7 +484,7 @@ ticket: tracking: Estados components: Componentes pictures: Fotos - packages: Bultos + packages: Embalajes list: nickname: Alias state: Estado diff --git a/src/pages/Order/OrderList.vue b/src/pages/Order/OrderList.vue index d96a33ef5..f5c8a44de 100644 --- a/src/pages/Order/OrderList.vue +++ b/src/pages/Order/OrderList.vue @@ -20,7 +20,6 @@ const { viewSummary } = useSummaryDialog(); const tableRef = ref(); const agencyList = ref([]); const addressesList = ref([]); -const clientId = ref(); const columns = computed(() => [ { @@ -191,6 +190,7 @@ const getDateColor = (date) => { formInitialData: { active: true, addressId: null, + clientFk: null, }, }" :user-params="{ showEmpty: false }" @@ -221,7 +221,7 @@ const getDateColor = (date) => { diff --git a/src/pages/Ticket/Card/BasicData/TicketBasicDataForm.vue b/src/pages/Ticket/Card/BasicData/TicketBasicDataForm.vue index 4b2e90a84..fdc75abda 100644 --- a/src/pages/Ticket/Card/BasicData/TicketBasicDataForm.vue +++ b/src/pages/Ticket/Card/BasicData/TicketBasicDataForm.vue @@ -12,6 +12,7 @@ import VnInputTime from 'components/common/VnInputTime.vue'; import axios from 'axios'; import useNotify from 'src/composables/useNotify.js'; +import { useValidator } from 'src/composables/useValidator'; import { toTimeFormat } from 'filters/date.js'; const $props = defineProps({ @@ -23,7 +24,7 @@ const $props = defineProps({ }); const emit = defineEmits(['updateForm']); - +const { validate } = useValidator(); const { notify } = useNotify(); const router = useRouter(); const { t } = useI18n(); @@ -306,6 +307,7 @@ onMounted(() => onFormModelInit()); hide-selected map-options :required="true" + :rules="validate('basicData.client')" >