fix: zone icon and isVolumetric default false
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-05-15 09:37:33 +02:00
parent fc6bd82ea0
commit 2b27e39d72
3 changed files with 11 additions and 10 deletions

View File

@ -60,7 +60,7 @@ const setData = (entity) => {
flat flat
dense dense
size="md" size="md"
icon="preview" icon="vn:zone"
color="white" color="white"
class="link" class="link"
:to="{ name: 'ZoneList' }" :to="{ name: 'ZoneList' }"

View File

@ -19,6 +19,7 @@ const newZoneForm = reactive({
price: 0.2, price: 0.2,
bonus: 0.2, bonus: 0.2,
hour: Date.vnNew(), hour: Date.vnNew(),
isVolumetric: false,
}); });
const warehousesOptions = ref([]); const warehousesOptions = ref([]);
const agencyOptions = ref([]); const agencyOptions = ref([]);

View File

@ -48,15 +48,15 @@ export default {
}, },
component: () => import('src/pages/Zone/ZoneCreate.vue'), component: () => import('src/pages/Zone/ZoneCreate.vue'),
}, },
{ // {
path: 'counter', // path: 'counter',
name: 'ZoneCounter', // name: 'ZoneCounter',
meta: { // meta: {
title: 'zoneCounter', // title: 'zoneCounter',
icon: 'add_circle', // icon: 'add_circle',
}, // },
component: () => import('src/pages/Zone/ZoneCounter.vue'), // component: () => import('src/pages/Zone/ZoneCounter.vue'),
}, // },
], ],
}, },
{ {