0
0
Fork 0

fix: refs #7354 requested changes

This commit is contained in:
Jon Elias 2024-07-10 15:40:38 +02:00
parent 8913c6a31b
commit d7f8b11da7
5 changed files with 2 additions and 5 deletions

View File

@ -40,7 +40,7 @@ const actions = {
}, },
remove: async () => { remove: async () => {
try { try {
await axios.delete(`Zones/${zoneId}`); await axios.post(`Zones/${zoneId}/deleteZone`);
notify({ message: t('Zone deleted'), type: 'positive' }); notify({ message: t('Zone deleted'), type: 'positive' });
notify({ notify({

View File

@ -116,7 +116,6 @@ const closeForm = () => emit('closeForm');
const refetchEvents = async () => { const refetchEvents = async () => {
await arrayData.refresh({ append: false }); await arrayData.refresh({ append: false });
closeForm(); closeForm();
// window.location.reload();
}; };
onMounted(() => { onMounted(() => {

View File

@ -140,7 +140,7 @@ const handleClone = (id) => {
type="number" type="number"
min="0" min="0"
/> />
<VnInputTime v-model="data.hour" :label="t('list.hour')" /> <VnInputTime v-model="data.hour" :label="t('list.close')" />
<VnSelect <VnSelect
url="Warehouses" url="Warehouses"
v-model="data.warehouseFK" v-model="data.warehouseFK"

View File

@ -24,7 +24,6 @@ list:
travelingDays: Traveling days travelingDays: Traveling days
warehouse: Warehouse warehouse: Warehouse
bonus: Bonus bonus: Bonus
hour: Close
isVolumetric: Volumetric isVolumetric: Volumetric
createZone: Create zone createZone: Create zone
create: create:

View File

@ -24,7 +24,6 @@ list:
travelingDays: Días de viaje travelingDays: Días de viaje
warehouse: Almacén warehouse: Almacén
bonus: Bonus bonus: Bonus
hour: Cierre
isVolumetric: Volumétrico isVolumetric: Volumétrico
createZone: Crear zona createZone: Crear zona
create: create: