Carrello Spesa
This commit is contained in:
0
src/rootgen/admin/producer/producer.scss
Executable file
0
src/rootgen/admin/producer/producer.scss
Executable file
44
src/rootgen/admin/producer/producer.ts
Executable file
44
src/rootgen/admin/producer/producer.ts
Executable file
@@ -0,0 +1,44 @@
|
||||
import Vue from 'vue'
|
||||
import { Component, Prop } from 'vue-property-decorator'
|
||||
import { GlobalStore, UserStore } from '@store'
|
||||
|
||||
import { tools } from '../../../store/Modules/tools'
|
||||
import { toolsext } from '../../../store/Modules/toolsext'
|
||||
import { static_data } from '../../../db/static_data'
|
||||
import { Screen } from 'quasar'
|
||||
|
||||
import { colTableProducer } from '@src/store/Modules/fieldsTable'
|
||||
|
||||
import { CImgText } from '../../../components/CImgText/index'
|
||||
import { CCard, CGridTableRec, CMyPage, CTitleBanner } from '@components'
|
||||
import MixinMetaTags from '../../../mixins/mixin-metatags'
|
||||
import MixinBase from '@src/mixins/mixin-base'
|
||||
|
||||
@Component({
|
||||
mixins: [MixinBase],
|
||||
components: { CImgText, CCard, CMyPage, CTitleBanner, CGridTableRec }
|
||||
})
|
||||
export default class ProducerPage extends MixinMetaTags {
|
||||
public pagination = {
|
||||
sortBy: 'name',
|
||||
descending: false,
|
||||
page: 2,
|
||||
rowsPerPage: 5
|
||||
// rowsNumber: xx if getting data from a server
|
||||
}
|
||||
|
||||
public selected = []
|
||||
public dataPages = []
|
||||
|
||||
get getcolproducer() {
|
||||
return colTableProducer
|
||||
}
|
||||
|
||||
public meta() {
|
||||
return tools.metafunc(this)
|
||||
}
|
||||
|
||||
get static_data() {
|
||||
return static_data
|
||||
}
|
||||
}
|
||||
27
src/rootgen/admin/producer/producer.vue
Executable file
27
src/rootgen/admin/producer/producer.vue
Executable file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<CMyPage title="Produttori" imgbackground="../../statics/images/produttori.jpg" sizes="max-height: 120px">
|
||||
<span>{{ setmeta({
|
||||
title: 'Produttori',
|
||||
description: "",
|
||||
keywords: '' } ) }}
|
||||
</span>
|
||||
|
||||
<div class="q-ma-sm q-gutter-sm q-pa-xs">
|
||||
<CTitleBanner title="Produttori"></CTitleBanner>
|
||||
<CGridTableRec prop_mytable="producers"
|
||||
prop_mytitle="Lista Produttori"
|
||||
:prop_mycolumns="getcolproducer"
|
||||
prop_colkey="name"
|
||||
nodataLabel="Nessun Produttore"
|
||||
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
|
||||
|
||||
</CGridTableRec>
|
||||
</div>
|
||||
</CMyPage>
|
||||
</template>
|
||||
<script lang="ts" src="./producer.ts">
|
||||
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import 'producer.scss';
|
||||
</style>
|
||||
0
src/rootgen/admin/products/products.scss
Executable file
0
src/rootgen/admin/products/products.scss
Executable file
44
src/rootgen/admin/products/products.ts
Executable file
44
src/rootgen/admin/products/products.ts
Executable file
@@ -0,0 +1,44 @@
|
||||
import Vue from 'vue'
|
||||
import { Component, Prop } from 'vue-property-decorator'
|
||||
import { GlobalStore, UserStore } from '@store'
|
||||
|
||||
import { tools } from '../../../store/Modules/tools'
|
||||
import { toolsext } from '../../../store/Modules/toolsext'
|
||||
import { static_data } from '../../../db/static_data'
|
||||
import { Screen } from 'quasar'
|
||||
|
||||
import { colTableProducts } from '@src/store/Modules/fieldsTable'
|
||||
|
||||
import { CImgText } from '../../../components/CImgText/index'
|
||||
import { CCard, CGridTableRec, CMyPage, CTitleBanner } from '@components'
|
||||
import MixinMetaTags from '../../../mixins/mixin-metatags'
|
||||
import MixinBase from '@src/mixins/mixin-base'
|
||||
|
||||
@Component({
|
||||
mixins: [MixinBase],
|
||||
components: { CImgText, CCard, CMyPage, CTitleBanner, CGridTableRec }
|
||||
})
|
||||
export default class ProductsPage extends MixinMetaTags {
|
||||
public pagination = {
|
||||
sortBy: 'name',
|
||||
descending: false,
|
||||
page: 2,
|
||||
rowsPerPage: 5
|
||||
// rowsNumber: xx if getting data from a server
|
||||
}
|
||||
|
||||
public selected = []
|
||||
public dataPages = []
|
||||
|
||||
get getcolproducts() {
|
||||
return colTableProducts
|
||||
}
|
||||
|
||||
public meta() {
|
||||
return tools.metafunc(this)
|
||||
}
|
||||
|
||||
get static_data() {
|
||||
return static_data
|
||||
}
|
||||
}
|
||||
27
src/rootgen/admin/products/products.vue
Executable file
27
src/rootgen/admin/products/products.vue
Executable file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<CMyPage title="Prodotti" imgbackground="../../statics/images/prodotti.jpg" sizes="max-height: 120px">
|
||||
<span>{{ setmeta({
|
||||
title: 'Prodotti',
|
||||
description: "",
|
||||
keywords: '' } ) }}
|
||||
</span>
|
||||
|
||||
<div class="q-ma-sm q-gutter-sm q-pa-xs">
|
||||
<CTitleBanner title="Prodotti"></CTitleBanner>
|
||||
<CGridTableRec prop_mytable="products"
|
||||
prop_mytitle="Lista Prodotti"
|
||||
:prop_mycolumns="getcolproducts"
|
||||
prop_colkey="name"
|
||||
nodataLabel="Nessun Prodotto"
|
||||
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
|
||||
|
||||
</CGridTableRec>
|
||||
</div>
|
||||
</CMyPage>
|
||||
</template>
|
||||
<script lang="ts" src="./products.ts">
|
||||
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import 'products.scss';
|
||||
</style>
|
||||
0
src/rootgen/admin/storehouses/storehouses.scss
Executable file
0
src/rootgen/admin/storehouses/storehouses.scss
Executable file
44
src/rootgen/admin/storehouses/storehouses.ts
Executable file
44
src/rootgen/admin/storehouses/storehouses.ts
Executable file
@@ -0,0 +1,44 @@
|
||||
import Vue from 'vue'
|
||||
import { Component, Prop } from 'vue-property-decorator'
|
||||
import { GlobalStore, UserStore } from '@store'
|
||||
|
||||
import { tools } from '../../../store/Modules/tools'
|
||||
import { toolsext } from '../../../store/Modules/toolsext'
|
||||
import { static_data } from '../../../db/static_data'
|
||||
import { Screen } from 'quasar'
|
||||
|
||||
import { colTableStorehouse } from '@src/store/Modules/fieldsTable'
|
||||
|
||||
import { CImgText } from '../../../components/CImgText/index'
|
||||
import { CCard, CGridTableRec, CMyPage, CTitleBanner } from '@components'
|
||||
import MixinMetaTags from '../../../mixins/mixin-metatags'
|
||||
import MixinBase from '@src/mixins/mixin-base'
|
||||
|
||||
@Component({
|
||||
mixins: [MixinBase],
|
||||
components: { CImgText, CCard, CMyPage, CTitleBanner, CGridTableRec }
|
||||
})
|
||||
export default class StorehousePage extends MixinMetaTags {
|
||||
public pagination = {
|
||||
sortBy: 'name',
|
||||
descending: false,
|
||||
page: 2,
|
||||
rowsPerPage: 5
|
||||
// rowsNumber: xx if getting data from a server
|
||||
}
|
||||
|
||||
public selected = []
|
||||
public dataPages = []
|
||||
|
||||
get getcolstorehouses() {
|
||||
return colTableStorehouse
|
||||
}
|
||||
|
||||
public meta() {
|
||||
return tools.metafunc(this)
|
||||
}
|
||||
|
||||
get static_data() {
|
||||
return static_data
|
||||
}
|
||||
}
|
||||
27
src/rootgen/admin/storehouses/storehouses.vue
Executable file
27
src/rootgen/admin/storehouses/storehouses.vue
Executable file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<CMyPage title="Magazzini" imgbackground="../../statics/images/produttori.jpg" sizes="max-height: 120px">
|
||||
<span>{{ setmeta({
|
||||
title: 'Magazzini',
|
||||
description: "",
|
||||
keywords: '' } ) }}
|
||||
</span>
|
||||
|
||||
<div class="q-ma-sm q-gutter-sm q-pa-xs">
|
||||
<CTitleBanner title="Magazzini"></CTitleBanner>
|
||||
<CGridTableRec prop_mytable="storehouses"
|
||||
prop_mytitle="Lista Magazzini"
|
||||
:prop_mycolumns="getcolstorehouses"
|
||||
prop_colkey="name"
|
||||
nodataLabel="Nessun Magazzino"
|
||||
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
|
||||
|
||||
</CGridTableRec>
|
||||
</div>
|
||||
</CMyPage>
|
||||
</template>
|
||||
<script lang="ts" src="./storehouses.ts">
|
||||
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import 'storehouses.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user