Merge branch 'dev' into 6994-fix_vnLogValue_whenIsString
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Alex Moreno 2025-03-26 06:29:21 +00:00
commit 9666570cdd
6 changed files with 12 additions and 5 deletions

View File

@ -15,7 +15,7 @@ const editDownloadDisabled = ref(false);
const $props = defineProps({
defaultDmsCode: {
type: String,
default: 'InvoiceIn',
default: 'invoiceIn',
},
disable: {
type: Boolean,

View File

@ -648,7 +648,7 @@ onMounted(() => {
:url="`Entries/${entityId}/getBuyList`"
search-url="EntryBuys"
save-url="Buys/crud"
:filter="filter"
:filter="editableMode ? filter : {}"
:disable-option="{ card: true }"
v-model:selected="selectedRows"
@on-fetch="() => footerFetchDataRef.fetch()"

View File

@ -147,7 +147,7 @@ async function deleteEntry() {
<template>
<EntityDescriptor
:url="`Entries/${entityId}`"
:user-filter="entryFilter"
:filter="entryFilter"
title="supplier.nickname"
data-key="Entry"
width="lg-width"

View File

@ -116,6 +116,7 @@ const filter = computed(() => ({
hour: 0,
minute: 0,
second: 0,
milliseconds: 0,
}),
m3: { neq: null },
},

View File

@ -197,7 +197,11 @@ const entriesTotals = computed(() => {
entriesTableRows.value.forEach((row) => {
for (const key in totals) {
totals[key] += row[key] || 0;
if (key === 'cc') {
totals[key] += Math.ceil(row[key] || 0);
} else {
totals[key] += row[key] || 0;
}
}
});

View File

@ -80,7 +80,7 @@ defineExpose({ states });
/>
<VnSelect
:label="t('travel.warehouseOut')"
v-model="params.warehouseOut"
v-model="params.warehouseOutFk"
@update:model-value="searchFn()"
url="warehouses"
:use-like="false"
@ -128,6 +128,7 @@ en:
ref: Reference
agency: Agency
warehouseInFk: Warehouse In
warehouseOutFk: Warehouse Out
shipped: Shipped
shipmentHour: Shipment Hour
warehouseOut: Warehouse Out
@ -141,6 +142,7 @@ es:
ref: Referencia
agency: Agencia
warehouseInFk: Alm.Entrada
warehouseOutFk: Alm.Salida
shipped: F.Envío
shipmentHour: Hora de envío
warehouseOut: Alm.Salida