This commit is contained in:
parent
211da4a995
commit
4d490652ea
|
@ -0,0 +1 @@
|
||||||
|
<template>Zone Locations</template>
|
|
@ -6,15 +6,9 @@ import VnLv from 'components/ui/VnLv.vue';
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
|
||||||
function deleteWarehouse() {
|
const deleteWarehouse = () => {
|
||||||
let row = this.deleteRow;
|
return true;
|
||||||
if (!row) return;
|
};
|
||||||
return this.$http.delete(`${this.path}/${row.id}`).then(() => {
|
|
||||||
let index = this.$.data.indexOf(row);
|
|
||||||
if (index !== -1) this.$.data.splice(index, 1);
|
|
||||||
this.deleteRow = null;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<template>Zone Delivery days</template>
|
Loading…
Reference in New Issue