feat #7271: add template
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-05-06 10:11:07 +02:00
parent 211da4a995
commit 4d490652ea
3 changed files with 5 additions and 9 deletions

View File

@ -0,0 +1 @@
<template>Zone Locations</template>

View File

@ -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>

View File

@ -0,0 +1 @@
<template>Zone Delivery days</template>