forked from verdnatura/salix-front
fix: refs #7354 requested changes
This commit is contained in:
parent
8913c6a31b
commit
d7f8b11da7
|
@ -40,7 +40,7 @@ const actions = {
|
|||
},
|
||||
remove: async () => {
|
||||
try {
|
||||
await axios.delete(`Zones/${zoneId}`);
|
||||
await axios.post(`Zones/${zoneId}/deleteZone`);
|
||||
|
||||
notify({ message: t('Zone deleted'), type: 'positive' });
|
||||
notify({
|
||||
|
|
|
@ -116,7 +116,6 @@ const closeForm = () => emit('closeForm');
|
|||
const refetchEvents = async () => {
|
||||
await arrayData.refresh({ append: false });
|
||||
closeForm();
|
||||
// window.location.reload();
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
|
|
|
@ -140,7 +140,7 @@ const handleClone = (id) => {
|
|||
type="number"
|
||||
min="0"
|
||||
/>
|
||||
<VnInputTime v-model="data.hour" :label="t('list.hour')" />
|
||||
<VnInputTime v-model="data.hour" :label="t('list.close')" />
|
||||
<VnSelect
|
||||
url="Warehouses"
|
||||
v-model="data.warehouseFK"
|
||||
|
|
|
@ -24,7 +24,6 @@ list:
|
|||
travelingDays: Traveling days
|
||||
warehouse: Warehouse
|
||||
bonus: Bonus
|
||||
hour: Close
|
||||
isVolumetric: Volumetric
|
||||
createZone: Create zone
|
||||
create:
|
||||
|
|
|
@ -24,7 +24,6 @@ list:
|
|||
travelingDays: Días de viaje
|
||||
warehouse: Almacén
|
||||
bonus: Bonus
|
||||
hour: Cierre
|
||||
isVolumetric: Volumétrico
|
||||
createZone: Crear zona
|
||||
create:
|
||||
|
|
Loading…
Reference in New Issue