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 () => {
|
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({
|
||||||
|
|
|
@ -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(() => {
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue