subcatprod

This commit is contained in:
Surya Paolo
2024-01-12 13:03:07 +01:00
parent ee064854a7
commit 89e8575aae
12 changed files with 97 additions and 1 deletions

View File

@@ -419,6 +419,7 @@ export default defineComponent({
strris += addfield(col, 'minBuyQty', rec, { isnumero: true }); col++;
strris += addfield(col, 'minStepQty', rec, { isnumero: true }); col++;
strris += addfield(col, 'cat_name', rec,{}); col++;
strris += addfield(col, 'subcat_name', rec,{}); col++;
strris += addfield(col, 'producer_name', rec, {}); col++;
strris += addfield(col, 'provider_name', rec, {}); col++;
strris += addfield(col, 'magazzino_name', rec, {}); col++;

View File

View File

@@ -0,0 +1,23 @@
import { defineComponent } from 'vue'
import { CImgText } from '../../../components/CImgText/index'
import { CMyPage } from '@/components/CMyPage'
import { CTitleBanner } from '@/components/CTitleBanner'
import { CGridTableRec } from '@/components/CGridTableRec'
import { colTableSubCatProd } from '@src/store/Modules/fieldsTable'
import MixinMetaTags from '@/mixins/mixin-metatags'
export default defineComponent({
name: 'SubCatProdPage',
components: { CImgText, CMyPage, CTitleBanner, CGridTableRec },
setup() {
const { setmeta } = MixinMetaTags()
return {
colTableSubCatProd,
setmeta,
}
}
})

View File

@@ -0,0 +1,31 @@
<template>
<CMyPage title="Sotto Categorie" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Sotto Categorie',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Sotto Categorie"></CTitleBanner>
<CGridTableRec
prop_mytable="subcatprods"
prop_mytitle="Sotto Categorie"
:prop_mycolumns="colTableSubCatProd"
prop_colkey="name"
nodataLabel="Nessuna Sotto-Categoria"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>
</div>
</CMyPage>
</template>
<script lang="ts" src="./subcatprods.ts">
</script>
<style lang="scss" scoped>
@import 'subcatprods.scss';
</style>